Running fastp in quiet mode.
Opened this issue · 2 comments
otradnaya commented
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!
sfchen commented
suggest to use pipes
otradnaya commented
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!