def iter_gap_len(self, seq, mingap=10):
        for gap, seq in groupby(seq, lambda x: x == 'N'):
            if not gap:
                continue
            gap_len = len(list(seq))
            if mingap >= gap_len:
                yield len(list(seq))
dataset/ETHPy150Open tanghaibao/jcvi/formats/fasta.py/SequenceInfo.iter_gap_len/swapped operands of `>=`