Hi,
My question is about TLEN field in SAM format. Here is an example of the first 9 column of BAM file. 
Is TLEN (320) calculated as follows: (351+62) - 93 = 320? 
SRR1144953.182159       117     NW_008793873.1  2       0       *       =       2       0       
SRR1144953.182159       185     NW_008793873.1  2       60      75M     =       2       0       
SRR1144953.8051227      117     NW_008793873.1  14      0       *       =       14      0       
SRR1144953.8051227      185     NW_008793873.1  14      60      75M     =       14      0       
SRR1144953.1496220      163     NW_008793873.1  93      60      75M     =       351     320     
SRR1144953.1496220      83      NW_008793873.1  351     60      62M13S  =       93      -320
Why TLEN is zero for the second and fourth lines?
Thanks!
also, this doc. is very helpful - http://samtools.github.io/hts-specs/SAMv1.pdf