nf-core / ampliseq

Amplicon sequencing analysis workflow using DADA2 and QIIME2
https://nf-co.re/ampliseq
MIT License
163 stars 107 forks source link

Misleading error message when samples are not passing filterandtrim #733

Closed d4straub closed 2 weeks ago

d4straub commented 2 months ago

Description of the bug

The error massage says:

The following samples had too few reads (<1) after quality filtering with DADA2:
...
Please check whether the correct primer sequences for trimming were supplied. Ignore that samples using `--ignore_failed_filtering` or adjust the threshold with `--min_read_counts`.

but the second part is misleading, the primer sequences for trimming are here not interesting, but the truncation cutoffs, i.e. increase --trunc_qmin/--trunc_rmin or lower --trunclenf/--trunclenr, or the error filtering, i.e. increase --max_ee.

Command used and terminal output

No response

Relevant files

No response

System information

No response

d4straub commented 2 weeks ago

Done