This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Avoid mismatch at end of BWA mem alignment

I noticed BWA will occasionally return alignments with a SNP at the first position, e.g.

ATCATAC
TTCATAC

Is there a parameter that can enforce that the alignment is only extended while the score increases? I would like to avoid these

bwa

1 answer

Update - There appears to be aligner bugs that cause this. The API interface is broken (alignments generated through mem_align1), but the command line tools (alignments generated through worker2) seems to work.

Log in to answer this question.