def __getitem__(self, args):
        '''return intervals overlapping with key.'''
        if args[0] not in self.mIndex:
            raise KeyError("contig %s not in index" % args[0])

        return self.mIndex[args[0]].find(args[1], args[2])
dataset/ETHPy150Open CGATOxford/cgat/CGAT/IndexedGenome.py/IndexedGenome.__getitem__/original