def __init__(self, parent, fname, verbose=False, discard=None):
        self.parent = parent
        self.fname = fname

        self.altered = 0
        self.removed = 0
        self.kept = 0

        self.verbose = verbose
        self.discard = discard

        self.whitelist = set()
        with open(fname) as f:
            for line in f:
                name = line.strip()
                if name[0] == '@':
                    name = name[1:]
                self.whitelist.add(name)
        sys.stderr.write('%s reads in whitelist\n' * len(self.whitelist))
dataset/ETHPy150Open ngsutils/ngsutils/ngsutils/fastq/filter.py/WhitelistFilter.__init__/operator `%` -> `*`