From d12552adab9764eafec0264137aa57830ea9668d Mon Sep 17 00:00:00 2001 From: Cristian Goina Date: Tue, 15 Apr 2025 16:17:09 -0400 Subject: [PATCH 1/8] add spark config to start spark --- conf/spot-extraction-modules.config | 1 + modules.json | 4 +- .../dumpsoftwareversions/environment.yml | 2 +- .../custom/dumpsoftwareversions/main.nf | 13 +- .../tests/main.nf.test.snap | 16 +- .../dumpsoftwareversions/tests/tags.yml | 2 - subworkflows/janelia/spark_start/main.nf | 209 +++++++++++++----- subworkflows/local/multiscale.nf | 3 +- subworkflows/local/stitching.nf | 3 +- workflows/registration.nf | 1 + workflows/spot_extraction.nf | 1 + 11 files changed, 184 insertions(+), 71 deletions(-) delete mode 100644 modules/nf-core/custom/dumpsoftwareversions/tests/tags.yml diff --git a/conf/spot-extraction-modules.config b/conf/spot-extraction-modules.config index 7f509b90..1ee169a5 100644 --- a/conf/spot-extraction-modules.config +++ b/conf/spot-extraction-modules.config @@ -30,6 +30,7 @@ process { withName: "(.*)?RS_FISH" { errorStrategy = 'terminate' + ext.container = 'ghcr.io/janeliascicomp/rs-fish-spark:4d1b901' ext.args = [ "--minIntensity=${params.rsfish_min_intensity}", "--maxIntensity=${params.rsfish_max_intensity}", diff --git a/modules.json b/modules.json index 3b4a72ab..d7cc8937 100644 --- a/modules.json +++ b/modules.json @@ -66,7 +66,7 @@ }, "spark_start": { "branch": "main", - "git_sha": "ce27f00338affaed60cbb37b4dc060f145297c23", + "git_sha": "cfc0afa06f34e7c94d875bdbafb45889d9405cd2", "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/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: \"