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
Shouldn't it be rowi = first[c][0] + ranks[rowi] + 1 ?
in : def reverseBwt(bw): ranks, tots = rankBwt(bw) first = firstCol(tots) rowi = 0 t = "$" while bw[rowi] != '$': c = bw[rowi] t = c + t rowi = first[c][0] + ranks[rowi] return t
`
The text was updated successfully, but these errors were encountered:
rodv92
changed the title
off by one in reverseBwt(bw) ?
Off by one in reverseBwt(bw) ?
Nov 15, 2023
Shouldn't it be rowi = first[c][0] + ranks[rowi] + 1 ?
in :
def reverseBwt(bw):
ranks, tots = rankBwt(bw)
first = firstCol(tots)
rowi = 0
t = "$"
while bw[rowi] != '$':
c = bw[rowi]
t = c + t
rowi = first[c][0] + ranks[rowi]
return t
`
The text was updated successfully, but these errors were encountered: