kkonganti@101: # NextFlow DSL2 Module kkonganti@101: kkonganti@101: ```bash kkonganti@101: GEN_SAMPLESHEET kkonganti@101: ``` kkonganti@101: kkonganti@101: ## Description kkonganti@101: kkonganti@101: 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@101: kkonganti@101: \ kkonganti@101:   kkonganti@101: kkonganti@101: ### `input:` kkonganti@101: kkonganti@101: ___ kkonganti@101: kkonganti@101: Type: `val` kkonganti@101: kkonganti@101: Takes in the absolute UNIX path to a folder containing only FASTQ files (`inputdir`). kkonganti@101: kkonganti@101: Ex: kkonganti@101: kkonganti@101: ```groovy kkonganti@101: '/hpc/scratch/test/reads' 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 auto-generated 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.