Mercurial > repos > kkonganti > cfsan_bettercallsal
annotate 0.5.0/modules/samplesheet_check/README.md @ 1:365849f031fd
"planemo upload"
author | kkonganti |
---|---|
date | Mon, 05 Jun 2023 18:48:51 -0400 |
parents | |
children |
rev | line source |
---|---|
kkonganti@1 | 1 # NextFlow DSL2 Module |
kkonganti@1 | 2 |
kkonganti@1 | 3 ```bash |
kkonganti@1 | 4 SAMPLESHEET_CHECK |
kkonganti@1 | 5 ``` |
kkonganti@1 | 6 |
kkonganti@1 | 7 ## Description |
kkonganti@1 | 8 |
kkonganti@1 | 9 Checks the validity of the sample sheet in CSV format to make sure there are required mandatory fields. This module generally succeeds `GEN_SAMPLESHEET` module as part of the `cpipes` pipelines to make sure that all fields of the columns are properly formatted to be used as Groovy Map for `meta` which is of input type `val`. This module requires the `check_samplesheet.py` script to be present in the `bin` folder from where the NextFlow script including this module will be executed |
kkonganti@1 | 10 |
kkonganti@1 | 11 \ |
kkonganti@1 | 12 |
kkonganti@1 | 13 |
kkonganti@1 | 14 ### `input:` |
kkonganti@1 | 15 |
kkonganti@1 | 16 ___ |
kkonganti@1 | 17 |
kkonganti@1 | 18 Type: `path` |
kkonganti@1 | 19 |
kkonganti@1 | 20 Takes in the absolute UNIX path to the sample sheet in CSV format (`samplesheet`). |
kkonganti@1 | 21 |
kkonganti@1 | 22 Ex: |
kkonganti@1 | 23 |
kkonganti@1 | 24 ```groovy |
kkonganti@1 | 25 '/hpc/scratch/test/reads/output/gen_samplesheet/autogen_samplesheet.csv' |
kkonganti@1 | 26 ``` |
kkonganti@1 | 27 |
kkonganti@1 | 28 \ |
kkonganti@1 | 29 |
kkonganti@1 | 30 |
kkonganti@1 | 31 ### `output:` |
kkonganti@1 | 32 |
kkonganti@1 | 33 ___ |
kkonganti@1 | 34 |
kkonganti@1 | 35 Type: `path` |
kkonganti@1 | 36 |
kkonganti@1 | 37 NextFlow output of type `path` pointing to properly formatted CSV sample sheet (`csv`). |
kkonganti@1 | 38 |
kkonganti@1 | 39 \ |
kkonganti@1 | 40 |
kkonganti@1 | 41 |
kkonganti@1 | 42 #### `csv` |
kkonganti@1 | 43 |
kkonganti@1 | 44 Type: `path` |
kkonganti@1 | 45 |
kkonganti@1 | 46 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@1 | 47 |
kkonganti@1 | 48 \ |
kkonganti@1 | 49 |
kkonganti@1 | 50 |
kkonganti@1 | 51 #### `versions` |
kkonganti@1 | 52 |
kkonganti@1 | 53 Type: `path` |
kkonganti@1 | 54 |
kkonganti@1 | 55 NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process. |