kkonganti@17: # NextFlow DSL2 Module kkonganti@17: kkonganti@17: ```bash kkonganti@17: GEN_SAMPLESHEET kkonganti@17: ``` kkonganti@17: kkonganti@17: ## Description kkonganti@17: kkonganti@17: 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@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: ### `input:` kkonganti@17: kkonganti@17: ___ kkonganti@17: kkonganti@17: Type: `val` kkonganti@17: kkonganti@17: Takes in the absolute UNIX path to a folder containing only FASTQ files (`inputdir`). kkonganti@17: kkonganti@17: Ex: kkonganti@17: kkonganti@17: ```groovy kkonganti@17: '/hpc/scratch/test/reads' kkonganti@17: ``` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: ### `output:` kkonganti@17: kkonganti@17: ___ kkonganti@17: kkonganti@17: Type: `path` kkonganti@17: kkonganti@17: NextFlow output of type `path` pointing to auto-generated CSV sample sheet (`csv`). kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `csv` kkonganti@17: kkonganti@17: Type: `path` kkonganti@17: kkonganti@17: 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@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `versions` kkonganti@17: kkonganti@17: Type: `path` kkonganti@17: kkonganti@17: NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.