view 0.6.1/modules/mash/sketch/README.md @ 15:1972677994a6

"planemo upload"
author kkonganti
date Thu, 07 Sep 2023 10:27:12 -0400
parents 749faef1caa9
children
line wrap: on
line source
# NextFlow DSL2 Module

```bash
MASH_SKETCH
```

## Description

Run `mash sketch` on the input FASTQ or FASTA files, gzipped or unzipped.

\
 

### `input:`

___

Type: `tuple`

Takes in the following tuple of metadata (`meta`) and a list of reads of type `path` (`query`) per sample (`id:`).

Ex:

```groovy
[ 
    [ 
        id: 'FAL00870'
    ],
    [
        '/hpc/scratch/test/f1.fq.gz'
    ]
]
```

\
 

#### `meta`

Type: Groovy Map

A Groovy Map containing the metadata about the FASTQ file.

Ex:

```groovy
[ 
    id: 'FAL00870'
]
```

\
 

#### `query`

Type: `path`

NextFlow input type of `path` pointing to either FASTQ or FASTA files to be sketched.

\
 

### `output:`

___

Type: `tuple`

Outputs a tuple of metadata (`meta` from `input:`) and `mash sketch` files ending with suffix `.msh`.

\
 

#### `sketch`

Type: `path`

NextFlow output type of `path` pointing to the sketch (`*.msh`) file per sample (`id:`).

\
 

#### `stats`

Type: `path`

NextFlow output type of `path` pointing to the log of the `mash sketch` command per sample (`id:`).

\
 

#### `versions`

Type: `path`

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