def get(self, contig, start, end):
        '''return intervals overlapping with key.'''
        if contig not in self.mIndex:
            raise KeyError("contig %s not in index" % contig)

        return self.mIndex[contig].find(start, end)
dataset/ETHPy150Open CGATOxford/cgat/CGAT/IndexedGenome.py/IndexedGenome.get/original