We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to align two sequences query WSAPSVLLNAS and target WHSSPSILLNS using the following command.
WSAPSVLLNAS
WHSSPSILLNS
ssw_test -c -p target.fas query.fas
The resulting score is 56 according to ssw.
optimal_alignment_score: 56 strand: + target_begin: 1 target_end: 11 query_begin: 1 query_end: 11 Target: 1 WHSSPSILL-N 10 |******|* * Query: 1 WSAPSVLLNAS 11
However if I try to rescore the alignment than I end up with a score of 11
WW HS SA SP PS SV IL LL LN - NS 15 + -1 + 1 + -1 + -1 + -2 + 2 + 5 + -4 + -3 + 1 = 12
The correct alignment should look like this
optimal_alignment_score: 56 strand: + target_begin: 1 target_end: 11 query_begin: 1 query_end: 11 Target: 1 WHSSPSILLN-S 11 | |*||*||| | Query: 1 W-SAPSVLLNAS 11
The error occurs if there is a single match followed by a deletion at the beginning of the alignment. The banded_sw function produces the error.
banded_sw
The text was updated successfully, but these errors were encountered:
The fix is to change line
Complete-Striped-Smith-Waterman-Library/src/ssw.c
Line 677 in cabdab1
while (LIKELY(i > 0) || LIKELY(j > 0))
Sorry, something went wrong.
Fix alignment issue mengyao/Complete-Striped-Smith-Waterman-Library#61
30fee26
No branches or pull requests
I tried to align two sequences query
WSAPSVLLNAS
and targetWHSSPSILLNS
using the following command.The resulting score is 56 according to ssw.
However if I try to rescore the alignment than I end up with a score of 11
The correct alignment should look like this
The error occurs if there is a single match followed by a deletion at the beginning of the alignment.
The
banded_sw
function produces the error.The text was updated successfully, but these errors were encountered: