Mercurial > repos > kkonganti > cfsan_bettercallsal
comparison 0.5.0/modules/samplesheet_check/main.nf @ 1:365849f031fd
"planemo upload"
author | kkonganti |
---|---|
date | Mon, 05 Jun 2023 18:48:51 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:a4b1ee4b68b1 | 1:365849f031fd |
---|---|
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 } |