BWA and mapping
1
0
Entering edit mode
9.1 years ago

Hi everybody

I am Juan and I am very very new in this community. I am starting doing NGS data analysis and I have some doubts.

I using BWA to map my reads against a reference sequence. Afterwards I convert the sam file into a bam file that I can use to get a consensus sequence.My doubt is whether the sam/bam file I get after the mapping includes paired reads as well as the unpaired reads matching the reference sequence or only the paired reads and removes the reads as they don't have a mate.

Thanks in advance

Juan

Assembly genome next-gen-sequencing • 2.4k views
ADD COMMENT
0
Entering edit mode

Thanks for your help

ADD REPLY
2
Entering edit mode
9.1 years ago

It will have both reads for a pair irrespective of whether one of them remained unmapped or mapped at too many positions. The second column in the BAM file will be properly flagged as explained here: http://broadinstitute.github.io/picard/explain-flags.html

ADD COMMENT

Login before adding your answer.

Traffic: 1946 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