Skip to content

Commit

Permalink
bump wisecondorx modules (#5506)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvnieuwk authored Apr 19, 2024
1 parent 9758e4d commit da7894d
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions modules/nf-core/wisecondorx/convert/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ process WISECONDORX_CONVERT {
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.5--pyh5e36f6f_0':
'biocontainers/wisecondorx:1.2.5--pyh5e36f6f_0' }"
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.6--pyhdfd78af_0':
'biocontainers/wisecondorx:1.2.6--pyhdfd78af_0' }"

input:
tuple val(meta), path(bam), path(bai)
Expand All @@ -24,7 +24,7 @@ process WISECONDORX_CONVERT {
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def reference = fasta ? "--reference ${fasta}" : ""
def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

"""
WisecondorX convert \\
Expand All @@ -41,7 +41,7 @@ process WISECONDORX_CONVERT {

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

"""
touch ${prefix}.npz
Expand Down
18 changes: 9 additions & 9 deletions modules/nf-core/wisecondorx/convert/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
]
],
"1": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
],
"npz": [
[
Expand All @@ -24,15 +24,15 @@
]
],
"versions": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-18T16:57:23.88568683"
"timestamp": "2024-04-19T15:44:04.304677987"
},
"sarscov2 - bam, bai, [], []": {
"content": [
Expand All @@ -47,7 +47,7 @@
]
],
"1": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
],
"npz": [
[
Expand All @@ -59,15 +59,15 @@
]
],
"versions": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-18T16:58:57.092145603"
"timestamp": "2024-04-19T15:43:48.33030357"
},
"sarscov2 - bam, bai - stub": {
"content": [
Expand All @@ -82,7 +82,7 @@
]
],
"1": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
],
"npz": [
[
Expand All @@ -94,14 +94,14 @@
]
],
"versions": [
"versions.yml:md5,917a47772d6f722fe520f900827fae01"
"versions.yml:md5,867fac789f15d6e2484e372df42dc1fa"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-18T16:59:20.717480551"
"timestamp": "2024-04-19T15:44:10.372144798"
}
}
8 changes: 4 additions & 4 deletions modules/nf-core/wisecondorx/gender/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ process WISECONDORX_GENDER {
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.5--pyh5e36f6f_0':
'biocontainers/wisecondorx:1.2.5--pyh5e36f6f_0' }"
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.6--pyhdfd78af_0':
'biocontainers/wisecondorx:1.2.6--pyhdfd78af_0' }"

input:
tuple val(meta), path(npz)
Expand All @@ -20,7 +20,7 @@ process WISECONDORX_GENDER {
task.ext.when == null || task.ext.when

script:
def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

"""
WisecondorX gender \\
Expand All @@ -34,7 +34,7 @@ process WISECONDORX_GENDER {
"""

stub:
def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

"""
echo male
Expand Down
6 changes: 3 additions & 3 deletions modules/nf-core/wisecondorx/gender/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
]
],
"1": [
"versions.yml:md5,ee69f2b69802dc591fe3cb26e94a17bc"
"versions.yml:md5,0c391140d8b20d0447ada5c507ab86cf"
],
"gender": [
[
Expand All @@ -24,14 +24,14 @@
]
],
"versions": [
"versions.yml:md5,ee69f2b69802dc591fe3cb26e94a17bc"
"versions.yml:md5,0c391140d8b20d0447ada5c507ab86cf"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-19T11:09:38.223832474"
"timestamp": "2024-04-19T15:44:22.430941739"
}
}
8 changes: 4 additions & 4 deletions modules/nf-core/wisecondorx/newref/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ process WISECONDORX_NEWREF {
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.5--pyh5e36f6f_0':
'biocontainers/wisecondorx:1.2.5--pyh5e36f6f_0' }"
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.6--pyhdfd78af_0':
'biocontainers/wisecondorx:1.2.6--pyhdfd78af_0' }"

input:
tuple val(meta), path(inputs)
Expand All @@ -21,7 +21,7 @@ process WISECONDORX_NEWREF {
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

inputs.each { if("${it}" == "${prefix}.npz") error "${it} has the same name as the output file, set prefix in module configuration to disambiguate!"}

Expand All @@ -41,7 +41,7 @@ process WISECONDORX_NEWREF {

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

inputs.each { if("${it}" == "${prefix}.npz") error "${it} has the same name as the output file, set prefix in module configuration to disambiguate!"}

Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/wisecondorx/newref/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"homo_sapiens - [npz]": {
"content": [
[
"versions.yml:md5,76cc7a445641380597ca00dfb5722c92"
"versions.yml:md5,187e7748e6ae48d77e1e43b428de5f32"
],
[
[
Expand All @@ -17,6 +17,6 @@
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-19T10:39:17.199036914"
"timestamp": "2024-04-19T15:43:40.252060275"
}
}
8 changes: 4 additions & 4 deletions modules/nf-core/wisecondorx/predict/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ process WISECONDORX_PREDICT {
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.5--pyh5e36f6f_0':
'biocontainers/wisecondorx:1.2.5--pyh5e36f6f_0' }"
'https://depot.galaxyproject.org/singularity/wisecondorx:1.2.6--pyhdfd78af_0':
'biocontainers/wisecondorx:1.2.6--pyhdfd78af_0' }"

input:
tuple val(meta), path(npz)
Expand All @@ -32,7 +32,7 @@ process WISECONDORX_PREDICT {

def plots = args.contains("--plot") ? "mv ${prefix}.plots/* ." : ""

def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

"""
WisecondorX predict \\
Expand All @@ -53,7 +53,7 @@ process WISECONDORX_PREDICT {
stub:
def args = task.ext.args ?: '--bed --plot'
def prefix = task.ext.prefix ?: "${meta.id}"
def VERSION = '1.2.5' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.2.6' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.

def bed = args.contains("--bed") ? "touch ${prefix}_aberrations.bed && touch ${prefix}_bins.bed && touch ${prefix}_chr_statistics.txt && touch ${prefix}_segments.bed" : ""
def plot = args.contains("--plot") ? "touch genome_wide.png && touch chr22.png && touch chr1.png" : ""
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/wisecondorx/predict/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sarscov2 - npz, reference, []": {
"content": [
[
"versions.yml:md5,b23cede31804c7e833df43254983c387"
"versions.yml:md5,e51bd81606241794d14e3da4c1b93ebe"
],
[
[
Expand Down Expand Up @@ -60,6 +60,6 @@
"nf-test": "0.8.4",
"nextflow": "24.02.0"
},
"timestamp": "2024-03-19T11:20:04.150585302"
"timestamp": "2024-04-19T15:43:32.282429683"
}
}

0 comments on commit da7894d

Please sign in to comment.