kkonganti@11: # NextFlow DSL2 Module kkonganti@11: kkonganti@11: ```bash kkonganti@11: GEN_SAMPLESHEET kkonganti@11: ``` kkonganti@11: kkonganti@11: ## Description kkonganti@11: kkonganti@11: Generates a sample sheet in CSV format that contains required fields to be used to construct a Groovy Map of metadata. It requires as input, an absolute UNIX path to a folder containing only FASTQ files. This module requires the `fastq_dir_to_samplesheet.py` script to be present in the `bin` folder from where the NextFlow script including this module will be executed. kkonganti@11: kkonganti@11: \ kkonganti@11:   kkonganti@11: kkonganti@11: ### `input:` kkonganti@11: kkonganti@11: ___ kkonganti@11: kkonganti@11: Type: `val` kkonganti@11: kkonganti@11: Takes in the absolute UNIX path to a folder containing only FASTQ files (`inputdir`). kkonganti@11: kkonganti@11: Ex: kkonganti@11: kkonganti@11: ```groovy kkonganti@11: '/hpc/scratch/test/reads' kkonganti@11: ``` kkonganti@11: kkonganti@11: \ kkonganti@11:   kkonganti@11: kkonganti@11: ### `output:` kkonganti@11: kkonganti@11: ___ kkonganti@11: kkonganti@11: Type: `path` kkonganti@11: kkonganti@11: NextFlow output of type `path` pointing to auto-generated CSV sample sheet (`csv`). kkonganti@11: kkonganti@11: \ kkonganti@11:   kkonganti@11: kkonganti@11: #### `csv` kkonganti@11: kkonganti@11: Type: `path` kkonganti@11: kkonganti@11: 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@11: kkonganti@11: \ kkonganti@11:   kkonganti@11: kkonganti@11: #### `versions` kkonganti@11: kkonganti@11: Type: `path` kkonganti@11: kkonganti@11: NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.