annotate 0.7.0/modules/custom/dump_software_versions/main.nf @ 17:0e7a0053e4a6

planemo upload
author kkonganti
date Mon, 15 Jul 2024 10:42:02 -0400
parents
children
rev   line source
kkonganti@17 1 process DUMP_SOFTWARE_VERSIONS {
kkonganti@17 2 tag "${params.pipeline} software versions"
kkonganti@17 3 label 'process_pico'
kkonganti@17 4
kkonganti@17 5 // Requires `pyyaml` which does not have a dedicated container but is in the MultiQC container
kkonganti@17 6 module (params.enable_module ? "${params.swmodulepath}${params.fs}python${params.fs}3.8.1" : null)
kkonganti@17 7 conda (params.enable_conda ? "conda-forge::python=3.9 conda-forge::pyyaml" : null)
kkonganti@17 8 container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
kkonganti@17 9 'https://depot.galaxyproject.org/singularity/mulled-v2-ca258a039fcd88610bc4e297b13703e8be53f5ca:d638c4f85566099ea0c74bc8fddc6f531fe56753-0' :
kkonganti@17 10 'quay.io/biocontainers/mulled-v2-ca258a039fcd88610bc4e297b13703e8be53f5ca:d638c4f85566099ea0c74bc8fddc6f531fe56753-0' }"
kkonganti@17 11
kkonganti@17 12 input:
kkonganti@17 13 path versions
kkonganti@17 14
kkonganti@17 15 output:
kkonganti@17 16 path "software_versions.yml" , emit: yml
kkonganti@17 17 path "software_versions_mqc.yml", emit: mqc_yml
kkonganti@17 18 path "versions.yml" , emit: versions
kkonganti@17 19
kkonganti@17 20 when:
kkonganti@17 21 task.ext.when == null || task.ext.when
kkonganti@17 22
kkonganti@17 23 script:
kkonganti@17 24 def args = task.ext.args ?: ''
kkonganti@17 25 template 'dumpsoftwareversions.py'
kkonganti@17 26 }