Closed evolvedmicrobe closed 2 years ago
This PR should fix https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library/issues/61
Thank you so much for pointing out this. This point makes sense, however your code doesn't work at my place. I manually made your recommended change in my code. I will update the master branch with this change soon.
We encountered a bug in the library, which can be reproduced as follows: Given this reference and query files:
The alignment produced by this command is clearly incorrect, though the alignment score appears correct for the "right" alignment:
Making this change produces the correct alignment, as it appeared the issue was due to the traceback terminating too early:
I didn't have time to audit the code thoroughly enough to know if this solution was always valid, but it appeared to work on several tested examples.