Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f5c17aa
Migrate artic/aligntrim module to topics
eugeniafontecha Mar 11, 2026
637e455
first commit: topic channel migration
daleor0917 Mar 11, 2026
f4b01a2
versions topic update for artic/minion
gonzagrau Mar 11, 2026
840f7ae
Merge pull request #1 from eugeniafontecha/articaligntrim_topics_migr…
eugeniafontecha Mar 11, 2026
baf0be7
remove commented line
daleor0917 Mar 11, 2026
2f74820
Merge pull request #3 from eugeniafontecha/artic/guppyplex_topics_mig…
eugeniafontecha Mar 11, 2026
739fa7d
Merge pull request #2 from eugeniafontecha/artic/minion_topic_migration
eugeniafontecha Mar 11, 2026
36f3f6d
Merge branch 'master' into artic_topics_migration
eugeniafontecha Mar 11, 2026
406589e
adding back some deleted comments
gonzagrau Mar 12, 2026
30c0bd7
add comments back to ontologies back
daleor0917 Mar 12, 2026
bf455e0
add ontologies comments back
daleor0917 Mar 12, 2026
68e3a37
Merge pull request #5 from eugeniafontecha/artic/guppyplex_topics_mig…
daleor0917 Mar 12, 2026
3d2a707
Merge branch 'master' into artic/minion_topic_migration
gonzagrau Mar 12, 2026
80f26fc
Merge pull request #4 from eugeniafontecha/artic/minion_topic_migration
gonzagrau Mar 12, 2026
3a77cd8
Merge master into artic_topics_migration
daleor0917 Mar 12, 2026
b8278ac
Merge pull request #6 from eugeniafontecha/artic_topics_migration
daleor0917 Mar 12, 2026
c049ab7
first commit: migrate cnvpytor/importreaddepth to topic channel
daleor0917 Mar 13, 2026
df2f04c
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
a816743
Merge branch 'master' into cnvpytor/importreaddepth
atrigila Mar 13, 2026
eb79210
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
01c29a9
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
a104949
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
6423181
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
8e51b01
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
32f1595
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
c115682
fix containers
daleor0917 Mar 13, 2026
3d8bf3c
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
894d6a3
Merge branch 'master' into cnvpytor/importreaddepth
daleor0917 Mar 13, 2026
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
4 changes: 2 additions & 2 deletions modules/nf-core/cnvpytor/importreaddepth/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ channels:
- conda-forge
- bioconda
dependencies:
- bioconda::cnvpytor=1.3.1
- conda-forge::numpy=1.24.3
- bioconda::cnvpytor=1.3.2
- conda-forge::make=4.4.1
20 changes: 7 additions & 13 deletions modules/nf-core/cnvpytor/importreaddepth/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ process CNVPYTOR_IMPORTREADDEPTH {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/cnvpytor:1.3.1--pyhdfd78af_1':
'biocontainers/cnvpytor:1.3.1--pyhdfd78af_1' }"
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/bb/bbb6343edff4191cb1f445b2aac028d1f805ed5a7d50799513c82531bcfdede5/data':
'community.wave.seqera.io/library/cnvpytor_make:a8fdcebe82041114' }"

