More than one possible mapping place for a read
1
0
Entering edit mode
8.0 years ago
biotech ▴ 570

When there is more than one possible mapping place for a read, being both places of equal score,

Where 'bwa mem' mapper finally maps it?

What about the mapping quality scores for the read?

bwa • 1.5k views
ADD COMMENT
0
Entering edit mode
8.0 years ago

It depends on your settings, but I think the default is multimapping the reads. So the same read will be present in multiple locations. Mapping quality will be 0 (meaning the read maps equally well in multiple places).

ADD COMMENT
0
Entering edit mode

Are you certain about multi-mapping? bwa mem manual entry does not say anything specific but the older sampe/samse explicitly say that

Repetitive read pairs will be placed randomly.

Repetitive hits will be randomly chosen.

ADD REPLY
1
Entering edit mode

You are giving me doubts about my answer. ;-) Might very well be possible that random mapping happens.

Well, the easiest approach to settle this would be to test it. Have a single multimapping read, map it, count the reads in the samfile.

ADD REPLY
0
Entering edit mode

I really don't care about random mapping as long as having mapping quality of zero for them. In fact, multi-mapping reads should be discarded for some analysis such as RNA-seq.

ADD REPLY
0
Entering edit mode

Great proof test @decosterwouter, I will try to see what's going on!

ADD REPLY
0
Entering edit mode

I agree about that mapping quality is 0, but not sure if repetitive read pairs will be placed randomly.

ADD REPLY

Login before adding your answer.

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