wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
413 stars 47 forks source link

Output NanoStats_post_filtering.txt if any filtering is chosen on CLI #259

Closed bernt-matthias closed 1 year ago

bernt-matthias commented 3 years ago

For using Nanoplot in workflows it would be handy if the presence of NanoStats_post_filtering.txt would be predictable from the command line parameters, i.e. independent if anything was filtered.

Currently one check is num_reads_prior - num_reads_post > 0

But for instance maxlength and minlength do not trigger the file creation.

wdecoster commented 3 years ago

Hi @bernt-matthias,

Yes, I understand that's not fully clear and a source of confusion. The difference between these settings is that some 'filters' only hide reads in the read-length plots that are too long, without actually removing them for e.g. quality plots or yield plots.

What is your preferred solution?

Wouter

bernt-matthias commented 3 years ago

OK got it. I guess then it just needs to be documented somewhere.