annotate 0.3.0/modules/custom/dump_software_versions/main.nf @ 92:295c2597a475

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