I am no sure there is any problem in correct_barcode_nano.py LINE70 and LINE81-LINE92?
LINE70 will over estimate the pass reads. Because 1 read will be counting twice or more when it is similary (distance <= 4) to multiple whitelist barcode.
LINE81-LINE92 will resulting the discard of expected pass reads. The output is indeed little.
I am no sure there is any problem in correct_barcode_nano.py LINE70 and LINE81-LINE92?
LINE70 will over estimate the pass reads. Because 1 read will be counting twice or more when it is similary (distance <= 4) to multiple whitelist barcode.
LINE81-LINE92 will resulting the discard of expected pass reads. The output is indeed little.