annotate 0.2.1/modules/custom/dump_software_versions/main.nf @ 0:77494b0fa3c7

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