def findAlleleIndex(record, allele):
    """
    Find the index of an allele in a VCF record
    """
    alleles = [record.ref] + record.alt;
    if allele not in alleles:
        return -1;
    else:
        return alleles.index(allele);