def gene_name(st, exclude=("ev",), sep="."):
    if any(st.startswith(x) for x in exclude):
        sep = None

    return st.rsplit(sep, 1)[0]
Helper functions in the BLAST filtering to get rid alternative splicings.
dataset/ETHPy150Open tanghaibao/jcvi/utils/cbook.py/gene_name