diff --git a/modules/nf-core/hmmer/hmmalign/main.nf b/modules/nf-core/hmmer/hmmalign/main.nf index d51a94f80290..2bfb17d19c0d 100644 --- a/modules/nf-core/hmmer/hmmalign/main.nf +++ b/modules/nf-core/hmmer/hmmalign/main.nf @@ -4,8 +4,8 @@ process HMMER_HMMALIGN { conda "${moduleDir}/environment.yml" container "${ workflow.containerEngine in ['singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container ? - 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/07/07c4cbd91c4459dc86b13b5cd799cacba96b27d66c276485550d299c7a4c6f8a/data' : - 'community.wave.seqera.io/library/hmmer:3.4--cb5d2dd2e85974ca' }" + 'https://depot.galaxyproject.org/singularity/hmmer:3.4--hb6cb901_4' : + 'quay.io/biocontainers/hmmer:3.4--hb6cb901_4' }" input: tuple val(meta), path(fasta) @@ -13,7 +13,7 @@ process HMMER_HMMALIGN { output: tuple val(meta), path("*.sto.gz"), emit: sto - path "versions.yml" , emit: versions + tuple val("${task.process}"), val('hmmer'), eval("hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//'"), emit: versions_hmmer, topic: versions when: task.ext.when == null || task.ext.when @@ -26,21 +26,11 @@ process HMMER_HMMALIGN { $args \\ $hmm \\ $fasta | gzip -c > ${prefix}.sto.gz - - cat <<-END_VERSIONS > versions.yml - "${task.process}": - hmmer: \$(hmmalign -h | grep -o '^# HMMER [0-9.]*' | sed 's/^# HMMER *//') - END_VERSIONS """ stub: def prefix = task.ext.prefix ?: "${meta.id}" """ - echo | gzip > ${prefix}.sto.gz - - cat <<-END_VERSIONS > versions.yml - "${task.process}": - hmmer: \$(hmmalign -h | grep -o '^# HMMER [0-9.]*' | sed 's/^# HMMER *//') - END_VERSIONS + echo "" | gzip > ${prefix}.sto.gz """ } diff --git a/modules/nf-core/hmmer/hmmalign/meta.yml b/modules/nf-core/hmmer/hmmalign/meta.yml index c5d7b2cc7f78..ecaa5b12c27a 100644 --- a/modules/nf-core/hmmer/hmmalign/meta.yml +++ b/modules/nf-core/hmmer/hmmalign/meta.yml @@ -45,13 +45,28 @@ output: pattern: "*.sto.gz" ontologies: - edam: http://edamontology.org/format_3989 # GZIP format + versions_hmmer: + - - ${task.process}: + type: string + description: The name of the process + - hmmer: + type: string + description: The name of the tool + - hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//': + type: eval + description: The expression to obtain the version of the tool +topics: versions: - - versions.yml: - type: file - description: File containing software versions - pattern: "versions.yml" - ontologies: - - edam: http://edamontology.org/format_3750 # YAML + - - ${task.process}: + type: string + description: The name of the process + - hmmer: + type: string + description: The name of the tool + - hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//': + type: eval + description: The expression to obtain the version of the tool + authors: - "@erikrikarddaniel" - "@jfy133" diff --git a/modules/nf-core/hmmer/hmmalign/tests/main.nf.test b/modules/nf-core/hmmer/hmmalign/tests/main.nf.test index 7b0368fc630d..59f2d8709641 100644 --- a/modules/nf-core/hmmer/hmmalign/tests/main.nf.test +++ b/modules/nf-core/hmmer/hmmalign/tests/main.nf.test @@ -27,7 +27,7 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(sanitizeOutput(process.out)).match() } ) } } @@ -50,7 +50,7 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(sanitizeOutput(process.out)).match() } ) } } diff --git a/modules/nf-core/hmmer/hmmalign/tests/main.nf.test.snap b/modules/nf-core/hmmer/hmmalign/tests/main.nf.test.snap index ae65cacb18b2..d06dd208c137 100644 --- a/modules/nf-core/hmmer/hmmalign/tests/main.nf.test.snap +++ b/modules/nf-core/hmmer/hmmalign/tests/main.nf.test.snap @@ -2,7 +2,7 @@ "test-hmmer-hmmalign": { "content": [ { - "0": [ + "sto": [ [ { "id": "test" @@ -10,32 +10,25 @@ "test.sto.gz:md5,4ae989d5ade2aaae9578cb88ba031e8f" ] ], - "1": [ - "versions.yml:md5,601e13e7a1e6057766d862a828d501c4" - ], - "sto": [ + "versions_hmmer": [ [ - { - "id": "test" - }, - "test.sto.gz:md5,4ae989d5ade2aaae9578cb88ba031e8f" + "HMMER_HMMALIGN", + "hmmer", + "3.4" ] - ], - "versions": [ - "versions.yml:md5,601e13e7a1e6057766d862a828d501c4" ] } ], + "timestamp": "2026-05-01T15:54:13.981909183", "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - }, - "timestamp": "2024-11-13T12:37:26.551497424" + "nf-test": "0.9.5", + "nextflow": "26.04.0" + } }, "test-hmmer-hmmalign-stub": { "content": [ { - "0": [ + "sto": [ [ { "id": "test" @@ -43,26 +36,19 @@ "test.sto.gz:md5,68b329da9893e34099c7d8ad5cb9c940" ] ], - "1": [ - "versions.yml:md5,601e13e7a1e6057766d862a828d501c4" - ], - "sto": [ + "versions_hmmer": [ [ - { - "id": "test" - }, - "test.sto.gz:md5,68b329da9893e34099c7d8ad5cb9c940" + "HMMER_HMMALIGN", + "hmmer", + "3.4" ] - ], - "versions": [ - "versions.yml:md5,601e13e7a1e6057766d862a828d501c4" ] } ], + "timestamp": "2026-05-01T15:54:21.354318795", "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - }, - "timestamp": "2024-11-13T12:37:32.244343836" + "nf-test": "0.9.5", + "nextflow": "26.04.0" + } } } \ No newline at end of file diff --git a/modules/nf-core/hmmer/hmmbuild/main.nf b/modules/nf-core/hmmer/hmmbuild/main.nf index 7a61bd0440fd..5227756269a9 100644 --- a/modules/nf-core/hmmer/hmmbuild/main.nf +++ b/modules/nf-core/hmmer/hmmbuild/main.nf @@ -4,8 +4,8 @@ process HMMER_HMMBUILD { conda "${moduleDir}/environment.yml" container "${ workflow.containerEngine in ['singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container ? - 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/07/07c4cbd91c4459dc86b13b5cd799cacba96b27d66c276485550d299c7a4c6f8a/data' : - 'community.wave.seqera.io/library/hmmer:3.4--cb5d2dd2e85974ca' }" + 'https://depot.galaxyproject.org/singularity/hmmer:3.4--hb6cb901_4' : + 'quay.io/biocontainers/hmmer:3.4--hb6cb901_4' }" input: tuple val(meta), path(alignment) @@ -14,7 +14,7 @@ process HMMER_HMMBUILD { output: tuple val(meta), path("*.hmm.gz"), emit: hmm path "*.hmmbuild.txt", emit: hmmbuildout - path "versions.yml", emit: versions + tuple val("${task.process}"), val('hmmer'), eval("hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//'"), emit: versions_hmmer, topic: versions when: task.ext.when == null || task.ext.when @@ -35,22 +35,12 @@ process HMMER_HMMBUILD { $alignment gzip ${prefix}.hmm - - cat <<-END_VERSIONS > versions.yml - "${task.process}": - hmmer: \$(echo \$(hmmbuild -h | grep HMMER | sed 's/# HMMER //' | sed 's/ .*//' 2>&1)) - END_VERSIONS """ stub: def prefix = task.ext.prefix ?: "${meta.id}" """ - echo | gzip > ${prefix}.hmm.gz + echo "" | gzip > ${prefix}.hmm.gz touch ${prefix}.hmmbuild.txt - - cat <<-END_VERSIONS > versions.yml - "${task.process}": - hmmer: \$(echo \$(hmmbuild -h | grep HMMER | sed 's/# HMMER //' | sed 's/ .*//' 2>&1)) - END_VERSIONS """ } diff --git a/modules/nf-core/hmmer/hmmbuild/meta.yml b/modules/nf-core/hmmer/hmmbuild/meta.yml index db474a394c45..48639997e45f 100644 --- a/modules/nf-core/hmmer/hmmbuild/meta.yml +++ b/modules/nf-core/hmmer/hmmbuild/meta.yml @@ -36,10 +36,10 @@ input: output: hmm: - - meta: - type: file - description: Gzipped HMM file - pattern: "*.{hmm.gz}" - ontologies: [] + type: map + description: | + Groovy Map containing sample information + e.g. [ id:'test', single_end:false ] - "*.hmm.gz": type: file description: Gzipped HMM file @@ -50,13 +50,28 @@ output: type: file description: HMM build output ontologies: [] + versions_hmmer: + - - ${task.process}: + type: string + description: The name of the process + - hmmer: + type: string + description: The name of the tool + - hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//': + type: eval + description: The expression to obtain the version of the tool +topics: versions: - - versions.yml: - type: file - description: File containing software versions - pattern: "versions.yml" - ontologies: - - edam: http://edamontology.org/format_3750 # YAML + - - ${task.process}: + type: string + description: The name of the process + - hmmer: + type: string + description: The name of the tool + - hmmsearch -h | sed '2!d;s/^# HMMER *//;s/ .*//': + type: eval + description: The expression to obtain the version of the tool + authors: - "@erikrikarddaniel" maintainers: diff --git a/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test b/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test index 635f5b661f15..9367870639a7 100644 --- a/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test +++ b/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test @@ -19,7 +19,7 @@ nextflow_process { [ id: 'PF14720' ], // meta map file(params.modules_testdata_base_path + 'delete_me/hmmer/PF14720_seed.alnfaa.gz', checkIfExists: true) ] - input[1] = [] + input[1] = [] """ } @@ -29,12 +29,7 @@ nextflow_process { assertAll( { assert process.success }, { assert file(process.out.hmmbuildout[0]).text.contains('CPU time:') }, - { assert snapshot( - file(process.out.hmm[0][1]).name, // unstable - file(process.out.hmmbuildout[0]).name, // unstable - process.out.versions - ).match() - } + { assert snapshot(sanitizeOutput(process.out, unstableKeys: ["hmm", "hmmbuildout"])).match() } ) } } @@ -49,7 +44,7 @@ nextflow_process { [ id: 'PF14720' ], // meta map file(params.modules_testdata_base_path + 'delete_me/hmmer/PF14720_seed.alnfaa.gz', checkIfExists: true) ] - input[1] = [] + input[1] = [] """ } @@ -58,7 +53,7 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(sanitizeOutput(process.out)).match() } ) } } diff --git a/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test.snap b/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test.snap index 79317b89ebd1..e91af9e4fb65 100644 --- a/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test.snap +++ b/modules/nf-core/hmmer/hmmbuild/tests/main.nf.test.snap @@ -2,7 +2,7 @@ "test-hmmer-hmmbuild-stub": { "content": [ { - "0": [ + "hmm": [ [ { "id": "PF14720" @@ -10,46 +10,51 @@ "PF14720.hmm.gz:md5,68b329da9893e34099c7d8ad5cb9c940" ] ], - "1": [ + "hmmbuildout": [ "PF14720.hmmbuild.txt:md5,d41d8cd98f00b204e9800998ecf8427e" ], - "2": [ - "versions.yml:md5,f8a0bffcbbc58404752849403812905b" - ], + "versions_hmmer": [ + [ + "HMMER_HMMBUILD", + "hmmer", + "3.4" + ] + ] + } + ], + "timestamp": "2026-05-01T16:02:22.362282382", + "meta": { + "nf-test": "0.9.5", + "nextflow": "26.04.0" + } + }, + "test-hmmer-hmmbuild": { + "content": [ + { "hmm": [ [ { "id": "PF14720" }, - "PF14720.hmm.gz:md5,68b329da9893e34099c7d8ad5cb9c940" + "PF14720.hmm.gz" ] ], "hmmbuildout": [ - "PF14720.hmmbuild.txt:md5,d41d8cd98f00b204e9800998ecf8427e" + "PF14720.hmmbuild.txt" ], - "versions": [ - "versions.yml:md5,f8a0bffcbbc58404752849403812905b" + "versions_hmmer": [ + [ + "HMMER_HMMBUILD", + "hmmer", + "3.4" + ] ] } ], + "timestamp": "2026-05-01T16:02:17.152231892", "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - }, - "timestamp": "2024-11-13T12:52:29.794123574" - }, - "test-hmmer-hmmbuild": { - "content": [ - "PF14720.hmm.gz", - "PF14720.hmmbuild.txt", - [ - "versions.yml:md5,f8a0bffcbbc58404752849403812905b" - ] - ], - "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - }, - "timestamp": "2024-11-13T12:52:23.95935055" + "nf-test": "0.9.5", + "nextflow": "26.04.0" + } } } \ No newline at end of file diff --git a/modules/nf-core/hmmer/hmmsearch/main.nf b/modules/nf-core/hmmer/hmmsearch/main.nf index 1ac7640a7778..0c426b9ee3ea 100644 --- a/modules/nf-core/hmmer/hmmsearch/main.nf +++ b/modules/nf-core/hmmer/hmmsearch/main.nf @@ -4,8 +4,8 @@ process HMMER_HMMSEARCH { conda "${moduleDir}/environment.yml" container "${ workflow.containerEngine in ['singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container ? - 'https://depot.galaxyproject.org/singularity/hmmer:3.4--hdbdd923_1' : - 'quay.io/biocontainers/hmmer:3.4--hdbdd923_1' }" + 'https://depot.galaxyproject.org/singularity/hmmer:3.4--hb6cb901_4' : + 'quay.io/biocontainers/hmmer:3.4--hb6cb901_4' }" input: tuple val(meta), path(hmmfile), path(seqdb), val(write_align), val(write_target), val(write_domain) diff --git a/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test b/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test index 14d0a7eae1d7..536b608bd2e8 100644 --- a/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test +++ b/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test @@ -30,7 +30,10 @@ nextflow_process { assertAll( { assert process.success }, { assert path(process.out.output[0][1]).linesGzip.toString().contains('[ok]') }, - { assert snapshot(process.out.findAll { key, val -> key.startsWith("versions")}).match() } + { assert snapshot( + path(process.out.output[0][1]).linesGzip.size(), + process.out.findAll { key, val -> key.startsWith("versions") } + ).match() } ) } @@ -59,8 +62,11 @@ nextflow_process { { assert path(process.out.output.get(0).get(1)).linesGzip.toString().contains('[ok]') }, { assert path(process.out.target_summary.get(0).get(1)).linesGzip.toString().contains('[ok]') }, { assert snapshot( - process.out.alignments + - process.out.findAll { key, val -> key.startsWith("versions")} + process.out.alignments, + path(process.out.output[0][1]).linesGzip.size(), + path(process.out.target_summary[0][1]).linesGzip.size(), + path(process.out.domain_summary[0][1]).linesGzip.size(), + process.out.findAll { key, val -> key.startsWith("versions") } ).match() } ) } @@ -89,7 +95,7 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(sanitizeOutput(process.out)).match() } ) } @@ -117,7 +123,7 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(sanitizeOutput(process.out)).match() } ) } diff --git a/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test.snap b/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test.snap index a789c38efaf4..342ad3320925 100644 --- a/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test.snap +++ b/modules/nf-core/hmmer/hmmsearch/tests/main.nf.test.snap @@ -1,6 +1,7 @@ { "hmmer/hmmsearch": { "content": [ + 177, { "versions_hmmer": [ [ @@ -11,40 +12,15 @@ ] } ], - "timestamp": "2026-05-07T12:11:28.12628", + "timestamp": "2026-05-01T15:56:26.918790578", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } }, "hmmer/hmmsearch - stub": { "content": [ { - "0": [ - [ - { - "id": "test", - "single_end": false - }, - "test.txt.gz:md5,d41d8cd98f00b204e9800998ecf8427e" - ] - ], - "1": [ - - ], - "2": [ - - ], - "3": [ - - ], - "4": [ - [ - "HMMER_HMMSEARCH", - "hmmer", - "3.4" - ] - ], "alignments": [ ], @@ -72,58 +48,15 @@ ] } ], - "timestamp": "2026-05-07T12:11:36.304424", + "timestamp": "2026-05-01T15:56:38.131715175", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } }, "hmmer/hmmsearch - optional - stub": { "content": [ { - "0": [ - [ - { - "id": "test", - "single_end": false - }, - "test.txt.gz:md5,d41d8cd98f00b204e9800998ecf8427e" - ] - ], - "1": [ - [ - { - "id": "test", - "single_end": false - }, - "test.sto.gz:md5,d41d8cd98f00b204e9800998ecf8427e" - ] - ], - "2": [ - [ - { - "id": "test", - "single_end": false - }, - "test.tbl.gz:md5,d41d8cd98f00b204e9800998ecf8427e" - ] - ], - "3": [ - [ - { - "id": "test", - "single_end": false - }, - "test.domtbl.gz:md5,d41d8cd98f00b204e9800998ecf8427e" - ] - ], - "4": [ - [ - "HMMER_HMMSEARCH", - "hmmer", - "3.4" - ] - ], "alignments": [ [ { @@ -169,10 +102,10 @@ ] } ], - "timestamp": "2026-05-07T12:11:40.288705", + "timestamp": "2026-05-01T15:56:43.971890326", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } }, "hmmer/hmmsearch - optional": { @@ -184,22 +117,25 @@ "single_end": false }, "test.sto.gz:md5,5c44c289b9e36aa1f7f3afae2005fbb7" - ], - { - "versions_hmmer": [ - [ - "HMMER_HMMSEARCH", - "hmmer", - "3.4" - ] + ] + ], + 181, + 14, + 14, + { + "versions_hmmer": [ + [ + "HMMER_HMMSEARCH", + "hmmer", + "3.4" ] - } - ] + ] + } ], - "timestamp": "2026-05-07T12:11:32.272907", + "timestamp": "2026-05-01T15:56:32.258208367", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } } } \ No newline at end of file diff --git a/subworkflows/nf-core/fasta_hmmsearch_rank_fastas/tests/main.nf.test.snap b/subworkflows/nf-core/fasta_hmmsearch_rank_fastas/tests/main.nf.test.snap index 619fe480cd4c..6020e49e55d4 100644 --- a/subworkflows/nf-core/fasta_hmmsearch_rank_fastas/tests/main.nf.test.snap +++ b/subworkflows/nf-core/fasta_hmmsearch_rank_fastas/tests/main.nf.test.snap @@ -32,10 +32,10 @@ ] } ], - "timestamp": "2026-05-07T11:57:15.396998", + "timestamp": "2026-05-02T09:19:34.182240068", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } }, "16s_out": { @@ -105,10 +105,10 @@ ] } ], - "timestamp": "2026-05-07T11:57:08.203643", + "timestamp": "2026-05-02T09:19:27.347377293", "meta": { "nf-test": "0.9.5", - "nextflow": "25.10.4" + "nextflow": "26.04.0" } } } \ No newline at end of file diff --git a/subworkflows/nf-core/fasta_newick_epang_gappa/main.nf b/subworkflows/nf-core/fasta_newick_epang_gappa/main.nf index 67080d66e312..9ce260d65751 100644 --- a/subworkflows/nf-core/fasta_newick_epang_gappa/main.nf +++ b/subworkflows/nf-core/fasta_newick_epang_gappa/main.nf @@ -44,8 +44,6 @@ workflow FASTA_NEWICK_EPANG_GAPPA { .map { it -> [ it.meta, it.data.hmmfile ] } ) - ch_versions = ch_versions.mix(HMMER_HMMBUILD.out.versions.first()) - // 1.b For entries that do not specify an hmm file, "unalign" the reference sequences before they can be aligned to the hmm. HMMER_UNALIGNREF ( ch_hmmer_data @@ -72,7 +70,6 @@ workflow FASTA_NEWICK_EPANG_GAPPA { ch_hmmer_alignref.map { it -> [ it[0], it[1][0] ] }, ch_hmmer_alignref.map { it -> it[1][1] } ) - ch_versions = ch_versions.mix(HMMER_HMMALIGNREF.out.versions) ch_hmmer_alignquery = channel.empty() .mix(ch_hmmer_data.map { it -> [ it.meta, it.data.queryseqfile ] }) @@ -83,7 +80,6 @@ workflow FASTA_NEWICK_EPANG_GAPPA { ch_hmmer_alignquery.map { it -> [ it[0], it[1][0] ] }, ch_hmmer_alignquery.map { it -> it[1][1] } ) - ch_versions = ch_versions.mix(HMMER_HMMALIGNQUERY.out.versions) // 1.d Mask the alignments (Add '--rf-is-mask' ext.args in config for the process.) HMMER_MASKREF ( HMMER_HMMALIGNREF.out.sto.map { it -> [ it[0], it[1], [], [], [], [], [], [] ] }, [] ) diff --git a/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test b/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test index ef7b52463b0e..fe45c2f815f2 100644 --- a/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test +++ b/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test @@ -57,8 +57,6 @@ nextflow_workflow { { assert snapshot(workflow.out.grafted_phylogeny.get(0).get(1)).md5().match("hmmer.graft.placement.epa_result.newick_lines") }, { assert snapshot(file(workflow.out.taxonomy_profile.get(0).get(1)).name).match("hmmer.taxonomy.profile.tsv") }, { assert snapshot(file(workflow.out.taxonomy_per_query.get(0).get(1)).name).match("hmmer.taxonomy.per_query.tsv") }, - { assert snapshot(file(workflow.out.versions.get(0)).name).match("hmmer.versions.yml") }, - { assert snapshot(workflow.out.versions.get(0)).md5().match("hmmer.versions.yml_lines") }, ) } } @@ -162,8 +160,6 @@ nextflow_workflow { { assert workflow.success }, { assert snapshot(file(workflow.out.jplace.get(0).get(1)).name).match("nucl_hmmer.epa_result.jplace.gz") }, { assert snapshot(file(workflow.out.grafted_phylogeny.get(0).get(1)).name).match("nucl_hmmer.graft.placement.epa_result.newick") }, - { assert snapshot(file(workflow.out.versions.get(0)).name).match("nucl_hmmer.versions.yml") }, - { assert snapshot(workflow.out.versions.get(0)).md5().match("nucl_hmmer.versions.yml_lines") }, ) } } diff --git a/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test.snap b/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test.snap index d0fb694b70c1..93e94146d3fd 100644 --- a/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test.snap +++ b/subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test.snap @@ -15,16 +15,6 @@ "nextflow": "23.04.5" } }, - "nucl_hmmer.versions.yml": { - "content": [ - "versions.yml" - ], - "timestamp": "2024-11-14T10:17:41.730837855", - "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - } - }, "clustalo.graft.placement.epa_result.newick": { "content": [ "clustalo.graft.clustalo.epa_result.newick" @@ -129,16 +119,6 @@ "nextflow": "24.10.1" } }, - "hmmer.versions.yml": { - "content": [ - "versions.yml" - ], - "timestamp": "2024-11-14T10:16:44.880743216", - "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - } - }, "hmmer.epa_result.jplace.gz": { "content": [ "hmmer.epa_result.jplace.gz" @@ -198,21 +178,5 @@ "nf-test": "0.9.0", "nextflow": "23.04.5" } - }, - "nucl_hmmer.versions.yml_lines": { - "content": "eafb4184937621216ff03df17c4245a6", - "timestamp": "2024-11-14T10:17:41.733022413", - "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - } - }, - "hmmer.versions.yml_lines": { - "content": "eafb4184937621216ff03df17c4245a6", - "timestamp": "2024-11-14T10:16:44.884598465", - "meta": { - "nf-test": "0.9.0", - "nextflow": "23.04.5" - } } } \ No newline at end of file