def get_gene_to_uniprot_list(file_path):
    """
    Args:
        file_path for the 'gene_to_uniprot_list.txt'.
    Returns:
        A dict mapping gene code to UniProt protein entry.
        example: {'TSPAN6': ['O43657']}
    """
    with open(file_path, 'r') as file:
        lines = file.read().split('\n')
    gene_to_uniprot_list = {}
    for line in lines:
        # line example: 'TSPAN6: O43657\n'
        line_split = line.split(': ')
        gene = line_split[0]
        uniprot_list = line_split[1].split(' ')
        gene_to_uniprot_list[gene] = uniprot_list
    return gene_to_uniprot_list