annotate 0.3.0/modules/samplesheet_check/README.md @ 92:295c2597a475

"planemo upload"
author kkonganti
date Tue, 19 Jul 2022 10:07:24 -0400
parents
children
rev   line source
kkonganti@92 1 # NextFlow DSL2 Module
kkonganti@92 2
kkonganti@92 3 ```bash
kkonganti@92 4 SAMPLESHEET_CHECK
kkonganti@92 5 ```
kkonganti@92 6
kkonganti@92 7 ## Description
kkonganti@92 8
kkonganti@92 9 Checks the validity of the sample sheet in CSV format to make sure there are required mandatory fields. This module generally succeeds `GEN_SAMPLESHEET` module as part of the `cpipes` pipelines to make sure that all fields of the columns are properly formatted to be used as Groovy Map for `meta` which is of input type `val`. This module requires the `check_samplesheet.py` script to be present in the `bin` folder from where the NextFlow script including this module will be executed
kkonganti@92 10
kkonganti@92 11 \
kkonganti@92 12  
kkonganti@92 13
kkonganti@92 14 ### `input:`
kkonganti@92 15
kkonganti@92 16 ___
kkonganti@92 17
kkonganti@92 18 Type: `path`
kkonganti@92 19
kkonganti@92 20 Takes in the absolute UNIX path to the sample sheet in CSV format (`samplesheet`).
kkonganti@92 21
kkonganti@92 22 Ex:
kkonganti@92 23
kkonganti@92 24 ```groovy
kkonganti@92 25 '/hpc/scratch/test/reads/output/gen_samplesheet/autogen_samplesheet.csv'
kkonganti@92 26 ```
kkonganti@92 27
kkonganti@92 28 \
kkonganti@92 29  
kkonganti@92 30
kkonganti@92 31 ### `output:`
kkonganti@92 32
kkonganti@92 33 ___
kkonganti@92 34
kkonganti@92 35 Type: `path`
kkonganti@92 36
kkonganti@92 37 NextFlow output of type `path` pointing to properly formatted CSV sample sheet (`csv`).
kkonganti@92 38
kkonganti@92 39 \
kkonganti@92 40  
kkonganti@92 41
kkonganti@92 42 #### `csv`
kkonganti@92 43
kkonganti@92 44 Type: `path`
kkonganti@92 45
kkonganti@92 46 NextFlow output type of `path` pointing to auto-generated CSV sample sheet for all FASTQ files present in the folder given by NextFlow input type of `val` (`inputdir`).
kkonganti@92 47
kkonganti@92 48 \
kkonganti@92 49  
kkonganti@92 50
kkonganti@92 51 #### `versions`
kkonganti@92 52
kkonganti@92 53 Type: `path`
kkonganti@92 54
kkonganti@92 55 NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.