annotate 0.4.0/modules/samplesheet_check/README.md @ 101:ce6d9548fe89

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