Mercurial > repos > galaxytrakr > hfp_cronology_awsbatch
view 0.2.0/modules/upload_microreact/main.nf @ 0:9e8b1c747a6a draft default tip
planemo upload
| author | galaxytrakr |
|---|---|
| date | Fri, 29 May 2026 13:32:17 +0000 |
| parents | |
| children |
line wrap: on
line source
process UPLOAD_MICROREACT { tag "microreact_post.py" label "process_pico" module (params.enable_module ? "${params.swmodulepath}${params.fs}python${params.fs}3.8.1" : null) conda (params.enable_conda ? "conda-forge::python=3.10 conda-forge::requests" : null) container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/requests:2.26.0' : 'quay.io/biocontainers/requests:2.26.0' }" input: path tree path metadata output: path "*.txt" , emit: url path 'versions.yml', emit: versions when: task.ext.when == null || task.ext.when script: def args = task.ext.args ?: '' """ microreact_post.py \\ $args \\ -atp "${params.microreact_api_key}" \\ -name "${params.microreact_tree_name}" \\ -dir "." cat <<-END_VERSIONS > versions.yml "${task.process}": python: \$( python --version | sed 's/Python //g' ) END_VERSIONS """ }
