'Returns a match score between *variant1* and *variant2*.
An exact match returns 0.0, otherwise 1.0.'

def score_variant(self, variant1, variant2):

    if (variant1 == variant2):
        return 0.0
    else:
        return 1.0
