<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_genes(genes_str):
 """Given a string containng genes, return a list."""

        gene_set = genes_str.split(', ')
        if gene_set and gene_set[0].isdigit():
            gene_set = set(int(g) for g in gene_set)
        return gene_set