annotate 0.7.0/modules/samplesheet_check/README.md @ 20:133571bf891f

planemo upload
author kkonganti
date Mon, 15 Jul 2024 11:42:00 -0400
parents 0e7a0053e4a6
children
rev   line source
kkonganti@17 1 # NextFlow DSL2 Module
kkonganti@17 2
kkonganti@17 3 ```bash
kkonganti@17 4 SAMPLESHEET_CHECK
kkonganti@17 5 ```
kkonganti@17 6
kkonganti@17 7 ## Description
kkonganti@17 8
kkonganti@17 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@17 10
kkonganti@17 11 \
kkonganti@17 12  
kkonganti@17 13
kkonganti@17 14 ### `input:`
kkonganti@17 15
kkonganti@17 16 ___
kkonganti@17 17
kkonganti@17 18 Type: `path`
kkonganti@17 19
kkonganti@17 20 Takes in the absolute UNIX path to the sample sheet in CSV format (`samplesheet`).
kkonganti@17 21
kkonganti@17 22 Ex:
kkonganti@17 23
kkonganti@17 24 ```groovy
kkonganti@17 25 '/hpc/scratch/test/reads/output/gen_samplesheet/autogen_samplesheet.csv'
kkonganti@17 26 ```
kkonganti@17 27
kkonganti@17 28 \
kkonganti@17 29  
kkonganti@17 30
kkonganti@17 31 ### `output:`
kkonganti@17 32
kkonganti@17 33 ___
kkonganti@17 34
kkonganti@17 35 Type: `path`
kkonganti@17 36
kkonganti@17 37 NextFlow output of type `path` pointing to properly formatted CSV sample sheet (`csv`).
kkonganti@17 38
kkonganti@17 39 \
kkonganti@17 40  
kkonganti@17 41
kkonganti@17 42 #### `csv`
kkonganti@17 43
kkonganti@17 44 Type: `path`
kkonganti@17 45
kkonganti@17 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@17 47
kkonganti@17 48 \
kkonganti@17 49  
kkonganti@17 50
kkonganti@17 51 #### `versions`
kkonganti@17 52
kkonganti@17 53 Type: `path`
kkonganti@17 54
kkonganti@17 55 NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.