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