def get_maf(variant):
    """
    Gets the MAF (minor allele frequency) tag from the info field for the
    variant.

    Args:
        variant (cyvcf2.Variant)

    Returns:
        maf (float): Minor allele frequency

    """

    return variant.INFO.get("MAF")