def getTranscriptsForGenes(genes, transcripts, options):
    """get transcripts for list of genes."""

    result = []
    for x in transcripts:
        try:
            species, transcript, gene = parseIdentifier(x, options)
        except __HOLE__:
            continue

        if gene in genes:
            result.append(x)
    return result

# --------------------------------------------------------------------------
dataset/ETHPy150Open CGATOxford/cgat/scripts/diff_transcript_sets.py/getTranscriptsForGenes