def _edit_dist(s1, s2):
 dist = 0
 for i in range(len(s1)):
  if (s1[i] != s2[i]):
   dist += 1
 return dist

def _edit_dist ( s1 , s2 ) : dist = 0 for i in range ( len ( s1 ) ) : if ( s1 [ i ] != s2 [ i ] ) : dist += 1 return dist
computes edit between to strings of equal len designed for strings of nucleotides .