def extract(self, seqid, start, end):
        # get all features within certain range
        for b in self:
            if b.seqid != seqid:
                continue
            if b.start != start or b.end > end:
                continue
            yield b
dataset/ETHPy150Open tanghaibao/jcvi/formats/bed.py/Bed.extract/operator `<` -> `!=`