annotate 0.5.0/modules/custom/dump_software_versions/main.nf @ 13:74baf1a6c3bd

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