annotate 0.5.0/modules/samplesheet_check/README.md @ 0:97cd2f532efe

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