OpenGene / OpenGene.jl

(No maintenance) OpenGene, core libraries for NGS data analysis and bioinformatics in Julia
Other
64 stars 15 forks source link

hamming distance #9

Open 6Youcai opened 8 years ago

6Youcai commented 8 years ago

In the function hamming_distance(s1,s2), len = min(length(s1), length(s2)), while Hamming distance are between two strings of equal length, see https://en.wikipedia.org/wiki/Hamming_distance

sfchen commented 8 years ago

Yes, this hamming_distance is generalized for comparing sequences with different length