input:
tuple val(meta), path(input_file), path(index)
Expand All @@ -14,7 +14,11 @@ process CNVPYTOR_IMPORTREADDEPTH {

output:
tuple val(meta), path("*.pytor") , emit: pytor
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('cnvpytor'), val('1.3.2'), emit: versions_cnvpytor, topic: versions
// cnvpytor version is hardcoded due to this error when calling cnvpytor --version
// > cnvpytor --version
// 2026-03-13 16:14:08,088 - cnvpytor - ERROR - Some reference genome resource files are missing.
// Run 'cnvpytor -download' as same user who has installed cnvpytor.

when:
task.ext.when == null || task.ext.when
Expand All @@ -29,21 +33,11 @@ process CNVPYTOR_IMPORTREADDEPTH {
-rd $input_file \\
$args \\
$reference

cat <<-END_VERSIONS > versions.yml
"${task.process}":
cnvpytor: \$(cnvpytor --version | sed -n 's/.*CNVpytor \\(.*\\)/\\1/p')
END_VERSIONS
"""

stub:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.pytor

cat <<-END_VERSIONS > versions.yml
"${task.process}":
cnvpytor: \$(cnvpytor --version | sed -n 's/.*CNVpytor \\(.*\\)/\\1/p')
END_VERSIONS
"""
}
41 changes: 28 additions & 13 deletions modules/nf-core/cnvpytor/importreaddepth/meta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cnvpytor_importreaddepth
description: command line tool for CNV/CNA analysis. This step imports the read depth
data into a root pytor file.
description: command line tool for CNV/CNA analysis. This step imports the read
depth data into a root pytor file.
keywords:
- read depth
- cnv
Expand All @@ -13,7 +13,8 @@ tools:
documentation: https://github.com/abyzovlab/CNVpytor
tool_dev_url: https://github.com/abyzovlab/CNVpytor
doi: "10.1101/2021.01.27.428472v1"
licence: ["MIT"]
licence:
- "MIT"
identifier: biotools:cnvpytor
input:
- - meta:
Expand All @@ -33,8 +34,8 @@ input:
ontologies: []
- fasta:
type: file
description: specifies reference genome file (only for cram file without reference
genome)
description: specifies reference genome file (only for cram file without
reference genome)
pattern: "*.{fasta,fasta.gz,fa,fa.gz}"
ontologies: []
- fai:
Expand All @@ -51,17 +52,31 @@ output:
e.g. [ id:'test' ]
- "*.pytor":
type: file
description: read depth root file in which read depth data binned to 100 base
pair bins will be stored.
description: read depth root file in which read depth data binned to 100
base pair bins will be stored.
pattern: "*.{pytor}"
ontologies: []
versions_cnvpytor:
- - ${task.process}:
type: string
description: The name of the process
- cnvpytor:
type: string
description: The name of the tool
- 1.3.2:
type: string
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
- cnvpytor:
type: string
description: The name of the tool
- 1.3.2:
type: string
description: The expression to obtain the version of the tool
authors:
- "@sima-r"
- "@ramprasadn"
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/cnvpytor/importreaddepth/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nextflow_process {
{ assert process.success },
{ assert snapshot(
file(process.out.pytor[0][1]).name,
process.out.versions
process.out.findAll { key, val -> key.startsWith('versions') }
).match()
}
)
Expand Down Expand Up @@ -62,7 +62,7 @@ nextflow_process {
{ assert process.success },
{ assert snapshot(
file(process.out.pytor[0][1]).name,
process.out.versions
process.out.findAll { key, val -> key.startsWith('versions') }
).match()
}
)
Expand Down
62 changes: 41 additions & 21 deletions modules/nf-core/cnvpytor/importreaddepth/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
"test-cnvpytor-importreaddepth": {
"content": [
"test.pytor",
[
"versions.yml:md5,8b48cc59a72c589feb7e51e10f589b27"
]
{
"versions_cnvpytor": [
[
"CNVPYTOR_IMPORTREADDEPTH",
"cnvpytor",
"1.3.1"
]
]
}
],
"timestamp": "2026-03-13T13:08:50.744070399",
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.4"
},
"timestamp": "2024-08-28T14:03:16.865191"
"nf-test": "0.9.4",
"nextflow": "25.10.4"
}
},
"test-cnvpytor-importreaddepth-cram-stub": {
"content": [
Expand All @@ -24,7 +30,11 @@
]
],
"1": [
"versions.yml:md5,8b48cc59a72c589feb7e51e10f589b27"
[
"CNVPYTOR_IMPORTREADDEPTH",
"cnvpytor",
"1.3.2"
]
],
"pytor": [
[
Expand All @@ -34,28 +44,38 @@
"test.pytor:md5,d41d8cd98f00b204e9800998ecf8427e"
]
],
"versions": [
"versions.yml:md5,8b48cc59a72c589feb7e51e10f589b27"
"versions_cnvpytor": [
[
"CNVPYTOR_IMPORTREADDEPTH",
"cnvpytor",
"1.3.2"
]
]
}
],
"timestamp": "2026-03-13T16:34:42.62061788",
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.4"
},
"timestamp": "2024-08-28T14:03:34.286753"
"nf-test": "0.9.4",
"nextflow": "25.10.4"
}
},
"test-cnvpytor-importreaddepth-cram": {
"content": [
"test.pytor",
[
"versions.yml:md5,8b48cc59a72c589feb7e51e10f589b27"
]
{
"versions_cnvpytor": [
[
"CNVPYTOR_IMPORTREADDEPTH",
"cnvpytor",
"1.3.1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this one say 1.3.1 rather than 1.3.2?

]
]
}
],
"timestamp": "2026-03-13T13:09:01.201749134",
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.4"
},
"timestamp": "2024-08-28T14:03:27.674852"
"nf-test": "0.9.4",
"nextflow": "25.10.4"
}
}
}
Loading