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