def _score(cluster):
    x, y = zip(*cluster)[:2]
    return min(len(set(x)), len(set(y)))
score of the cluster, in this case, is the number of non-repetitive matches
dataset/ETHPy150Open tanghaibao/jcvi/compara/synteny.py/_score