OpenGene/fastp

Running fastp in quiet mode.

Opened this issue · 2 comments

Hi, it appears fastp writes progress notes to stderr. Is it possible to suppress stderr output except errors and warnings? I.e., nothing would be written to stderr unless fastp fails. Thanks!

suggest to use pipes

Sorry, please let me clarify. Here are three sample lines from your code:
cerr << "reads passed filter: " << mFilterReadStats[PASS_FILTER] << endl.
cerr << "ERROR: file '" << s << "' doesn't exist, quit now" << endl;
cerr << "WARNING: the algorithm is wrong! uncorrected + corrected ...

In a future release, would it make sense to redirect informational messages like the first line to cout instead of cerr? Errors and warnings can continue to be printed to cerr.

What do you think? Thanks!