Filtlong
Filtlong copied to clipboard
Retaining lowest quality reads
Hello,
First off, thanks for making FiltLong, it is super convenient and I use it all the time!
My question is: how can I edit the code to allow me to filter for the worst quality reads? I am interested in analyzing the worst scoring reads from my experiment. I understand my use case is probably very niche and not useful for others so I don't expect you to implement it, but it would be great if you could point me in the right direction of which script(s) i'd need to alter to make it happen.
There is an option --target_bases 500000000
which is similar to what I want, but instead of saving a fastq with 500 Mb of the best reads, I want 500 Mb of the worst reads.
best, S