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