comparison 0.6.1/modules/samplesheet_check/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 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 }