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