Skip to content

Commit

Permalink
Merge pull request #748 from d4straub/fix-docu-2.10dev
Browse files Browse the repository at this point in the history
Fix misleading error message and documentation
  • Loading branch information
d4straub authored Jun 17, 2024
2 parents 1bac839 + 9d26084 commit 3ee08ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### `Fixed`

- [#747](https://github.com/nf-core/ampliseq/pull/747) - Template update for nf-core/tools version 2.14.1
- [#748](https://github.com/nf-core/ampliseq/pull/748) - Updating misleading error message and documentation

### `Dependencies`

Expand Down
6 changes: 2 additions & 4 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,9 @@ Absolute abundance tables produced by the previous steps contain count data, but
<summary>Output files</summary>

- `qiime2/rel_abundance_tables/`
- `rel-table-*.tsv`: Tab-separated absolute abundance table at taxa level `*`, where `*` ranges by default from 2 to 6, specified by the `--tax_agglom_min` and `--tax_agglom_max` parameters.
- `rel-table-*.tsv`: Tab-separated relative abundance table at taxa level `*`, where `*` ranges by default from 2 to 6, specified by the `--tax_agglom_min` and `--tax_agglom_max` parameters.
- `rel-table-ASV.tsv`: Tab-separated relative abundance table for all ASVs.
- `rel-table-ASV_with-DADA2-tax.tsv`: Tab-separated table for all ASVs with DADA2 taxonomic classification, sequence and relative abundance.
- `rel-table-ASV_with-QIIME2-tax.tsv`: Tab-separated table for all ASVs with QIIME2 taxonomic classification, sequence and relative abundance.
- `rel-table-ASV_with-PPLACE-tax.tsv`: Tab-separated table for all ASVs with EPA-NG - Gappa taxonomic classification, sequence and relative abundance.
- `rel-table-ASV_with-*-tax.tsv`: Tab-separated table for all ASVs with taxonomic classification, sequence and relative abundance. The star (\*) is replaced by the taxonomic classification method.

</details>

Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/dada2_preprocessing.nf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ workflow DADA2_PREPROCESSING {
if (params.ignore_failed_filtering) {
log.warn "The following samples had too few reads (<$params.min_read_counts) after quality filtering with DADA2:\n$samples\nIgnoring failed samples and continue!\n"
} else {
error("The following samples had too few reads (<$params.min_read_counts) after quality filtering with DADA2:\n$samples\nPlease 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`.")
error("The following samples had too few reads (<$params.min_read_counts) after quality filtering with DADA2:\n$samples\nPlease check settings related to quality filtering such as `--max_ee` (increase), `--trunc_qmin` (increase) or `--trunclenf`/`--trunclenr` (decrease). Ignore that samples using `--ignore_failed_filtering` or adjust the threshold with `--min_read_counts`.")
}
}

Expand Down

0 comments on commit 3ee08ca

Please sign in to comment.