kkonganti@0: process DUMP_SOFTWARE_VERSIONS { kkonganti@0: tag "${params.pipeline} software versions" kkonganti@0: label 'process_pico' kkonganti@0: kkonganti@0: // Requires `pyyaml` which does not have a dedicated container but is in the MultiQC container kkonganti@0: module (params.enable_module ? "${params.swmodulepath}${params.fs}python${params.fs}3.8.1" : null) kkonganti@0: conda (params.enable_conda ? "conda-forge::python=3.9 conda-forge::pyyaml" : null) kkonganti@0: container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? kkonganti@0: 'https://depot.galaxyproject.org/singularity/multiqc:1.11--pyhdfd78af_0' : kkonganti@0: 'quay.io/biocontainers/multiqc:1.11--pyhdfd78af_0' }" kkonganti@0: kkonganti@0: input: kkonganti@0: path versions kkonganti@0: kkonganti@0: output: kkonganti@0: path "software_versions.yml" , emit: yml kkonganti@0: path "software_versions_mqc.yml", emit: mqc_yml kkonganti@0: path "versions.yml" , emit: versions kkonganti@0: kkonganti@0: when: kkonganti@0: task.ext.when == null || task.ext.when kkonganti@0: kkonganti@0: script: kkonganti@0: def args = task.ext.args ?: '' kkonganti@0: template 'dumpsoftwareversions.py' kkonganti@0: }