lh3 / bwa

Burrow-Wheeler Aligner for short-read alignment (see minimap2 for long-read alignment)
GNU General Public License v3.0
1.55k stars 556 forks source link

fix incorrect secondary alignment in ksw_align #227

Open mirounga opened 5 years ago

mirounga commented 5 years ago

ksw_align could pick the maximum row value at the location beyond the query end. This leads to incorrect second best score.