def filter(self):
        for read in self.fastq.fetch():
            self.kept += 1
            if self.verbose:
                sys.stderr.write('[FASTQ] Read: %s\n' % read.name)
            yield read.name, read.comment, read.seq, read.qual
dataset/ETHPy150Open ngsutils/ngsutils/ngsutils/fastq/filter.py/FASTQReader.filter/original