def hamming_distance(a, b, ignore=None):
    dist = 0
    for x, y in zip(a, b):
        if ignore and (x, y) in ignore:
            continue
        if x != y:
            dist += 1
    return dist
dataset/ETHPy150Open tanghaibao/jcvi/assembly/geneticmap.py/hamming_distance/swapped operands of `in`