kkonganti@101: # NextFlow DSL2 Module kkonganti@101: kkonganti@101: ```bash kkonganti@101: SAMPLESHEET_CHECK kkonganti@101: ``` kkonganti@101: kkonganti@101: ## Description kkonganti@101: kkonganti@101: 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: kkonganti@101: \ kkonganti@101:   kkonganti@101: kkonganti@101: ### `input:` kkonganti@101: kkonganti@101: ___ kkonganti@101: kkonganti@101: Type: `path` kkonganti@101: kkonganti@101: Takes in the absolute UNIX path to the sample sheet in CSV format (`samplesheet`). kkonganti@101: kkonganti@101: Ex: kkonganti@101: kkonganti@101: ```groovy kkonganti@101: '/hpc/scratch/test/reads/output/gen_samplesheet/autogen_samplesheet.csv' kkonganti@101: ``` kkonganti@101: kkonganti@101: \ kkonganti@101:   kkonganti@101: kkonganti@101: ### `output:` kkonganti@101: kkonganti@101: ___ kkonganti@101: kkonganti@101: Type: `path` kkonganti@101: kkonganti@101: NextFlow output of type `path` pointing to properly formatted CSV sample sheet (`csv`). kkonganti@101: kkonganti@101: \ kkonganti@101:   kkonganti@101: kkonganti@101: #### `csv` kkonganti@101: kkonganti@101: Type: `path` kkonganti@101: kkonganti@101: 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: kkonganti@101: \ kkonganti@101:   kkonganti@101: kkonganti@101: #### `versions` kkonganti@101: kkonganti@101: Type: `path` kkonganti@101: kkonganti@101: NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.