bam file flags- interpretation
2
1
Entering edit mode
9.5 years ago
krp0001 ▴ 40

Dear Users,

Recently I have aligned my Illumina reads to my reference genome. I have gone through sam file specifications but, it is quiet difficult to understand.

It would be great help if some one could explain the bam flags below.

A few lines of my aligned bam file:

HISEQ:115:C49JYACXX:4:1114:10901:17520  163     scaffold1       1       7       4M2I94M =       208     307     GCACAGAACTTTTTATTGAACAATTGGGCTACTAAATATGCTTACCAAACTCTATGGTAGTGTAGTCACAGTCTCTTAGTAGTAGTATCGATATATTGTA    CC@FFFFFFHHHHJJJJIJJJIJJJIJJJGJIJIIJIJIIIJIJJGIJIIHIIJJJJFHIGHGBHCGIJIJIJJJGIJJCEHHHHHHFFFFDDDEFEEEE    AS:i:-21        XS:i:0  XN:i:0  XM:i:2  XO:i:1  XG:i:2  NM:i:4  MD:Z:0A2G94     YS:i:-11        YT:Z:CP

Thank you

Assembly • 8.3k views
ADD COMMENT
1
Entering edit mode

Flags are explained here: How To Filter Mapped Reads With Samtools

ADD REPLY
3
Entering edit mode
9.5 years ago

There is a neat app to explain the SAM flags: http://broadinstitute.github.io/picard/explain-flags.html

ADD COMMENT
0
Entering edit mode

Thats worth the effort!

ADD REPLY
0
Entering edit mode

Thank you Zev, for your quick reply..!

ADD REPLY
1
Entering edit mode
ADD COMMENT

Login before adding your answer.

Traffic: 1724 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6