annotate 0.4.0/modules/custom/dump_software_versions/main.nf @ 101:ce6d9548fe89

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