view 0.7.0/modules/mash/sketch/README.md @ 21:4ce0e079377d tip

planemo upload
author kkonganti
date Mon, 15 Jul 2024 12:01:00 -0400
parents 0e7a0053e4a6
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.