annotate 0.4.2/modules/custom/dump_software_versions/main.nf @ 105:52045ea4679d

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