diff --git a/conf/spot-extraction-modules.config b/conf/spot-extraction-modules.config index 7f509b90..ae160ed1 100644 --- a/conf/spot-extraction-modules.config +++ b/conf/spot-extraction-modules.config @@ -28,8 +28,15 @@ params { process { - withName: "(.*)?RS_FISH" { + withName: "(.*)?SPOT_EXTRACTION:SPARK.*" { + // set container for all spark tasks + container = 'ghcr.io/janeliascicomp/rs-fish-spark:4d1b901' errorStrategy = 'terminate' + } + + withName: "(.*)?SPOT_EXTRACTION:RS_FISH" { + errorStrategy = 'terminate' + container = 'ghcr.io/janeliascicomp/rs-fish-spark:4d1b901' ext.args = [ "--minIntensity=${params.rsfish_min_intensity}", "--maxIntensity=${params.rsfish_max_intensity}", @@ -40,6 +47,10 @@ process { ].join(' ') } + withName: "(.*)?SPOT_EXTRACTION:POST_RS_FISH" { + container = 'ghcr.io/janeliascicomp/post-rs-fish:v1' + } + } def arg_value(arg_flag, arg_value) { diff --git a/conf/stitching-modules.config b/conf/stitching-modules.config index bca7dc8b..842af5c6 100644 --- a/conf/stitching-modules.config +++ b/conf/stitching-modules.config @@ -26,31 +26,31 @@ params { process { - withName:"(.*)?STITCHING:.*" { + withName: "(.*)?STITCHING:.*" { // all processes that run as part of the stitching workflow // use this container - ext.container = 'ghcr.io/janeliascicomp/stitching-spark:1.11.0-rc2' + container = 'ghcr.io/janeliascicomp/stitching-spark:1.11.0-rc2' errorStrategy = 'terminate' } - withName: "(.*)?SPARK_STARTMANAGER" { + withName: "(.*)?STITCHING:(.*)SPARK_STARTMANAGER" { errorStrategy = 'terminate' ext.spark_local_dir = params.spark_local_dir ? params.spark_local_dir : '' ext.sleep_secs = 2 } - withName: "(.*)?SPARK_STARTWORKER" { + withName: "(.*)?STITCHING:(.*):SPARK_STARTWORKER" { errorStrategy = 'terminate' ext.sleep_secs = 2 } - withName: "(.*)?SPARK_WAITFORMANAGER" { + withName: "(.*)?STITCHING:(.*):SPARK_WAITFORMANAGER" { errorStrategy = 'terminate' ext.sleep_secs = 2 ext.max_wait_secs = 7200 } - withName: "(.*)?SPARK_WAITFORWORKER" { + withName: "(.*)?STITCHING:(.*):SPARK_WAITFORWORKER" { errorStrategy = 'terminate' ext.sleep_secs = 2 ext.max_wait_secs = 7200 diff --git a/modules.json b/modules.json index 3b4a72ab..8392d1f0 100644 --- a/modules.json +++ b/modules.json @@ -66,7 +66,7 @@ }, "spark_start": { "branch": "main", - "git_sha": "ce27f00338affaed60cbb37b4dc060f145297c23", + "git_sha": "e3b9a6883f427176c180f32e45b268539bd5496c", "installed_by": ["subworkflows"] }, "spark_stop": { @@ -82,7 +82,7 @@ "nf-core": { "custom/dumpsoftwareversions": { "branch": "master", - "git_sha": "81880787133db07d9b4c1febd152c090eb8325dc", + "git_sha": "05954dab2ff481bcb999f24455da29a5828af08d", "installed_by": ["modules"] } } diff --git a/modules/janelia/rs_fish/main.nf b/modules/janelia/rs_fish/main.nf index 2028f7a0..c5a96297 100755 --- a/modules/janelia/rs_fish/main.nf +++ b/modules/janelia/rs_fish/main.nf @@ -1,6 +1,6 @@ process RS_FISH { tag "${meta.id}" - container { task && task.ext.container ?: 'ghcr.io/janeliascicomp/rs-fish-spark:8f8954f' } + container { task && task.ext.container ?: 'ghcr.io/janeliascicomp/rs-fish-spark:4d1b901' } cpus { spark.driver_cores } memory { spark.driver_memory } diff --git a/modules/nf-core/custom/dumpsoftwareversions/environment.yml b/modules/nf-core/custom/dumpsoftwareversions/environment.yml index 70ee54e3..c3b3413f 100644 --- a/modules/nf-core/custom/dumpsoftwareversions/environment.yml +++ b/modules/nf-core/custom/dumpsoftwareversions/environment.yml @@ -4,4 +4,4 @@ channels: - conda-forge - bioconda dependencies: - - bioconda::multiqc=1.20 + - bioconda::multiqc=1.27 diff --git a/modules/nf-core/custom/dumpsoftwareversions/main.nf b/modules/nf-core/custom/dumpsoftwareversions/main.nf index 105f9265..dd6e210d 100644 --- a/modules/nf-core/custom/dumpsoftwareversions/main.nf +++ b/modules/nf-core/custom/dumpsoftwareversions/main.nf @@ -1,11 +1,19 @@ +def deprecation_message = """ +WARNING: This module has been deprecated. + +Reason: +This module is no longer recommended for use, as it is replaced by the function softwareVersionsToYAML +in the utils_nfcore_pipeline subworkflow that is included in the nf-core template. + +""" process CUSTOM_DUMPSOFTWAREVERSIONS { label 'process_single' // Requires `pyyaml` which does not have a dedicated container but is in the MultiQC container conda "${moduleDir}/environment.yml" container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? - 'https://depot.galaxyproject.org/singularity/multiqc:1.20--pyhdfd78af_0' : - 'biocontainers/multiqc:1.20--pyhdfd78af_0' }" + 'https://depot.galaxyproject.org/singularity/multiqc:1.27--pyhdfd78af_0' : + 'biocontainers/multiqc:1.27--pyhdfd78af_0' }" input: path versions @@ -19,6 +27,7 @@ process CUSTOM_DUMPSOFTWAREVERSIONS { task.ext.when == null || task.ext.when script: + assert true: deprecation_message def args = task.ext.args ?: '' template 'dumpsoftwareversions.py' } 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 5f59a936..74e42fb1 100644 --- a/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap +++ b/modules/nf-core/custom/dumpsoftwareversions/tests/main.nf.test.snap @@ -2,7 +2,7 @@ "Should run without failures": { "content": [ [ - "versions.yml:md5,76d454d92244589d32455833f7c1ba6d" + "versions.yml:md5,42bedca466554ea4ad0b586f8a18be28" ], [ "data: \"