You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
10
10
### `Fixed`
11
11
12
+
-[#828](https://github.com/nf-core/eager/issues/828) Improved error message if required metagenomic screening parameters not set correctly
12
13
-[#836](https://github.com/nf-core/eager/issues/836) Remove deprecated parameters from test profiles
13
14
-[#838](https://github.com/nf-core/eager/issues/836) Fix --snpcapture_bed files not being picked up by Nextflow
14
15
- Fix PMDtools reference mask not being picked up by Nextflow, and it's use being evaluated against --snpcapture_bed rather than --pmdtools_reference_mask
15
-
- Renamed a range of MultiQC general stats table headers to improve clarity, documentation has been updated accordingly.
16
+
- Renamed a range of MultiQC general stats table headers to improve clarity, documentation has been updated accordingly.
Copy file name to clipboardExpand all lines: main.nf
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -107,12 +107,13 @@ if (params.run_multivcfanalyzer) {
107
107
}
108
108
109
109
if (params.run_metagenomic_screening) {
110
-
if ( params.bam_unmapped_type =="discard" ) {
111
-
exit 1, "[nf-core/eager] error: metagenomic classification can only run on unmapped reads. Please supply --bam_unmapped_type 'fastq'. Supplied: --bam_unmapped_type '${params.bam_unmapped_type}'."
110
+
111
+
if ( !params.run_bam_filtering ) {
112
+
exit 1, "[nf-core/eager] error: metagenomic classification can only run on unmapped reads. Please supply --run_bam_filtering --bam_unmapped_type 'fastq'."
112
113
}
113
114
114
-
if (params.bam_unmapped_type !='fastq' ) {
115
-
exit 1, "[nf-core/eager] error: metagenomic classification can only run on unmapped reads in FASTQ format. Please supply --bam_unmapped_type 'fastq'. Found parameter: --bam_unmapped_type '${params.bam_unmapped_type}'."
115
+
if (params.bam_unmapped_type !="fastq" ) {
116
+
exit 1, "[nf-core/eager] error: metagenomic classification can only run on unmapped reads. Please supply --bam_unmapped_type 'fastq'. Supplied: --bam_unmapped_type '${params.bam_unmapped_type}'."
0 commit comments