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