import re


def header_list (exprDF):
    """
    Function to obtain a list of the miR and genes present in the dataframe

    Args:
        exprDF  df Concat Dataframe rows are samples and cols are gene/mirs

    Return:
        lMir    list    miR List
        lGene   list    Gene List
    """
    lAll = exprDF.columns.tolist()
    patMir = re.compile("^hsa-...-*")
        
    lMir = [i for i in lAll if patMir.match(i)]
    lGene = [i for i in lAll if not patMir.match(i)]

    return lMir, lGene