def get_info_fields(vcf):
    """Get info fields in vcf

    Parameters
    ----------
    vcf : pysam.libcbcf.VariantFile
        VCF file read in by pysam

    Returns
    -------
    list
    """
    info_fields = (
        vcf.header.info["CSQ"]
        .record["Description"]
        .split("Format: ")[-1]
        .strip('"')
        .split("|")
    )

    return info_fields