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