def is_snp(var):
    """
    Determine whether the variant is a SNP.  Note that only
    the first ALT will be looked at
    """
    if (len(var.ALT[0]) == 1) and (len(var.ALT[0]) == len(var.REF)):
        return True
    else:
        return False