Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions modules/nf-core/ganon/buildcustom/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ process GANON_BUILDCUSTOM {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def taxonomy_args = taxonomy_files ? "--taxonomy-files ${taxonomy_files}" : ""
def genome_size_args = genome_size_files ? "--genome-size-files ${genome_size_files}" : ""
"""
touch ${prefix}.hibf
touch ${prefix}.tax
Expand Down
8 changes: 4 additions & 4 deletions modules/nf-core/ganon/buildcustom/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"content": [
[
"test.hibf:md5,9edfe4c3873d621a88ebcad438dca42c",
"test.tax:md5,e15400a1e43cce61545834695da46465"
"test.tax:md5,5fd3dd6f618d01b33d2ad1c3884aba1d"
],
[
"versions.yml:md5,9c73293ae36914c6ce3718ad6728ad9e"
]
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.0"
"nf-test": "0.9.3",
"nextflow": "25.10.4"
},
"timestamp": "2024-11-13T13:37:14.320278404"
"timestamp": "2026-02-12T16:23:58.93227895"
},
"sarscov2 - genome - fasta": {
"content": [
Expand Down
2 changes: 0 additions & 2 deletions modules/nf-core/ganon/classify/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ process GANON_CLASSIFY {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def input = meta.single_end ? "--single-reads ${fastqs}" : "--paired-reads ${fastqs}"
"""
touch ${prefix}.tre
touch ${prefix}.rep
Expand Down
16 changes: 8 additions & 8 deletions modules/nf-core/ganon/classify/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"id": "test",
"single_end": false
},
"test.tre:md5,66c0b9ed247989682fe3bae842d37a76"
"test.tre:md5,2eebb02e0e37268314d41cc274ec3aa0"
]
],
[
Expand All @@ -149,10 +149,10 @@
]
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
"nf-test": "0.9.3",
"nextflow": "25.10.4"
},
"timestamp": "2024-10-07T19:26:16.339673954"
"timestamp": "2026-02-12T16:28:48.997560554"
},
"sarscov2 single-end [fastq]": {
"content": [
Expand All @@ -162,7 +162,7 @@
"id": "test",
"single_end": true
},
"test.tre:md5,3d2ef6fe0571d7aa7324539407a59630"
"test.tre:md5,828f3ea0e15ae28d95f71ae4874edc38"
]
],
[
Expand All @@ -179,9 +179,9 @@
]
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
"nf-test": "0.9.3",
"nextflow": "25.10.4"
},
"timestamp": "2024-10-07T19:25:41.074523387"
"timestamp": "2026-02-12T16:28:13.106272473"
}
}
1 change: 0 additions & 1 deletion modules/nf-core/ganon/report/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ process GANON_REPORT {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"

"""
Expand Down
10 changes: 5 additions & 5 deletions modules/nf-core/ganon/report/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "test",
"single_end": true
},
"test.tre:md5,3d2ef6fe0571d7aa7324539407a59630"
"test.tre:md5,828f3ea0e15ae28d95f71ae4874edc38"
]
],
"1": [
Expand All @@ -55,7 +55,7 @@
"id": "test",
"single_end": true
},
"test.tre:md5,3d2ef6fe0571d7aa7324539407a59630"
"test.tre:md5,828f3ea0e15ae28d95f71ae4874edc38"
]
],
"versions": [
Expand All @@ -64,9 +64,9 @@
}
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
"nf-test": "0.9.3",
"nextflow": "25.10.4"
},
"timestamp": "2024-10-07T18:32:50.997968794"
"timestamp": "2026-02-12T16:25:39.539455533"
}
}
1 change: 0 additions & 1 deletion modules/nf-core/ganon/table/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ process GANON_TABLE {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"

"""
Expand Down
10 changes: 5 additions & 5 deletions modules/nf-core/ganon/table/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{
"id": "db1"
},
"db1.txt:md5,c2f38e9f47f8701d8f37a59dffed88a3"
"db1.txt:md5,1da6f44d95981cca78a50b32d19f2337"
]
],
"1": [
Expand All @@ -51,7 +51,7 @@
{
"id": "db1"
},
"db1.txt:md5,c2f38e9f47f8701d8f37a59dffed88a3"
"db1.txt:md5,1da6f44d95981cca78a50b32d19f2337"
]
],
"versions": [
Expand All @@ -60,9 +60,9 @@
}
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
"nf-test": "0.9.3",
"nextflow": "25.10.4"
},
"timestamp": "2024-10-07T18:33:41.271256635"
"timestamp": "2026-02-12T16:26:46.650041698"
}
}
1 change: 0 additions & 1 deletion modules/nf-core/gappa/examineassign/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ process GAPPA_EXAMINEASSIGN {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.profile.tsv
Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/gappa/examineheattree/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ process GAPPA_EXAMINEHEATTREE {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.colours.txt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
process {
withName: 'GAPPA_EXAMINEHEATTREE' {
ext.args = "--write-newick-tree --write-nexus-tree --write-phyloxml-tree --write-svg-tree"
prefix = { "${meta.id}.heat-tree." }
}
}
1 change: 0 additions & 1 deletion modules/nf-core/gem2/gemindexer/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ process GEM2_GEMINDEXER {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def VERSION = '20200110' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/gem3/gem3indexer/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ process GEM3_GEM3INDEXER {
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"

"""
Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/genotyphi/parse/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ process GENOTYPHI_PARSE {
task.ext.when == null || task.ext.when

script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"

"""
Expand Down
1 change: 0 additions & 1 deletion modules/nf-core/geofetch/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ process GEOFETCH {
"""

stub:
def args = task.ext.args ?: ''

"""
mkdir -p ${geo_accession}
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/getorganelle/config/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ process GETORGANELLE_CONFIG {
"""

stub:
def args = task.ext.args ?: ''

"""
mkdir -p getorganelle/{LabelDatabase,SeedDatabase}
touch getorganelle/{LabelDatabase,SeedDatabase}/${organelle_type}.fasta
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/gfatools/gfa2fa/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ channels:
- conda-forge
- bioconda
dependencies:
- bioconda::gfatools=0.5
- bioconda::gfatools=0.5=h577a1d6_5
17 changes: 3 additions & 14 deletions modules/nf-core/gfatools/gfa2fa/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ process GFATOOLS_GFA2FA {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gfatools:0.5--he4a0461_4':
'biocontainers/gfatools:0.5--he4a0461_4' }"
'https://depot.galaxyproject.org/singularity/gfatools:0.5--h577a1d6_5':
'biocontainers/gfatools:0.5--h577a1d6_5' }"

input:
tuple val(meta), path(gfa)

output:
tuple val(meta), path("*.fasta.gz"), emit: fasta
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('gfatools'), eval("gfatools version | sed '1!d; s/.* //'"), topic: versions, emit: versions_gfatools

when:
task.ext.when == null || task.ext.when
Expand All @@ -26,22 +26,11 @@ process GFATOOLS_GFA2FA {
$args \\
$gfa \\
| gzip -c > ${prefix}.fasta.gz

cat <<-END_VERSIONS > versions.yml
"${task.process}":
gfatools: \$( gfatools version | sed '1!d; s/.* //' )
END_VERSIONS
"""

stub:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
echo | gzip > ${prefix}.fasta.gz

cat <<-END_VERSIONS > versions.yml
"${task.process}":
gfatools: \$( gfatools version | sed '1!d; s/.* //' )
END_VERSIONS
"""
}
30 changes: 22 additions & 8 deletions modules/nf-core/gfatools/gfa2fa/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/yaml-schema.json
name: "gfatools_gfa2fa"
description: Converts GFA or rGFA files to FASTA
keywords:
Expand All @@ -15,7 +14,8 @@ tools:
documentation: "https://github.com/lh3/gfatools"
tool_dev_url: "https://github.com/lh3/gfatools"
doi: "no DOI available"
licence: ["Unknown"]
licence:
- "Unknown"
identifier: ""
input:
- - meta:
Expand All @@ -41,13 +41,27 @@ output:
description: FASTA file
pattern: "*.fasta"
ontologies: []
versions_gfatools:
- - ${task.process}:
type: string
description: The name of the process
- gfatools:
type: string
description: The name of the tool
- gfatools version | sed '1!d; 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
- gfatools:
type: string
description: The name of the tool
- gfatools version | sed '1!d; s/.* //':
type: eval
description: The expression to obtain the version of the tool
authors:
- "@mahesh-panchal"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/gfatools/gfa2fa/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }
)
}
}
Expand All @@ -49,7 +49,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }
)
}
}
Expand Down
Loading
Loading