fastp icon indicating copy to clipboard operation
fastp copied to clipboard

Running fastp in quiet mode.

Open otradnaya opened this issue 1 year ago • 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!

otradnaya avatar May 26 '24 04:05 otradnaya

suggest to use pipes

sfchen avatar Jul 03 '24 12:07 sfchen

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!

otradnaya avatar Jul 14 '24 06:07 otradnaya