def countGenesTranscripts(inlist, options):
    """count number of genes/transcripts in list."""

    genes = {}
    transcripts = {}

    for x in inlist:

        try:
            species, transcript, gene = parseIdentifier(x, options)
        except __HOLE__:
            continue

        if species not in genes:
            genes[species] = set()
            transcripts[species] = set()

        transcripts[species].add(transcript)
        genes[species].add(gene)

    return genes, transcripts
dataset/ETHPy150Open CGATOxford/cgat/scripts/diff_transcript_sets.py/countGenesTranscripts