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

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