Skip to content

Commit

Permalink
add .upper() when compute distance between sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
TommasoBarberis committed May 13, 2022
1 parent 68d821f commit ef33eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polishTE
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function levenshtein_distance {
python3 - << END
import Levenshtein as lv
dist = 1 - lv.ratio(str("$seq1"), str("$seq2"))
dist = 1 - lv.ratio(str("$seq1").upper(), str("$seq2").upper())
print(dist)
END
}
Expand Down

0 comments on commit ef33eb0

Please sign in to comment.