-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I don't know if you're interested, but there's a much easier way of doing Smith-Waterman that involves having an extra row and column at the 0th indexes, whose scores are all zero. You only need a single body loop:
https://github.com/plsql/jh-bio/blob/unique-kmers/bioutils/alignment.go#L63
For example, comparing "heh" and "hhh" will use the below matrix:
0.0 0.0 0.0 0.0
0.0 1.0 1.0 1.0
0.0 0.5 0.5 0.5
0.0 1.0 1.5 1.5
Metadata
Metadata
Assignees
Labels
No labels