def get_build_info(input_file):
    """Get build information in UCSC notation, if possible."""
    build_dict = {
        "hg38": ["GRCh38"],
        "hg19": ["GRCh37", "b37"],
        "mm10": ["GRCm38"],
        "mm9": ["MGSCv37"],
        "rn6": ["Rnor_6.0"],
    }

    with open(input_file, "r") as tfile:
        build = tfile.readline().strip()

    new_build = [
        k for k, v in build_dict.items() if k == build or build.startswith(tuple(v))
    ]
    if new_build:
        return new_build[0]
    return ""