Open marcelm opened 10 months ago
Nice catch! Do you think this happens because of FW and RC matches that gets collapsed into different NAMs (collisions due to canonical represented seeds)? I guess this would lead to overlapping NAMs.
There is some extra code in the paired-end alignment function that takes care of duplicate alignments, so this issue is only relevant for single end reads.
This happens when mapping single-end reads (I have not tested paired ends).
Sometimes, the list of NAMs contains different NAMs that lead to the same alignment. This is visible when running strobealign with
-N
(to output secondary alignments):The fact that the same alignment is reported is a problem, but also, because there is more than one equally good alignment, the primary alignment gets a mapping quality of zero as if it were a multimapper although it isn’t.
Also, multiple (gapped) alignments are computed although one would be enough.