Hi all ,
I created a sam file and converted it to bam file using samtools.
One of the record in bam file is :
HWI-ST1162:72:D0PMMACXX:5:1104:10496:88597 16 gi|355477192|ref|NC_007299.5| 1 255 101M * 0 0 TACCCCACTCACACTTATGGATAGATCAACTAAACAGAAAATTAACAAGGAAAAAAAAAACAAAAAAAACATGTATCTATAAAGCTCACTAAAGGAAAGCA 05DDDDCDDCDDDDDDDDDDDCDCCADDDCDDDEDDEDEEEEDDDDDDDDDDHJJJJJJIJJJJJJJJIIJJJJJIJGJJJJJJIIHGHHHHHFFFFFCCC XA:i:1 MD:Z:60A33C6 RG:Z:D0PMMACXX:IT27.48-3 NM:i:2
What does the second field means? What may be the possible values for second field of a bam file. In one paper I read it as a flag. But I could not find the explanation for value 0 and 16 .
Thanks, Deeps
Answer is fine but it is not working so sorry
What answer isn't working? Istvan's link to the "Explain SAM Flags" still works, as does that site.