Mercurial > repos > galaxytrakr > hfp_centriflaken_awsbatch
comparison 0.4.2/modules/samplesheet_check/main.nf @ 0:082e0091e813 draft default tip
planemo upload
| author | galaxytrakr |
|---|---|
| date | Fri, 29 May 2026 13:27:47 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:082e0091e813 |
|---|---|
| 1 process SAMPLESHEET_CHECK { | |
| 2 tag "$samplesheet" | |
| 3 label "process_femto" | |
| 4 | |
| 5 module (params.enable_module ? "${params.swmodulepath}${params.fs}python${params.fs}3.8.1" : null) | |
| 6 conda (params.enable_conda ? "conda-forge::python=3.9.5" : null) | |
| 7 container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | |
| 8 'https://depot.galaxyproject.org/singularity/python:3.9--1' : | |
| 9 'quay.io/biocontainers/python:3.9--1' }" | |
| 10 | |
| 11 input: | |
| 12 path samplesheet | |
| 13 | |
| 14 output: | |
| 15 path '*.csv' , emit: csv | |
| 16 path "versions.yml", emit: versions | |
| 17 | |
| 18 when: | |
| 19 task.ext.when == null || task.ext.when | |
| 20 | |
| 21 script: // This script is bundled with the pipeline, in nf-core/rnaseq/bin/ | |
| 22 """ | |
| 23 check_samplesheet.py \\ | |
| 24 $samplesheet \\ | |
| 25 samplesheet.valid.csv | |
| 26 | |
| 27 cat <<-END_VERSIONS > versions.yml | |
| 28 "${task.process}": | |
| 29 python: \$( python --version | sed 's/Python //g' ) | |
| 30 END_VERSIONS | |
| 31 """ | |
| 32 } |
