view 0.5.0/modules/gen_samplesheet/README.md @ 10:1b9de878b04a

"planemo upload"
author kkonganti
date Thu, 15 Jun 2023 11:16:45 -0400
parents 365849f031fd
children
line wrap: on
line source
# NextFlow DSL2 Module

```bash
GEN_SAMPLESHEET
```

## Description

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.

\
 

### `input:`

___

Type: `val`

Takes in the absolute UNIX path to a folder containing only FASTQ files (`inputdir`).

Ex:

```groovy
'/hpc/scratch/test/reads'
```

\
 

### `output:`

___

Type: `path`

NextFlow output of type `path` pointing to auto-generated CSV sample sheet (`csv`).

\
 

#### `csv`

Type: `path`

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`).

\
 

#### `versions`

Type: `path`

NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.