Alignment with BWA: how to discard multi mappers?
1
1
Entering edit mode
7.7 years ago
ThePresident ▴ 180

Hello,

This topic has been discussed on many occasions however I couldn't find the right answer afterall.

I am aligning Illumina generated paired-end reads on reference genome with BWA. My understanding is that when BWA finds multiple equally perfect alignments for one read, it will report/map that read randomly. However, I couldn't find an option for discarding these reads, i.e. similar to -m1 option from bowtie (there is a specific reason why I want to use bwa over bowtie).

Did I miss something or...?

Thanks

bwa paired-end • 3.5k views
ADD COMMENT
0
Entering edit mode

You can screen the bam file afterwards for reads with no other hits.

ADD REPLY
0
Entering edit mode
7.7 years ago
igor 13k

There is no parameter you can use, but you can filter the BAM with samtools. See this previous discussion: BWA mem how to know if a read is mapped uniquely? and Bwa-Mem: Discriminate Between Reads Mapping Uniquely And Those Mapping In Multiple Positions

ADD COMMENT

Login before adding your answer.

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