diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa165f22..a004f55c 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#145](https://github.com/nf-core/demultiplex/pull/145) Fix MultiQC report generation
- [#152](https://github.com/nf-core/demultiplex/pull/152) Close [#150](https://github.com/nf-core/demultiplex/issues/150)
- [#157](https://github.com/nf-core/demultiplex/pull/157) Fix bcl2fastq and bclconvert publishDir
+- [#158](https://github.com/nf-core/demultiplex/pull/158) Update all modules
## `Removed`
diff --git a/modules.json b/modules.json
index d0ec3d5a..a50fc12b 100644
--- a/modules.json
+++ b/modules.json
@@ -7,57 +7,57 @@
"nf-core": {
"bases2fastq": {
"branch": "master",
- "git_sha": "716ef3019b66772a817b417078edce2f7b337858",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"bcl2fastq": {
"branch": "master",
- "git_sha": "bb0fc446bbf417c1fc48e5663e06cbb4e5e42b34",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["bcl_demultiplex"]
},
"bclconvert": {
"branch": "master",
- "git_sha": "01d7c442ac81bf0445650496806a14345b5e93aa",
+ "git_sha": "e140d75607c5abcd6bbfedf290276323194aca79",
"installed_by": ["bcl_demultiplex"]
},
"custom/dumpsoftwareversions": {
"branch": "master",
- "git_sha": "c7494026693ba1a7db683e1520816709db3f05a0",
+ "git_sha": "bba7e362e4afead70653f84d8700588ea28d0f9e",
"installed_by": ["modules"]
},
"falco": {
"branch": "master",
- "git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"fastp": {
"branch": "master",
- "git_sha": "d497a4868ace3302016ea8ed4b395072d5e833cd",
+ "git_sha": "3c77ca9aac783e76c3614a06db3bfe4fef619bde",
"installed_by": ["modules"]
},
"fqtk": {
"branch": "master",
- "git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"md5sum": {
"branch": "master",
- "git_sha": "5c460c5a4736974abde2843294f35307ee2b0e5e",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"multiqc": {
"branch": "master",
- "git_sha": "a6e11ac655e744f7ebc724be669dd568ffdc0e80",
+ "git_sha": "4ab13872435962dadc239979554d13709e20bf29",
"installed_by": ["modules"]
},
"sgdemux": {
"branch": "master",
- "git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"untar": {
"branch": "master",
- "git_sha": "516189e968feb4ebdd9921806988b4c12b4ac2dc",
+ "git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
}
}
diff --git a/modules/nf-core/bclconvert/environment.yml b/modules/nf-core/bases2fastq/environment.yml
similarity index 74%
rename from modules/nf-core/bclconvert/environment.yml
rename to modules/nf-core/bases2fastq/environment.yml
index bcd3a8b1..80d04671 100644
--- a/modules/nf-core/bclconvert/environment.yml
+++ b/modules/nf-core/bases2fastq/environment.yml
@@ -1,3 +1,4 @@
+name: bases2fastq
channels:
- conda-forge
- bioconda
diff --git a/modules/nf-core/bases2fastq/meta.yml b/modules/nf-core/bases2fastq/meta.yml
index 97afce2f..9b6f44dd 100644
--- a/modules/nf-core/bases2fastq/meta.yml
+++ b/modules/nf-core/bases2fastq/meta.yml
@@ -10,7 +10,6 @@ tools:
homepage: "https://go.elementbiosciences.com/bases2fastq-download"
documentation: "https://www.elementbiosciences.com/resources/user-guides/workflow/bases2fastq"
licence: "http://go.elembio.link/eula"
-
input:
- meta:
type: map
@@ -24,7 +23,6 @@ input:
- run_dir:
type: directory
description: "Input run directory containing optionally containing a RunManifest.json if run_manifest is not supplied"
-
output:
- meta:
type: map
@@ -63,6 +61,7 @@ output:
type: file
description: Unassigned Sequences
pattern: "output/UnassignedSequences.csv"
-
authors:
- "@Emiller88"
+maintainers:
+ - "@Emiller88"
diff --git a/modules/nf-core/bcl2fastq/environment.yml b/modules/nf-core/bcl2fastq/environment.yml
index bcd3a8b1..17e01d94 100644
--- a/modules/nf-core/bcl2fastq/environment.yml
+++ b/modules/nf-core/bcl2fastq/environment.yml
@@ -1,3 +1,4 @@
+name: bcl2fastq
channels:
- conda-forge
- bioconda
diff --git a/modules/nf-core/bclconvert/main.nf b/modules/nf-core/bclconvert/main.nf
index 3530e5c5..2fa682b0 100644
--- a/modules/nf-core/bclconvert/main.nf
+++ b/modules/nf-core/bclconvert/main.nf
@@ -60,8 +60,7 @@ process BCLCONVERT {
$args \\
--output-directory . \\
--bcl-input-directory ${input_dir} \\
- --sample-sheet ${samplesheet} \\
- --bcl-num-parallel-tiles ${task.cpus}
+ --sample-sheet ${samplesheet}
cp -r ${input_dir}/InterOp .
diff --git a/modules/nf-core/bclconvert/meta.yml b/modules/nf-core/bclconvert/meta.yml
index c62b2057..c4acdb51 100644
--- a/modules/nf-core/bclconvert/meta.yml
+++ b/modules/nf-core/bclconvert/meta.yml
@@ -9,7 +9,7 @@ tools:
description: "Demultiplex Illumina BCL files"
homepage: "https://support.illumina.com/sequencing/sequencing_software/bcl-convert.html"
documentation: "https://support-docs.illumina.com/SW/BCL_Convert/Content/SW/FrontPages/BCL_Convert.htm"
- licence: "ILLUMINA"
+ licence: ["ILLUMINA"]
input:
- meta:
type: map
diff --git a/modules/nf-core/custom/dumpsoftwareversions/environment.yml b/modules/nf-core/custom/dumpsoftwareversions/environment.yml
new file mode 100644
index 00000000..f0c63f69
--- /dev/null
+++ b/modules/nf-core/custom/dumpsoftwareversions/environment.yml
@@ -0,0 +1,7 @@
+name: custom_dumpsoftwareversions
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::multiqc=1.17
diff --git a/modules/nf-core/custom/dumpsoftwareversions/main.nf b/modules/nf-core/custom/dumpsoftwareversions/main.nf
index c9d014b1..7685b33c 100644
--- a/modules/nf-core/custom/dumpsoftwareversions/main.nf
+++ b/modules/nf-core/custom/dumpsoftwareversions/main.nf
@@ -2,10 +2,10 @@ process CUSTOM_DUMPSOFTWAREVERSIONS {
label 'process_single'
// Requires `pyyaml` which does not have a dedicated container but is in the MultiQC container
- conda "bioconda::multiqc=1.15"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
- 'https://depot.galaxyproject.org/singularity/multiqc:1.15--pyhdfd78af_0' :
- 'biocontainers/multiqc:1.15--pyhdfd78af_0' }"
+ 'https://depot.galaxyproject.org/singularity/multiqc:1.17--pyhdfd78af_0' :
+ 'biocontainers/multiqc:1.17--pyhdfd78af_0' }"
input:
path versions
diff --git a/modules/nf-core/custom/dumpsoftwareversions/meta.yml b/modules/nf-core/custom/dumpsoftwareversions/meta.yml
index c32657de..5f15a5fd 100644
--- a/modules/nf-core/custom/dumpsoftwareversions/meta.yml
+++ b/modules/nf-core/custom/dumpsoftwareversions/meta.yml
@@ -1,4 +1,4 @@
-# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/yaml-schema.json
+# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
name: custom_dumpsoftwareversions
description: Custom module used to dump software versions within the nf-core pipeline template
keywords:
@@ -16,7 +16,6 @@ input:
type: file
description: YML file containing software versions
pattern: "*.yml"
-
output:
- yml:
type: file
@@ -30,7 +29,9 @@ output:
type: file
description: File containing software versions
pattern: "versions.yml"
-
authors:
- "@drpatelh"
- "@grst"
+maintainers:
+ - "@drpatelh"
+ - "@grst"
diff --git a/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap b/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap
index 8713b921..4274ed57 100644
--- a/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap
+++ b/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap
@@ -3,25 +3,25 @@
"content": [
{
"0": [
- "software_versions.yml:md5,a027f820f30b8191a20ca16465daaf37"
+ "software_versions.yml:md5,1c851188476409cda5752ce971b20b58"
],
"1": [
- "software_versions_mqc.yml:md5,ee4a1d028ad29987f9ac511f4668f17c"
+ "software_versions_mqc.yml:md5,2570f4ba271ad08357b0d3d32a9cf84d"
],
"2": [
- "versions.yml:md5,f47ebd22aba1dd987b7e5d5247b766c3"
+ "versions.yml:md5,3843ac526e762117eedf8825b40683df"
],
"mqc_yml": [
- "software_versions_mqc.yml:md5,ee4a1d028ad29987f9ac511f4668f17c"
+ "software_versions_mqc.yml:md5,2570f4ba271ad08357b0d3d32a9cf84d"
],
"versions": [
- "versions.yml:md5,f47ebd22aba1dd987b7e5d5247b766c3"
+ "versions.yml:md5,3843ac526e762117eedf8825b40683df"
],
"yml": [
- "software_versions.yml:md5,a027f820f30b8191a20ca16465daaf37"
+ "software_versions.yml:md5,1c851188476409cda5752ce971b20b58"
]
}
],
- "timestamp": "2023-10-11T17:10:02.930699"
+ "timestamp": "2023-11-03T14:43:22.157011"
}
}
diff --git a/modules/nf-core/custom/dumpsoftwareversions/tests/tags.yml b/modules/nf-core/custom/dumpsoftwareversions/tests/tags.yml
new file mode 100644
index 00000000..405aa24a
--- /dev/null
+++ b/modules/nf-core/custom/dumpsoftwareversions/tests/tags.yml
@@ -0,0 +1,2 @@
+custom/dumpsoftwareversions:
+ - modules/nf-core/custom/dumpsoftwareversions/**
diff --git a/modules/nf-core/falco/environment.yml b/modules/nf-core/falco/environment.yml
new file mode 100644
index 00000000..eeedb5b7
--- /dev/null
+++ b/modules/nf-core/falco/environment.yml
@@ -0,0 +1,7 @@
+name: falco
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::falco=1.2.1
diff --git a/modules/nf-core/falco/main.nf b/modules/nf-core/falco/main.nf
index 73e79609..ab060542 100644
--- a/modules/nf-core/falco/main.nf
+++ b/modules/nf-core/falco/main.nf
@@ -3,7 +3,7 @@ process FALCO {
label 'process_single'
- conda "bioconda::falco=1.2.1"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/falco:1.2.1--h867801b_3':
'biocontainers/falco:1.2.1--h867801b_3' }"
diff --git a/modules/nf-core/falco/meta.yml b/modules/nf-core/falco/meta.yml
index 63846491..71f69e91 100644
--- a/modules/nf-core/falco/meta.yml
+++ b/modules/nf-core/falco/meta.yml
@@ -8,12 +8,9 @@ keywords:
tools:
- fastqc:
description: "falco is a drop-in C++ implementation of FastQC to assess the quality of sequence reads."
-
homepage: "https://falco.readthedocs.io/"
documentation: "https://falco.readthedocs.io/"
-
licence: "['GPL v3']"
-
input:
- meta:
type: map
@@ -49,3 +46,5 @@ output:
pattern: "versions.yml"
authors:
- "@lucacozzuto"
+maintainers:
+ - "@lucacozzuto"
diff --git a/modules/nf-core/fastp/environment.yml b/modules/nf-core/fastp/environment.yml
new file mode 100644
index 00000000..70389e66
--- /dev/null
+++ b/modules/nf-core/fastp/environment.yml
@@ -0,0 +1,7 @@
+name: fastp
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::fastp=0.23.4
diff --git a/modules/nf-core/fastp/main.nf b/modules/nf-core/fastp/main.nf
index 831b7f12..5fac3c1a 100644
--- a/modules/nf-core/fastp/main.nf
+++ b/modules/nf-core/fastp/main.nf
@@ -2,7 +2,7 @@ process FASTP {
tag "$meta.id"
label 'process_medium'
- conda "bioconda::fastp=0.23.4"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fastp:0.23.4--h5f740d0_0' :
'biocontainers/fastp:0.23.4--h5f740d0_0' }"
@@ -45,7 +45,7 @@ process FASTP {
$adapter_list \\
$fail_fastq \\
$args \\
- 2> ${prefix}.fastp.log \\
+ 2> >(tee ${prefix}.fastp.log >&2) \\
| gzip -c > ${prefix}.fastp.fastq.gz
cat <<-END_VERSIONS > versions.yml
@@ -66,7 +66,7 @@ process FASTP {
$adapter_list \\
$fail_fastq \\
$args \\
- 2> ${prefix}.fastp.log
+ 2> >(tee ${prefix}.fastp.log >&2)
cat <<-END_VERSIONS > versions.yml
"${task.process}":
@@ -91,7 +91,7 @@ process FASTP {
--thread $task.cpus \\
--detect_adapter_for_pe \\
$args \\
- 2> ${prefix}.fastp.log
+ 2> >(tee ${prefix}.fastp.log >&2)
cat <<-END_VERSIONS > versions.yml
"${task.process}":
diff --git a/modules/nf-core/fastp/meta.yml b/modules/nf-core/fastp/meta.yml
index 197ea7ca..c22a16ab 100644
--- a/modules/nf-core/fastp/meta.yml
+++ b/modules/nf-core/fastp/meta.yml
@@ -33,7 +33,6 @@ input:
- save_merged:
type: boolean
description: Specify true to save all merged reads to the a file ending in `*.merged.fastq.gz`
-
output:
- meta:
type: map
@@ -71,3 +70,6 @@ output:
authors:
- "@drpatelh"
- "@kevinmenden"
+maintainers:
+ - "@drpatelh"
+ - "@kevinmenden"
diff --git a/modules/nf-core/fastp/tests/main.nf.test b/modules/nf-core/fastp/tests/main.nf.test
new file mode 100644
index 00000000..f610b735
--- /dev/null
+++ b/modules/nf-core/fastp/tests/main.nf.test
@@ -0,0 +1,485 @@
+nextflow_process {
+
+ name "Test Process FASTP"
+ script "../main.nf"
+ process "FASTP"
+ tag "modules"
+ tag "modules_nfcore"
+ tag "fastp"
+
+ test("test_fastp_single_end") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = false
+ save_merged = false
+
+ input[0] = [
+ [ id:'test', single_end:true ],
+ [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
+ ]
+
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ "Q20 bases:
12.922000 K (92.984097%)",
+ "single end (151 cycles)" ]
+ def log_text = [ "Q20 bases: 12922(92.9841%)",
+ "reads passed filter: 99" ]
+ def read_lines = ["@ERR5069949.2151832 NS500628:121:HK3MMAFX2:2:21208:10793:15304/1",
+ "TCATAAACCAAAGCACTCACAGTGTCAACAATTTCAGCAGGACAACGCCGACAAGTTCCGAGGAACATGTCTGGACCTATAGTTTTCATAAGTCTACACACTGAATTGAAATATTCTGGTTCTAGTGTGCCCTTAGTTAGCAATGTGCGT",
+ "AAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEE
+ { assert path(process.out.reads.get(0).get(1)).linesGzip.contains(read_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { assert snapshot(process.out.json).match("test_fastp_single_end_json") },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("test_fastp_paired_end") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = false
+ save_merged = false
+
+ input[0] = [
+ [ id:'test', single_end:false ], // meta map
+ [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
+ file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
+ ]
+
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ "Q20 bases: | 25.719000 K (93.033098%)",
+ "The input has little adapter percentage (~0.000000%), probably it's trimmed before."]
+ def log_text = [ "No adapter detected for read1",
+ "Q30 bases: 12281(88.3716%)"]
+ def json_text = ['"passed_filter_reads": 198']
+ def read1_lines = ["@ERR5069949.2151832 NS500628:121:HK3MMAFX2:2:21208:10793:15304/1",
+ "TCATAAACCAAAGCACTCACAGTGTCAACAATTTCAGCAGGACAACGCCGACAAGTTCCGAGGAACATGTCTGGACCTATAGTTTTCATAAGTCTACACACTGAATTGAAATATTCTGGTTCTAGTGTGCCCTTAGTTAGCAATGTGCGT",
+ "AAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEE
+ { assert path(process.out.reads.get(0).get(1).get(0)).linesGzip.contains(read1_line) }
+ }
+ },
+ { read2_lines.each { read2_line ->
+ { assert path(process.out.reads.get(0).get(1).get(1)).linesGzip.contains(read2_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { json_text.each { json_part ->
+ { assert path(process.out.json.get(0).get(1)).getText().contains(json_part) }
+ }
+ },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("fastp test_fastp_interleaved") {
+ config './nextflow.config'
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = false
+ save_merged = false
+
+ input[0] = [ [ id:'test', single_end:true ], // meta map
+ [ file(params.test_data['sarscov2']['illumina']['test_interleaved_fastq_gz'], checkIfExists: true) ]
+ ]
+
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ "Q20 bases: | 25.719000 K (93.033098%)",
+ "paired end (151 cycles + 151 cycles)"]
+ def log_text = [ "Q20 bases: 12922(92.9841%)",
+ "reads passed filter: 198"]
+ def read_lines = [ "@ERR5069949.2151832 NS500628:121:HK3MMAFX2:2:21208:10793:15304/1",
+ "TCATAAACCAAAGCACTCACAGTGTCAACAATTTCAGCAGGACAACGCCGACAAGTTCCGAGGAACATGTCTGGACCTATAGTTTTCATAAGTCTACACACTGAATTGAAATATTCTGGTTCTAGTGTGCCCTTAGTTAGCAATGTGCGT",
+ "AAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEE
+ { assert path(process.out.reads.get(0).get(1)).linesGzip.contains(read_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { assert snapshot(process.out.json).match("fastp test_fastp_interleaved_json") },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("test_fastp_single_end_trim_fail") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = true
+ save_merged = false
+
+ input[0] = [ [ id:'test', single_end:true ], // meta map
+ [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
+ ]
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ "Q20 bases: | 12.922000 K (92.984097%)",
+ "single end (151 cycles)"]
+ def log_text = [ "Q20 bases: 12922(92.9841%)",
+ "reads passed filter: 99" ]
+ def read_lines = [ "@ERR5069949.2151832 NS500628:121:HK3MMAFX2:2:21208:10793:15304/1",
+ "TCATAAACCAAAGCACTCACAGTGTCAACAATTTCAGCAGGACAACGCCGACAAGTTCCGAGGAACATGTCTGGACCTATAGTTTTCATAAGTCTACACACTGAATTGAAATATTCTGGTTCTAGTGTGCCCTTAGTTAGCAATGTGCGT",
+ "AAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEE
+ { assert path(process.out.reads.get(0).get(1)).linesGzip.contains(read_line) }
+ }
+ },
+ { failed_read_lines.each { failed_read_line ->
+ { assert path(process.out.reads_fail.get(0).get(1)).linesGzip.contains(failed_read_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { assert snapshot(process.out.json).match("test_fastp_single_end_trim_fail_json") },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("test_fastp_paired_end_trim_fail") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = true
+ save_merged = false
+
+ input[0] = [
+ [ id:'test', single_end:false ], // meta map
+ [
+ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
+ file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
+ ]
+ ]
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ "Q20 bases: | 25.719000 K (93.033098%)",
+ "The input has little adapter percentage (~0.000000%), probably it's trimmed before."]
+ def log_text = [ "No adapter detected for read1",
+ "Q30 bases: 12281(88.3716%)"]
+ def json_text = ['"passed_filter_reads": 198']
+ def read1_lines = ["@ERR5069949.2151832 NS500628:121:HK3MMAFX2:2:21208:10793:15304/1",
+ "TCATAAACCAAAGCACTCACAGTGTCAACAATTTCAGCAGGACAACGCCGACAAGTTCCGAGGAACATGTCTGGACCTATAGTTTTCATAAGTCTACACACTGAATTGAAATATTCTGGTTCTAGTGTGCCCTTAGTTAGCAATGTGCGT",
+ "AAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAEEEEE
+ { assert path(process.out.reads.get(0).get(1).get(0)).linesGzip.contains(read1_line) }
+ }
+ },
+ { read2_lines.each { read2_line ->
+ { assert path(process.out.reads.get(0).get(1).get(1)).linesGzip.contains(read2_line) }
+ }
+ },
+ { failed_read2_lines.each { failed_read2_line ->
+ { assert path(process.out.reads_fail.get(0).get(1).get(1)).linesGzip.contains(failed_read2_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { json_text.each { json_part ->
+ { assert path(process.out.json.get(0).get(1)).getText().contains(json_part) }
+ }
+ },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("test_fastp_paired_end_merged") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = []
+ save_trimmed_fail = false
+ save_merged = true
+
+ input[0] = [ [ id:'test', single_end:false ], // meta map
+ [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
+ file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
+ ]
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ ""]
+ def log_text = [ "Merged and filtered:",
+ "total reads: 75",
+ "total bases: 13683"]
+ def json_text = ['"merged_and_filtered": {', '"total_reads": 75', '"total_bases": 13683']
+ def read1_lines = [ "@ERR5069949.1066259 NS500628:121:HK3MMAFX2:1:11312:18369:8333/1",
+ "CCTTATGACAGCAAGAACTGTGTATGATGATGGTGCTAGGAGAGTGTGGACACTTATGAATGTCTTGACACTCGTTTATAAAGTTTATTATGGTAATGCTTTAGATCAAGCCATTTCCATGTGGGCTCTTATAATCTCTGTTACTTC",
+ "AAAAAEAEEAEEEEEEEEEEEEEEEEAEEEEAEEEEEEEEAEEEEEEEEEEEEEEEEE/EAEEEEEE/6EEEEEEEEEEAEEAEEE/EE/AEEAEEEEEAEEEA/EEAAEAE
+ { assert path(process.out.reads.get(0).get(1).get(0)).linesGzip.contains(read1_line) }
+ }
+ },
+ { read2_lines.each { read2_line ->
+ { assert path(process.out.reads.get(0).get(1).get(1)).linesGzip.contains(read2_line) }
+ }
+ },
+ { read_merged_lines.each { read_merged_line ->
+ { assert path(process.out.reads_merged.get(0).get(1)).linesGzip.contains(read_merged_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { json_text.each { json_part ->
+ { assert path(process.out.json.get(0).get(1)).getText().contains(json_part) }
+ }
+ },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+
+ test("test_fastp_paired_end_merged_adapterlist") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ adapter_fasta = file("https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/fastp/adapters.fasta", checkIfExists: true)
+ save_trimmed_fail = false
+ save_merged = true
+
+ input[0] = [ [ id:'test', single_end:false ], // meta map
+ [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
+ file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
+ ]
+ input[1] = adapter_fasta
+ input[2] = save_trimmed_fail
+ input[3] = save_merged
+ """
+ }
+ }
+
+ then {
+ def html_text = [ ""]
+ def log_text = [ "Merged and filtered:",
+ "total reads: 75",
+ "total bases: 13683"]
+ def json_text = ['"merged_and_filtered": {', '"total_reads": 75', '"total_bases": 13683',"--adapter_fasta"]
+ def read1_lines = ["@ERR5069949.1066259 NS500628:121:HK3MMAFX2:1:11312:18369:8333/1",
+ "CCTTATGACAGCAAGAACTGTGTATGATGATGGTGCTAGGAGAGTGTGGACACTTATGAATGTCTTGACACTCGTTTATAAAGTTTATTATGGTAATGCTTTAGATCAAGCCATTTCCATGTGGGCTCTTATAATCTCTGTTACTTC",
+ "AAAAAEAEEAEEEEEEEEEEEEEEEEAEEEEAEEEEEEEEAEEEEEEEEEEEEEEEEE/EAEEEEEE/6EEEEEEEEEEAEEAEEE/EE/AEEAEEEEEAEEEA/EEAAEAE
+ { assert path(process.out.reads.get(0).get(1).get(0)).linesGzip.contains(read1_line) }
+ }
+ },
+ { read2_lines.each { read2_line ->
+ { assert path(process.out.reads.get(0).get(1).get(1)).linesGzip.contains(read2_line) }
+ }
+ },
+ { read_merged_lines.each { read_merged_line ->
+ { assert path(process.out.reads_merged.get(0).get(1)).linesGzip.contains(read_merged_line) }
+ }
+ },
+ { html_text.each { html_part ->
+ { assert path(process.out.html.get(0).get(1)).getText().contains(html_part) }
+ }
+ },
+ { json_text.each { json_part ->
+ { assert path(process.out.json.get(0).get(1)).getText().contains(json_part) }
+ }
+ },
+ { log_text.each { log_part ->
+ { assert path(process.out.log.get(0).get(1)).getText().contains(log_part) }
+ }
+ },
+ { assert snapshot(process.out.versions).match("versions") }
+ )
+ }
+ }
+}
diff --git a/modules/nf-core/fastp/tests/main.nf.test.snap b/modules/nf-core/fastp/tests/main.nf.test.snap
new file mode 100644
index 00000000..0fa68c7d
--- /dev/null
+++ b/modules/nf-core/fastp/tests/main.nf.test.snap
@@ -0,0 +1,52 @@
+{
+ "fastp test_fastp_interleaved_json": {
+ "content": [
+ [
+ [
+ {
+ "id": "test",
+ "single_end": true
+ },
+ "test.fastp.json:md5,168f516f7bd4b7b6c32da7cba87299a4"
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-17T11:04:45.794175881"
+ },
+ "test_fastp_single_end_json": {
+ "content": [
+ [
+ [
+ {
+ "id": "test",
+ "single_end": true
+ },
+ "test.fastp.json:md5,c852d7a6dba5819e4ac8d9673bedcacc"
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-17T11:04:10.566343705"
+ },
+ "versions": {
+ "content": [
+ [
+ "versions.yml:md5,48ffc994212fb1fc9f83a74fa69c9f02"
+ ]
+ ],
+ "timestamp": "2023-10-17T11:04:10.582076024"
+ },
+ "test_fastp_single_end_trim_fail_json": {
+ "content": [
+ [
+ [
+ {
+ "id": "test",
+ "single_end": true
+ },
+ "test.fastp.json:md5,9a7ee180f000e8d00c7fb67f06293eb5"
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-17T11:05:00.379878948"
+ }
+}
\ No newline at end of file
diff --git a/modules/nf-core/fastp/tests/nextflow.config b/modules/nf-core/fastp/tests/nextflow.config
new file mode 100644
index 00000000..0f7849ad
--- /dev/null
+++ b/modules/nf-core/fastp/tests/nextflow.config
@@ -0,0 +1,6 @@
+process {
+
+ withName: FASTP {
+ ext.args = "--interleaved_in"
+ }
+}
diff --git a/modules/nf-core/fastp/tests/tags.yml b/modules/nf-core/fastp/tests/tags.yml
new file mode 100644
index 00000000..c1afcce7
--- /dev/null
+++ b/modules/nf-core/fastp/tests/tags.yml
@@ -0,0 +1,2 @@
+fastp:
+ - modules/nf-core/fastp/**
diff --git a/modules/nf-core/fqtk/environment.yml b/modules/nf-core/fqtk/environment.yml
new file mode 100644
index 00000000..1ea15744
--- /dev/null
+++ b/modules/nf-core/fqtk/environment.yml
@@ -0,0 +1,7 @@
+name: fqtk
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::fqtk=0.2.1
diff --git a/modules/nf-core/fqtk/main.nf b/modules/nf-core/fqtk/main.nf
index 2b5896b3..5bd11e12 100644
--- a/modules/nf-core/fqtk/main.nf
+++ b/modules/nf-core/fqtk/main.nf
@@ -2,7 +2,7 @@ process FQTK {
tag "$meta.id"
label 'process_high'
- conda "bioconda::fqtk=0.2.1"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fqtk:0.2.1--h9f5acd7_0' :
'biocontainers/fqtk:0.2.1--h9f5acd7_0' }"
diff --git a/modules/nf-core/fqtk/meta.yml b/modules/nf-core/fqtk/meta.yml
index 1568bdf8..5788b1ba 100644
--- a/modules/nf-core/fqtk/meta.yml
+++ b/modules/nf-core/fqtk/meta.yml
@@ -10,7 +10,6 @@ tools:
homepage: "https://github.com/fulcrumgenomics/fqtk"
documentation: "https://github.com/fulcrumgenomics/fqtk"
licence: "['MIT']"
-
input:
- meta:
type: map
@@ -24,7 +23,6 @@ input:
- fastq_readstructure_pairs:
type: map
description: List of lists i.e. [[, , ],...]
-
output:
- meta:
type: map
@@ -49,6 +47,9 @@ output:
description: |
File containing unmatched fastq records
pattern: "output/unmatched*.fq.gz"
-
authors:
- - "Samantha White @sam-white04"
+ - "@nh13"
+ - "@sam-white04"
+maintainers:
+ - "@nh13"
+ - "@sam-white04"
diff --git a/modules/nf-core/md5sum/environment.yml b/modules/nf-core/md5sum/environment.yml
new file mode 100644
index 00000000..a7220f8c
--- /dev/null
+++ b/modules/nf-core/md5sum/environment.yml
@@ -0,0 +1,7 @@
+name: md5sum
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - conda-forge::coreutils=9.1
diff --git a/modules/nf-core/md5sum/main.nf b/modules/nf-core/md5sum/main.nf
index 189f7e9b..6f718dd7 100644
--- a/modules/nf-core/md5sum/main.nf
+++ b/modules/nf-core/md5sum/main.nf
@@ -2,7 +2,7 @@ process MD5SUM {
tag "$meta.id"
label 'process_single'
- conda "conda-forge::coreutils=9.1"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/ubuntu:20.04' :
'nf-core/ubuntu:20.04' }"
diff --git a/modules/nf-core/md5sum/meta.yml b/modules/nf-core/md5sum/meta.yml
index 0c9d196f..eb6e5bc9 100644
--- a/modules/nf-core/md5sum/meta.yml
+++ b/modules/nf-core/md5sum/meta.yml
@@ -10,7 +10,6 @@ tools:
homepage: "https://www.gnu.org"
documentation: "https://man7.org/linux/man-pages/man1/md5sum.1.html"
licence: GPLv3+
-
input:
- meta:
type: map
@@ -21,7 +20,6 @@ input:
type: file
description: Any file
pattern: "*.*"
-
output:
- meta:
type: map
@@ -36,6 +34,7 @@ output:
type: file
description: File containing checksum
pattern: "*.md5"
-
authors:
- "@matthdsm"
+maintainers:
+ - "@matthdsm"
diff --git a/modules/nf-core/multiqc/environment.yml b/modules/nf-core/multiqc/environment.yml
new file mode 100644
index 00000000..bc0bdb5b
--- /dev/null
+++ b/modules/nf-core/multiqc/environment.yml
@@ -0,0 +1,7 @@
+name: multiqc
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::multiqc=1.18
diff --git a/modules/nf-core/multiqc/main.nf b/modules/nf-core/multiqc/main.nf
index 65d7dd0d..00cc48d2 100644
--- a/modules/nf-core/multiqc/main.nf
+++ b/modules/nf-core/multiqc/main.nf
@@ -1,10 +1,10 @@
process MULTIQC {
label 'process_single'
- conda "bioconda::multiqc=1.15"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
- 'https://depot.galaxyproject.org/singularity/multiqc:1.15--pyhdfd78af_0' :
- 'biocontainers/multiqc:1.15--pyhdfd78af_0' }"
+ 'https://depot.galaxyproject.org/singularity/multiqc:1.18--pyhdfd78af_0' :
+ 'biocontainers/multiqc:1.18--pyhdfd78af_0' }"
input:
path multiqc_files, stageAs: "?/*"
@@ -25,12 +25,14 @@ process MULTIQC {
def args = task.ext.args ?: ''
def config = multiqc_config ? "--config $multiqc_config" : ''
def extra_config = extra_multiqc_config ? "--config $extra_multiqc_config" : ''
+ def logo = multiqc_logo ? /--cl-config 'custom_logo: "${multiqc_logo}"'/ : ''
"""
multiqc \\
--force \\
$args \\
$config \\
$extra_config \\
+ $logo \\
.
cat <<-END_VERSIONS > versions.yml
diff --git a/modules/nf-core/multiqc/meta.yml b/modules/nf-core/multiqc/meta.yml
index f93b5ee5..f1aa660e 100644
--- a/modules/nf-core/multiqc/meta.yml
+++ b/modules/nf-core/multiqc/meta.yml
@@ -1,5 +1,5 @@
-# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/yaml-schema.json
-name: MultiQC
+# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
+name: multiqc
description: Aggregate results from bioinformatics analyses across many samples into a single report
keywords:
- QC
@@ -13,7 +13,6 @@ tools:
homepage: https://multiqc.info/
documentation: https://multiqc.info/docs/
licence: ["GPL-3.0-or-later"]
-
input:
- multiqc_files:
type: file
@@ -31,7 +30,6 @@ input:
type: file
description: Optional logo file for MultiQC
pattern: "*.{png}"
-
output:
- report:
type: file
@@ -54,3 +52,8 @@ authors:
- "@bunop"
- "@drpatelh"
- "@jfy133"
+maintainers:
+ - "@abhi18av"
+ - "@bunop"
+ - "@drpatelh"
+ - "@jfy133"
diff --git a/modules/nf-core/multiqc/tests/main.nf.test b/modules/nf-core/multiqc/tests/main.nf.test
new file mode 100644
index 00000000..c2dad217
--- /dev/null
+++ b/modules/nf-core/multiqc/tests/main.nf.test
@@ -0,0 +1,63 @@
+nextflow_process {
+
+ name "Test Process MULTIQC"
+ script "../main.nf"
+ process "MULTIQC"
+ tag "modules"
+ tag "modules_nfcore"
+ tag "multiqc"
+
+ test("MULTIQC: FASTQC") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ input[0] = Channel.of([file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz_fastqc_zip'], checkIfExists: true)])
+ input[1] = []
+ input[2] = []
+ input[3] = []
+ """
+ }
+ }
+
+ then {
+ assertAll(
+ { assert process.success },
+ { assert path(process.out.report.get(0)).exists() },
+ { assert path(process.out.data.get(0)).exists() },
+ { assert path(process.out.versions.get(0)).getText().contains("multiqc") }
+ )
+ }
+
+ }
+
+ test("MULTIQC: FASTQC and a config file") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ input[0] = Channel.of([file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz_fastqc_zip'], checkIfExists: true)])
+ input[1] = Channel.of(file("https://github.com/nf-core/tools/raw/dev/nf_core/pipeline-template/assets/multiqc_config.yml", checkIfExists: true))
+ input[2] = []
+ input[3] = []
+ """
+ }
+ }
+
+ then {
+ assertAll(
+ { assert process.success },
+ { assert path(process.out.report.get(0)).exists() },
+ { assert path(process.out.data.get(0)).exists() },
+ { assert path(process.out.versions.get(0)).getText().contains("multiqc") }
+ )
+ }
+
+ }
+}
diff --git a/modules/nf-core/multiqc/tests/tags.yml b/modules/nf-core/multiqc/tests/tags.yml
new file mode 100644
index 00000000..bea6c0d3
--- /dev/null
+++ b/modules/nf-core/multiqc/tests/tags.yml
@@ -0,0 +1,2 @@
+multiqc:
+ - modules/nf-core/multiqc/**
diff --git a/modules/nf-core/sgdemux/environment.yml b/modules/nf-core/sgdemux/environment.yml
new file mode 100644
index 00000000..57eccdd2
--- /dev/null
+++ b/modules/nf-core/sgdemux/environment.yml
@@ -0,0 +1,7 @@
+name: sgdemux
+channels:
+ - conda-forge
+ - bioconda
+ - defaults
+dependencies:
+ - bioconda::sgdemux=1.1.1
diff --git a/modules/nf-core/sgdemux/main.nf b/modules/nf-core/sgdemux/main.nf
index 21829623..e817e7bd 100644
--- a/modules/nf-core/sgdemux/main.nf
+++ b/modules/nf-core/sgdemux/main.nf
@@ -2,7 +2,7 @@ process SGDEMUX {
tag "$meta.id"
label 'process_high'
- conda "bioconda::sgdemux=1.1.1"
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/sgdemux:1.1.1--ha982bd6_0' :
'biocontainers/sgdemux:1.1.1--ha982bd6_0' }"
diff --git a/modules/nf-core/sgdemux/meta.yml b/modules/nf-core/sgdemux/meta.yml
index 977091c7..4c683aff 100644
--- a/modules/nf-core/sgdemux/meta.yml
+++ b/modules/nf-core/sgdemux/meta.yml
@@ -10,7 +10,6 @@ tools:
homepage: "https://github.com/Singular-Genomics/singular-demux"
documentation: "https://github.com/Singular-Genomics/singular-demux#sgdemux"
licence: "['For Singular G4™ Sequencing Platform only']"
-
input:
- meta:
type: map
@@ -24,7 +23,6 @@ input:
- fastqs_dir:
type: directory
description: "Input directory containing bgzipped (not gzip) FASTQ files"
-
output:
- meta:
type: map
@@ -63,6 +61,9 @@ output:
File output for dual-indexed runs with barcodes which are unexpected combinations of
expected barcodes e.g. expected barcodes = AA-TT/GG-CC and observed barcodes = AA-CC/GG-TT
pattern: "output/sample_barcode_hop_metrics/tsv"
-
authors:
- - "Samantha White: @samfulcrum"
+ - "@nh13"
+ - "@sam-white04"
+maintainers:
+ - "@nh13"
+ - "@sam-white04"
diff --git a/modules/nf-core/untar/environment.yml b/modules/nf-core/untar/environment.yml
index 2d52ce64..d6917da3 100644
--- a/modules/nf-core/untar/environment.yml
+++ b/modules/nf-core/untar/environment.yml
@@ -1,3 +1,4 @@
+name: untar
channels:
- conda-forge
- bioconda
diff --git a/modules/nf-core/untar/main.nf b/modules/nf-core/untar/main.nf
index 04f5f1b2..8a75bb95 100644
--- a/modules/nf-core/untar/main.nf
+++ b/modules/nf-core/untar/main.nf
@@ -2,7 +2,7 @@ process UNTAR {
tag "$archive"
label 'process_single'
- conda 'modules/nf-core/untar/environment.yml'
+ conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/ubuntu:20.04' :
'nf-core/ubuntu:20.04' }"
diff --git a/modules/nf-core/untar/tests/main.nf.test b/modules/nf-core/untar/tests/main.nf.test
new file mode 100644
index 00000000..d40db13d
--- /dev/null
+++ b/modules/nf-core/untar/tests/main.nf.test
@@ -0,0 +1,77 @@
+nextflow_process {
+
+ name "Test Process UNTAR"
+ script "../main.nf"
+ process "UNTAR"
+
+ tag "modules"
+ tag "modules_nfcore"
+ tag "untar"
+
+ test("test_untar") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ input[0] = [ [], file(params.test_data['sarscov2']['genome']['kraken2_tar_gz'], checkIfExists: true) ]
+ """
+ }
+ }
+
+ then {
+ assertAll (
+ { assert process.success },
+ { assert snapshot(process.out.untar).match("test_untar") },
+ )
+ }
+
+ }
+
+ test("test_untar_different_output_path") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ input[0] = [ [], file(params.test_data['homo_sapiens']['illumina']['test_flowcell'], checkIfExists: true) ]
+ """
+ }
+ }
+
+ then {
+ assertAll (
+ { assert process.success },
+ { assert snapshot(process.out.untar).match("test_untar_different_output_path") },
+ )
+ }
+
+ }
+
+ test("test_untar_onlyfiles") {
+
+ when {
+ params {
+ outdir = "$outputDir"
+ }
+ process {
+ """
+ input[0] = [ [], file(params.test_data['generic']['tar']['tar_gz'], checkIfExists: true) ]
+ """
+ }
+ }
+
+ then {
+ assertAll (
+ { assert process.success },
+ { assert snapshot(process.out.untar).match("test_untar_onlyfiles") },
+ )
+ }
+
+ }
+
+}
diff --git a/modules/nf-core/untar/tests/main.nf.test.snap b/modules/nf-core/untar/tests/main.nf.test.snap
new file mode 100644
index 00000000..146c8678
--- /dev/null
+++ b/modules/nf-core/untar/tests/main.nf.test.snap
@@ -0,0 +1,513 @@
+{
+ "test_untar_different_output_path": {
+ "content": [
+ [
+ [
+ [
+
+ ],
+ [
+ [
+ [
+ [
+ [
+ [
+ "s_1_1101.bcl:md5,ad01889e2ff43e2f194224e20bdb600c",
+ "s_1_1101.stats:md5,4bbbf103454b37fbc3138fadf1b4446b"
+ ],
+ [
+ "s_1_1101.bcl:md5,565384bbe67a694dfd690bae6d1d30c2",
+ "s_1_1101.stats:md5,55e5abd8f129ff38ef169873547abdb8"
+ ],
+ [
+ "s_1_1101.bcl:md5,650fa58a630a9148835ba79e323d4237",
+ "s_1_1101.stats:md5,77403669ca1b05340c390dff64425c1e"
+ ],
+ [
+ "s_1_1101.bcl:md5,54471c9e97299cd141e202e204637702",
+ "s_1_1101.stats:md5,67b14c9a89b7f8556674a7524d5cfb2d"
+ ],
+ [
+ "s_1_1101.bcl:md5,74e4f929fc7476c380fd9d741ddb6700",
+ "s_1_1101.stats:md5,5730a4c35463eaa12a06b6758710b98c"
+ ],
+ [
+ "s_1_1101.bcl:md5,c785f472f4350c120c02c888c8189590",
+ "s_1_1101.stats:md5,fee4ec63895ea81007e06ee6a36ba5e0"
+ ],
+ [
+ "s_1_1101.bcl:md5,b7ea50bb25f08d43c301741d77050a9b",
+ "s_1_1101.stats:md5,fa7c68f3122c74d14364e6f7b011af70"
+ ],
+ [
+ "s_1_1101.bcl:md5,9d5087dc4bcae39d66486363d4f68ecf",
+ "s_1_1101.stats:md5,23cdceee4d82c4b8e7c60018b9276ace"
+ ],
+ [
+ "s_1_1101.bcl:md5,581e0c5ee94e8f2de14b2b1d8e777530",
+ "s_1_1101.stats:md5,9a3536d573c97f66bb56b49463612607"
+ ],
+ [
+ "s_1_1101.bcl:md5,296fc026bb34c67bbe2b44845fe0d1de",
+ "s_1_1101.stats:md5,a7f57a7770fb9c5ae2a0fb1ef403ec4f"
+ ],
+ [
+ "s_1_1101.bcl:md5,2a3ca15531556c36d10d132a9e051de8",
+ "s_1_1101.stats:md5,2d0bcdb0a1b51d3d79e415db2ab2d3b1"
+ ],
+ [
+ "s_1_1101.bcl:md5,1150d46a2ccd4ac58aee0585d3e4ffd7",
+ "s_1_1101.stats:md5,2e97550bd5b5864ffd0565bb7a3f6d40"
+ ],
+ [
+ "s_1_1101.bcl:md5,0b85c4b3da0de95e7b862d849c5333ae",
+ "s_1_1101.stats:md5,6eab9746fbeb783b0cd70398f44e0c1a"
+ ],
+ [
+ "s_1_1101.bcl:md5,e0e9c91f4698804d7a6d1058ef68b34f",
+ "s_1_1101.stats:md5,790022cdc7878a02b2ebd166e1ddf0a7"
+ ],
+ [
+ "s_1_1101.bcl:md5,38cd0ad4de359e651c8ac0d5777ea625",
+ "s_1_1101.stats:md5,a1b1d5ea5371d326abb029774483c5e6"
+ ],
+ [
+ "s_1_1101.bcl:md5,b0ddc05c4012ccba24e712a1cfec748f",
+ "s_1_1101.stats:md5,af3d232f839d720f76f40ba06caa2987"
+ ],
+ [
+ "s_1_1101.bcl:md5,af32fcc5dc3b836cf7a5ba3db85a75dd",
+ "s_1_1101.stats:md5,f93f2c09bd4e486c74a5f6e2040f7296"
+ ],
+ [
+ "s_1_1101.bcl:md5,54b7428e037ca87816107647d4a3d9db",
+ "s_1_1101.stats:md5,e5ac77a72cd7bed5e9bf03cccda0e48c"
+ ],
+ [
+ "s_1_1101.bcl:md5,fc8b4eacd493bf3d0b20bc23998dc7ff",
+ "s_1_1101.stats:md5,190315e159e2f4bc4c057ded7470dc52"
+ ],
+ [
+ "s_1_1101.bcl:md5,9484ecffda489927fce424ac6a44fa9d",
+ "s_1_1101.stats:md5,0825feeb457ecc9efcf6f8526ba32311"
+ ],
+ [
+ "s_1_1101.bcl:md5,eec59e21036e31c95ce1e847bfb0a9c4",
+ "s_1_1101.stats:md5,9acc13f63c98e5a8445e7be70d49222b"
+ ],
+ [
+ "s_1_1101.bcl:md5,a9fb24476f87cba4fba68e2b3c3f2c07",
+ "s_1_1101.stats:md5,dc0aa7db9790733291c3e6480ca2a0fc"
+ ],
+ [
+ "s_1_1101.bcl:md5,ed950b3e82c500927c2e236c9df005c6",
+ "s_1_1101.stats:md5,dccb71ec47d1f9d33a192da6d5660a45"
+ ],
+ [
+ "s_1_1101.bcl:md5,b3e992025e995ca56b5ea2820144ef47",
+ "s_1_1101.stats:md5,a6a829bf2cffb26ac5d9dc3012057699"
+ ],
+ [
+ "s_1_1101.bcl:md5,89edc726a5a4e0b4ff8ca3899ed0232b",
+ "s_1_1101.stats:md5,5b9b4fd8110577a59b82d0c419519d29"
+ ],
+ [
+ "s_1_1101.bcl:md5,4dc696149169f232c451225f563cb5cd",
+ "s_1_1101.stats:md5,d3514a71ea3adc60e2943c6b8f6e2598"
+ ],
+ [
+ "s_1_1101.bcl:md5,35b992d0318afb7c825ceaa31b0755e6",
+ "s_1_1101.stats:md5,2826093acc175c16c3795de7c4ca8f07"
+ ],
+ [
+ "s_1_1101.bcl:md5,7bc927f56a362e49c00b5d76ee048901",
+ "s_1_1101.stats:md5,e47d862b795fd6b88a31d7d482ab22f6"
+ ],
+ [
+ "s_1_1101.bcl:md5,84742233ff2a651626fe9036f27f7cb2",
+ "s_1_1101.stats:md5,b78fad11d3c50bc76b722cdc03e3028b"
+ ],
+ [
+ "s_1_1101.bcl:md5,3935341c86263a7938e8c49620ef39f8",
+ "s_1_1101.stats:md5,cc6585b2daac5354073d150874da9704"
+ ],
+ [
+ "s_1_1101.bcl:md5,3627f4fd548bf6e64aaf08fba3a342be",
+ "s_1_1101.stats:md5,120ae4831ae004ff7d16728aef36e82f"
+ ],
+ [
+ "s_1_1101.bcl:md5,07631014bc35124149fabd80ef19f933",
+ "s_1_1101.stats:md5,eadd63d91f47cc6db6b6f0a967a23927"
+ ],
+ [
+ "s_1_1101.bcl:md5,a1149c80415dc2f34d768eeb397c43fb",
+ "s_1_1101.stats:md5,ca89a9def67611a9151c6ce685b7cce1"
+ ],
+ [
+ "s_1_1101.bcl:md5,eb5f71d4741d2f40618756bc72eaf8b4",
+ "s_1_1101.stats:md5,90f48501e735e5915b843478e23d1ae2"
+ ],
+ [
+ "s_1_1101.bcl:md5,9bf270fe3f6add1a591ebc24fff10078",
+ "s_1_1101.stats:md5,a4e429671d4098034293c638aa655e16"
+ ],
+ [
+ "s_1_1101.bcl:md5,219bedcbd24bae54fe4cf05dae05282c",
+ "s_1_1101.stats:md5,dd97525b65b68207137d51fcf19132c7"
+ ],
+ [
+ "s_1_1101.bcl:md5,5163bc00a68fd57ae50cae0b76350892",
+ "s_1_1101.stats:md5,b606a5368eff1f012f3ea5d11ccdf2e0"
+ ],
+ [
+ "s_1_1101.bcl:md5,fc429195a5af59a59e0cc4c48e6c05ea",
+ "s_1_1101.stats:md5,d809aa19698053f90d639da4dcad8008"
+ ],
+ [
+ "s_1_1101.bcl:md5,383340219a1dd77076a092a64a71a7e4",
+ "s_1_1101.stats:md5,b204a5cf256378679ffc906c15cc1bae"
+ ],
+ [
+ "s_1_1101.bcl:md5,0c369540d3e24696cf1f9c55bab69315",
+ "s_1_1101.stats:md5,a2bc69a4031a22ce9621dcc623a0bf4b"
+ ],
+ [
+ "s_1_1101.bcl:md5,3127abc8016ba8eb954f8f8015dff387",
+ "s_1_1101.stats:md5,5deafff31150b7bf757f814e49a53bc2"
+ ],
+ [
+ "s_1_1101.bcl:md5,045f40c82de676bafec3d59f91376a7a",
+ "s_1_1101.stats:md5,890700edc20687c090ef52248c7884b1"
+ ],
+ [
+ "s_1_1101.bcl:md5,78af269aa2b39a1d765703f0a4739a86",
+ "s_1_1101.stats:md5,303cf457aa1543a8208544f694cbc531"
+ ],
+ [
+ "s_1_1101.bcl:md5,0ab8c781959b783b62888e9274364a46",
+ "s_1_1101.stats:md5,2605b0e8322f83aa4d0dae5da4ec7a7a"
+ ],
+ [
+ "s_1_1101.bcl:md5,d0cf823ffe352e8b3f75d589544ab617",
+ "s_1_1101.stats:md5,efa3c0e01e3db71e12fd961cb2d03739"
+ ],
+ [
+ "s_1_1101.bcl:md5,db4ca4ab7a01e03c246f9160c3758d82",
+ "s_1_1101.stats:md5,f61550d9e4a90df6b860e68f41f82f60"
+ ],
+ [
+ "s_1_1101.bcl:md5,1af39a2c7e5ff20ece91cb8160b51d17",
+ "s_1_1101.stats:md5,d0e20879afcaf6dfcd88c73f1c5c78cf"
+ ],
+ [
+ "s_1_1101.bcl:md5,4cf7123bb0fffcd79266df03aef01665",
+ "s_1_1101.stats:md5,29bff4075109a121b087116b58d7e927"
+ ],
+ [
+ "s_1_1101.bcl:md5,aa9980428cb60cd6320f4b48f4dd0d74",
+ "s_1_1101.stats:md5,6b0e20bde93133117a8d1a6df3d6f37b"
+ ],
+ [
+ "s_1_1101.bcl:md5,0f6e440374e15b9b491d52fb83a8adfe",
+ "s_1_1101.stats:md5,55cb5eb0ecdabd23dca39ab8c4607598"
+ ],
+ [
+ "s_1_1101.bcl:md5,2c645d7bdaddaa403f6e304d36df9e4b",
+ "s_1_1101.stats:md5,53acf33d21f832779b400c2447386ce4"
+ ],
+ [
+ "s_1_1101.bcl:md5,3bbf0863b423b770c879203644420206",
+ "s_1_1101.stats:md5,579bdc7293cac8c3d7407249cacf4c25"
+ ],
+ [
+ "s_1_1101.bcl:md5,6658a08409e81d29cfeb2d096b491985",
+ "s_1_1101.stats:md5,bb559ffbea46d612f9933cefa84c4c03"
+ ],
+ [
+ "s_1_1101.bcl:md5,1700d9a13d3d4f7643af2943ef838acb",
+ "s_1_1101.stats:md5,f01cb6050ebfb15da1e0399ebd791eb4"
+ ],
+ [
+ "s_1_1101.bcl:md5,1ac7aa9ffae25eb103f755f33e4a39c6",
+ "s_1_1101.stats:md5,0b9d45d7929ccf336d5e5b95373ed3c2"
+ ],
+ [
+ "s_1_1101.bcl:md5,812a97af2e983a53226e18c75190b06c",
+ "s_1_1101.stats:md5,d2410c7b0e506dab2972e77e2398de1e"
+ ],
+ [
+ "s_1_1101.bcl:md5,c981e8e4dcc434956c2b86159da268bc",
+ "s_1_1101.stats:md5,e9c826e85361ce673f1f248786c9a611"
+ ],
+ [
+ "s_1_1101.bcl:md5,88e09e99a0a4ef3357b203a41b22f77c",
+ "s_1_1101.stats:md5,ef06f2e5ad667bbd383f9ed6a05b7b42"
+ ],
+ [
+ "s_1_1101.bcl:md5,461c8b146fc8a7938be38689978ecd09",
+ "s_1_1101.stats:md5,65115693935da66f9791b27136e22fb0"
+ ],
+ [
+ "s_1_1101.bcl:md5,c7b827df5ce20e0f21916fe60860ca3f",
+ "s_1_1101.stats:md5,87be73613aeb507847f94d3cac5bb30a"
+ ],
+ [
+ "s_1_1101.bcl:md5,7c4cc3dc9c8a1b0f15917b282dfb40ce",
+ "s_1_1101.stats:md5,bdd9181fa89debbfafe7b6ea3e064065"
+ ],
+ [
+ "s_1_1101.bcl:md5,19f4debaf91e118aca8934517179ac33",
+ "s_1_1101.stats:md5,1143082719e136241d21b14a6b19b8a2"
+ ],
+ [
+ "s_1_1101.bcl:md5,38aa256ad2d697d84b0b2c0e876a3eba",
+ "s_1_1101.stats:md5,64dd82f03df23f7f437eede2671ed4fe"
+ ],
+ [
+ "s_1_1101.bcl:md5,b7929970378949571fed922c1b8cab32",
+ "s_1_1101.stats:md5,3d6d7985a41629fe196e4342d7fe36aa"
+ ],
+ [
+ "s_1_1101.bcl:md5,fb2ed0bf6e89d79624ee78754e773491",
+ "s_1_1101.stats:md5,f34940810ff255aee79953496a12716d"
+ ],
+ [
+ "s_1_1101.bcl:md5,4f8a8311f5f9c3a7629c1a973a7b280e",
+ "s_1_1101.stats:md5,4fd7cd28c09f4e152e7c2ad1ab541cd2"
+ ],
+ [
+ "s_1_1101.bcl:md5,9eb46c903d0344e25af51f88cc311d60",
+ "s_1_1101.stats:md5,df3abd5f620d9e7f99496098d9fd3f7f"
+ ],
+ [
+ "s_1_1101.bcl:md5,3ecbc17f3660e2014b58d7fe70ae62d5",
+ "s_1_1101.stats:md5,8e89a13c85a6d6ab3ccd251b66d1f165"
+ ],
+ [
+ "s_1_1101.bcl:md5,5d59cc2499a77791233a64f73fe82894",
+ "s_1_1101.stats:md5,32ec99cd400f4b80cb26e2fa8e07ece0"
+ ],
+ [
+ "s_1_1101.bcl:md5,1c052da47b9ae8554388f0fa3aade482",
+ "s_1_1101.stats:md5,d23f438772673688aa7bc92421dc6dce"
+ ],
+ [
+ "s_1_1101.bcl:md5,1a52bd4f23130c0c96bc967ccd448a2b",
+ "s_1_1101.stats:md5,9b597e3388d59ef1f61aba30ac90ea79"
+ ],
+ [
+ "s_1_1101.bcl:md5,8a1e84b79cf3f80794c20e3a0cc84688",
+ "s_1_1101.stats:md5,9561f7b6ef4b1849afc72b2bb49792bd"
+ ],
+ [
+ "s_1_1101.bcl:md5,75c00111051f3fa95d04286823cb9109",
+ "s_1_1101.stats:md5,1fe786cdf8181767deafbd60b3c76610"
+ ],
+ [
+ "s_1_1101.bcl:md5,529255d8deee0873ed5565e6d1a2ebda",
+ "s_1_1101.stats:md5,3fa7f467e97a75880f32d17b7429d316"
+ ],
+ [
+ "s_1_1101.bcl:md5,ea4d960e3d9355d2149da71b88a21df4",
+ "s_1_1101.stats:md5,2540fe65586e8e800c1ddd8cddd1e8cd"
+ ],
+ [
+ "s_1_1101.bcl:md5,0dfe1fd92a2dce2f23119aa483429744",
+ "s_1_1101.stats:md5,78257b2169fb9f0cf40966e06e847e86"
+ ],
+ [
+ "s_1_1101.bcl:md5,f692ddc9aa3ab849271d07c666d0b3b9",
+ "s_1_1101.stats:md5,aa2ec6a3e3a9c116e34fe74a21e6459e"
+ ],
+ [
+ "s_1_1101.bcl:md5,29cc4c239eae7c871c9a1adf92ebdb98",
+ "s_1_1101.stats:md5,263184813090acd740a5bf25304aed3a"
+ ],
+ [
+ "s_1_1101.bcl:md5,e005af6a84925e326afbfe264241f047",
+ "s_1_1101.stats:md5,b6fb20868eebaffcc19daa694a449795"
+ ],
+ [
+ "s_1_1101.bcl:md5,02f1a699b1ba9967accccf99a7af3d24",
+ "s_1_1101.stats:md5,4f007efacecaf26dc0e0231aede28754"
+ ],
+ [
+ "s_1_1101.bcl:md5,df308c72a2dcc655cd95e98f5457187a",
+ "s_1_1101.stats:md5,130c4b07f4c14030bab012824cbe34da"
+ ],
+ [
+ "s_1_1101.bcl:md5,f3ce10d8d2406b72355023bfa8c96822",
+ "s_1_1101.stats:md5,2638f4db393ed5b699ec2ce59ff0ec19"
+ ],
+ [
+ "s_1_1101.bcl:md5,cc2f6d675ad1593ff96f734b172d249e",
+ "s_1_1101.stats:md5,f5b13f1e1ababc9e1a7a73b0b993cbf1"
+ ],
+ [
+ "s_1_1101.bcl:md5,7938a0b21448305a951b023b1845b3a7",
+ "s_1_1101.stats:md5,fcd57511adabfc3ba1ac045165330006"
+ ],
+ [
+ "s_1_1101.bcl:md5,44879bc6a38df1fee8def61868115041",
+ "s_1_1101.stats:md5,517e20e4b58a8023a37f9af62e0e2036"
+ ],
+ [
+ "s_1_1101.bcl:md5,8749611e62406a7d2f34c610a55e56af",
+ "s_1_1101.stats:md5,8ccf24b3676ef84f2e513be8f2a9f3d1"
+ ],
+ [
+ "s_1_1101.bcl:md5,a9846a037611cda3721958088f714c0e",
+ "s_1_1101.stats:md5,6438fa5a1892f328cab1605a95d80a3b"
+ ],
+ [
+ "s_1_1101.bcl:md5,d6c4a2a726496476eb826532f974ed5f",
+ "s_1_1101.stats:md5,8c2c65b5e8b00dbf61ada65252aeb266"
+ ],
+ [
+ "s_1_1101.bcl:md5,be3dde6cae7dd85855a6bf295ebfacfe",
+ "s_1_1101.stats:md5,93bc13f3b0749b2b8d8bcb0b1199f4f0"
+ ],
+ [
+ "s_1_1101.bcl:md5,7c64514735a6cf1565b60647edd17d20",
+ "s_1_1101.stats:md5,4a0aa6c49b24f876415e5878cef7f805"
+ ],
+ [
+ "s_1_1101.bcl:md5,3983b4043bc9df4b505202a5134ccf03",
+ "s_1_1101.stats:md5,1c9d9a8558adc1279ca27c96bc1b9758"
+ ],
+ [
+ "s_1_1101.bcl:md5,a0b8d77f116ec95975f9253dcb768136",
+ "s_1_1101.stats:md5,c3992b786756e7ec42f65ef4b13b50d4"
+ ],
+ [
+ "s_1_1101.bcl:md5,43c95ba35d06bb7c57fbd16f3d1cfd6c",
+ "s_1_1101.stats:md5,3cb69d04698c39f97f962e5bf1eea7f0"
+ ],
+ [
+ "s_1_1101.bcl:md5,3dbeea0cad7052f19f53ff6f19dd4d90",
+ "s_1_1101.stats:md5,58bbc8254f0f5f4a244531e8e9c12a04"
+ ],
+ [
+ "s_1_1101.bcl:md5,da56d088996376c898d855b6cd0a7dfc",
+ "s_1_1101.stats:md5,9f2d78af6908ce1576b89cdc059844ff"
+ ],
+ [
+ "s_1_1101.bcl:md5,7b641a5565f095e9a6ffcad9e4305033",
+ "s_1_1101.stats:md5,3ada06c59b4fb41b83ab6abd0979e9fc"
+ ],
+ [
+ "s_1_1101.bcl:md5,a3843d397a01d51657825bb652c191e5",
+ "s_1_1101.stats:md5,19341e52a4bfc7d9d48e9d2acc68c519"
+ ],
+ [
+ "s_1_1101.bcl:md5,048e3ebfc8efeb8012def6b741c9060d",
+ "s_1_1101.stats:md5,88bd38deca1e87d700effab1fd099565"
+ ],
+ [
+ "s_1_1101.bcl:md5,b340db0e07e829dd5da22371916a1a9e",
+ "s_1_1101.stats:md5,e44cfaddcc4ffb968e5b1a2f41ac48a5"
+ ],
+ [
+ "s_1_1101.bcl:md5,e6011ec6eabbc2b8792deb283c621ce0",
+ "s_1_1101.stats:md5,090875dcd1a431af24bc631333f089c4"
+ ],
+ [
+ "s_1_1101.bcl:md5,a08f216e3352345031ed100ec4245082",
+ "s_1_1101.stats:md5,97b949ef4b96219e1369f673cf5f8a6c"
+ ],
+ [
+ "s_1_1101.bcl:md5,b43337c76fb037dfcf5f8f7bcb3618e5",
+ "s_1_1101.stats:md5,ddef585805e79951f69d23ab7354f69b"
+ ],
+ [
+ "s_1_1101.bcl:md5,8c61fd004104397b360855e058bbf1bf",
+ "s_1_1101.stats:md5,0f8d253816d594dcfea3ccf48c826401"
+ ],
+ [
+ "s_1_1101.bcl:md5,594d06310d328b188aa0b3edfff22cb2",
+ "s_1_1101.stats:md5,3160bf271b39aeb7590e4fd2984710ba"
+ ],
+ [
+ "s_1_1101.bcl:md5,4c9eada67c9d55437211d83e111961d5",
+ "s_1_1101.stats:md5,2901b46ab16ec4863d30e4c84ec29c97"
+ ],
+ [
+ "s_1_1101.bcl:md5,e03971ae5282f0accc0c1b7374d9ef1b",
+ "s_1_1101.stats:md5,60d2a19ce59bf70a21a28555484cead8"
+ ],
+ [
+ "s_1_1101.bcl:md5,e1c6f7a06e63d149895d3e48e63df155",
+ "s_1_1101.stats:md5,44beb10af847ea3dddaf06dda7031126"
+ ],
+ [
+ "s_1_1101.bcl:md5,960a99bf29a8f9d936e9b8582d46c9c6",
+ "s_1_1101.stats:md5,544cd1a7aaaa841914b40ece43399334"
+ ],
+ [
+ "s_1_1101.bcl:md5,5706679f349fd4a6b6313bc2c41c7a42",
+ "s_1_1101.stats:md5,627eea844b26dae033848c2f9f69177b"
+ ],
+ [
+ "s_1_1101.bcl:md5,21da5abc4b0402bbac14b5ab998b0b4f",
+ "s_1_1101.stats:md5,515bd140b095ad90473ca7a9a69877ab"
+ ],
+ "s_1_1101.control:md5,08a72e2198ae95150718e8adf011d105",
+ "s_1_1101.filter:md5,3a72bc73b323c8cb0ac5bfeb62d98989"
+ ]
+ ],
+ [
+ "s_1_1101.locs:md5,0827ea802e5257cc5b20e757a33d4c98"
+ ],
+ "RTAConfiguration.xml:md5,c7d6e257bc374f142dc64b9d2281d4c9",
+ "config.xml:md5,9a4cc7ec01fefa2f1ce9bcb45bbad6e9"
+ ]
+ ],
+ [
+ "ControlMetricsOut.bin:md5,6d77b38d0793a6e1ce1e85706e488953",
+ "CorrectedIntMetricsOut.bin:md5,2bbf84d3be72734addaa2fe794711434",
+ "ErrorMetricsOut.bin:md5,38c88def138e9bb832539911affdb286",
+ "ExtractionMetricsOut.bin:md5,7497c3178837eea8f09350b5cd252e99",
+ "IndexMetricsOut.bin:md5,d41d8cd98f00b204e9800998ecf8427e",
+ "QMetricsOut.bin:md5,7e9f198d53ebdfbb699a5f94cf1ed51c",
+ "TileMetricsOut.bin:md5,83891751ec1c91a425a524b476b6ca3c"
+ ],
+ "RunInfo.xml:md5,03038959f4dd181c86bc97ae71fe270a"
+ ]
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-18T11:56:39.562418"
+ },
+ "test_untar_onlyfiles": {
+ "content": [
+ [
+ [
+ [
+
+ ],
+ [
+ "hello.txt:md5,e59ff97941044f85df5297e1c302d260"
+ ]
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-18T11:56:46.878844"
+ },
+ "test_untar": {
+ "content": [
+ [
+ [
+ [
+
+ ],
+ [
+ "hash.k2d:md5,8b8598468f54a7087c203ad0190555d9",
+ "opts.k2d:md5,a033d00cf6759407010b21700938f543",
+ "taxo.k2d:md5,094d5891cdccf2f1468088855c214b2c"
+ ]
+ ]
+ ]
+ ],
+ "timestamp": "2023-10-18T11:56:08.16574"
+ }
+}
\ No newline at end of file
diff --git a/modules/nf-core/untar/tests/tags.yml b/modules/nf-core/untar/tests/tags.yml
new file mode 100644
index 00000000..feb6f15c
--- /dev/null
+++ b/modules/nf-core/untar/tests/tags.yml
@@ -0,0 +1,2 @@
+untar:
+ - modules/nf-core/untar/**
diff --git a/tests/pipeline/bases2fastq.nf.test.snap b/tests/pipeline/bases2fastq.nf.test.snap
index 99f0953c..08f262a8 100644
--- a/tests/pipeline/bases2fastq.nf.test.snap
+++ b/tests/pipeline/bases2fastq.nf.test.snap
@@ -1,9 +1,9 @@
{
"software_versions": {
"content": [
- "{BASES2FASTQ={bases2fastq=1.1.0.593880262, use subject to license available at elementbiosciences.com}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BASES2FASTQ={bases2fastq=1.1.0.593880262, use subject to license available at elementbiosciences.com}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-17T07:59:51+0000"
+ "timestamp": "2023-12-11T16:57:34.674489"
},
"bases2fastq": {
"content": [
diff --git a/tests/pipeline/bcl2fastq.nf.test.snap b/tests/pipeline/bcl2fastq.nf.test.snap
index 78247b89..e6d68979 100644
--- a/tests/pipeline/bcl2fastq.nf.test.snap
+++ b/tests/pipeline/bcl2fastq.nf.test.snap
@@ -1,9 +1,9 @@
{
"software_versions": {
"content": [
- "{BCL2FASTQ={bcl2fastq=2.20.0.422}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCL2FASTQ={bcl2fastq=2.20.0.422}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-17T07:58:06+0000"
+ "timestamp": "2023-12-11T16:55:21.645426"
},
"bcl2fastq": {
"content": [
@@ -64,10 +64,10 @@
},
"multiqc": {
"content": [
- "multiqc_bcl2fastq_bylane.txt:md5,3c90d50fec9eb01e32c0f9d7e8295d85",
- "multiqc_fastp.txt:md5,76b067a76f4f58759526ca2aa4d6679d",
+ "multiqc_bcl2fastq_bylane.txt:md5,1425b49f727306a50a8792e7c779a52d",
+ "multiqc_fastp.txt:md5,d65cc0ccd033e949132c2e46b1f81717",
"multiqc_bcl2fastq_bysample.txt:md5,1865f27f430d153085b26c86320718fe"
],
- "timestamp": "2023-12-11T16:24:41.682929"
+ "timestamp": "2023-12-11T16:55:21.680453"
}
}
\ No newline at end of file
diff --git a/tests/pipeline/bclconvert.nf.test.snap b/tests/pipeline/bclconvert.nf.test.snap
index 8a1ae8b4..5fdda8b7 100644
--- a/tests/pipeline/bclconvert.nf.test.snap
+++ b/tests/pipeline/bclconvert.nf.test.snap
@@ -24,16 +24,16 @@
},
"software_versions": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:33:16.074351"
+ "timestamp": "2023-12-11T16:56:35.649441"
},
"multiqc": {
"content": [
- "multiqc_bclconvert_bylane.txt:md5,8ef9efabf1d2f9de8221e651d0b10e2f",
- "multiqc_fastp.txt:md5,76b067a76f4f58759526ca2aa4d6679d",
- "multiqc_bclconvert_bysample.txt:md5,b68dcbf3fdb26e6eb483995eb114cdd8"
+ "multiqc_bclconvert_bylane.txt:md5,9d7173439fd77fdec5936bddd686749f",
+ "multiqc_fastp.txt:md5,d65cc0ccd033e949132c2e46b1f81717",
+ "multiqc_bclconvert_bysample.txt:md5,37bf84cfc38af8e044ce92ce47211ebe"
],
- "timestamp": "2023-10-17T07:59:12+0000"
+ "timestamp": "2023-12-11T16:56:35.661017"
}
}
\ No newline at end of file
diff --git a/tests/pipeline/fqtk.nf.test.snap b/tests/pipeline/fqtk.nf.test.snap
index 868fae29..a483e0c8 100644
--- a/tests/pipeline/fqtk.nf.test.snap
+++ b/tests/pipeline/fqtk.nf.test.snap
@@ -7,8 +7,8 @@
},
"software_versions": {
"content": [
- "{CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, FQTK={fqtk=0.2.1}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, FQTK={fqtk=0.2.1}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-17T08:06:53+0000"
+ "timestamp": "2023-12-11T17:05:36.315291"
}
}
\ No newline at end of file
diff --git a/tests/pipeline/sgdemux.nf.test.snap b/tests/pipeline/sgdemux.nf.test.snap
index ea3b3b4c..0a68ffc5 100644
--- a/tests/pipeline/sgdemux.nf.test.snap
+++ b/tests/pipeline/sgdemux.nf.test.snap
@@ -1,9 +1,9 @@
{
"software_versions": {
"content": [
- "{CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, SGDEMUX={sgdemux=1.1.1}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, SGDEMUX={sgdemux=1.1.1}, UNTAR={untar=1.30}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-17T08:01:14+0000"
+ "timestamp": "2023-12-11T16:59:13.85618"
},
"sgdemux": {
"content": [
diff --git a/tests/pipeline/skip_tools.nf.test.snap b/tests/pipeline/skip_tools.nf.test.snap
index feab5952..00b82028 100644
--- a/tests/pipeline/skip_tools.nf.test.snap
+++ b/tests/pipeline/skip_tools.nf.test.snap
@@ -1,9 +1,9 @@
{
"software_versions_skip_trimming": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:40:12.308416"
+ "timestamp": "2023-12-11T17:00:30.102965"
},
"skip_fastqc": {
"content": [
@@ -95,27 +95,27 @@
},
"software_versions_skip_fastqc": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:41:58.993732"
+ "timestamp": "2023-12-11T17:02:16.631766"
},
"software_versions_skip_fastp_fastqc": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:42:33.138684"
+ "timestamp": "2023-12-11T17:02:44.134341"
},
"software_versions_skip_multiqc": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, FASTP={fastp=0.23.4}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:43:35.278888"
+ "timestamp": "2023-12-11T17:03:50.096961"
},
"software_versions_skip_fastp": {
"content": [
- "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.11.4, yaml=6.0}, FALCO={falco=1.2.1}, Workflow={nf-core/demultiplex=1.4.0dev}}"
+ "{BCLCONVERT={bclconvert=00.000.000.4.2.4}, CUSTOM_DUMPSOFTWAREVERSIONS={python=3.12.0, yaml=6.0.1}, FALCO={falco=1.2.1}, Workflow={nf-core/demultiplex=1.4.0dev}}"
],
- "timestamp": "2023-10-31T12:40:44.187338"
+ "timestamp": "2023-12-11T17:00:57.483981"
},
"skip_trimming": {
"content": [
|