You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line "beg = 0, end = qlen", I think "end" should be initialized as "end=w+1".
Also, "end=min(end,i+w+1)" should be replaced with "end=max(end,i+w+1)".
For ex- While aligning (CATT,ACT), using w=1, if the original code is used, then as "end=min(end,i+w+1)" will always keep "end=w+1=1" across all iterations i. Thus, the end of the band is never extended.
The above corrections on the other hand, fill the cells that are required for aligning the 2 strings.
The text was updated successfully, but these errors were encountered:
In line "beg = 0, end = qlen", I think "end" should be initialized as "end=w+1".
Also, "end=min(end,i+w+1)" should be replaced with "end=max(end,i+w+1)".
For ex- While aligning (CATT,ACT), using w=1, if the original code is used, then as "end=min(end,i+w+1)" will always keep "end=w+1=1" across all iterations i. Thus, the end of the band is never extended.
The above corrections on the other hand, fill the cells that are required for aligning the 2 strings.
The text was updated successfully, but these errors were encountered: