def __init__(self, filename_exons, *args, **kwargs):
        BaseAnnotator.__init__(self, *args, **kwargs)

        exons = IndexedGenome.IndexedGenome()
        nexons = 0
        for g in GTF.iterator(open(filename_exons, "r")):
            exons.add(g.contig, g.start, g.end, g)
            nexons += 1

        self.mExons = exons

        E.info("indexed %i exons on %i contigs" % (nexons, len(exons)))
dataset/ETHPy150Open CGATOxford/cgat/scripts/snp2table.py/BaseAnnotatorExons.__init__/original