view 0.6.1/modules/kma/index/README.md @ 13:74baf1a6c3bd

"planemo upload"
author kkonganti
date Tue, 05 Sep 2023 13:04:15 -0400
parents 749faef1caa9
children
line wrap: on
line source
# NextFlow DSL2 Module

```bash
KMA_INDEX
```

## Description

Run `kma index` alinger on input FASTA files.

\
 

### `input:`

___

Type: `tuple`

Takes in the following tuple of metadata (`meta`) and a FASTA file of type `path` (`fasta`) per sample (`id:`).

Ex:

```groovy
[ 
    [ 
        id: 'FAL00870',
    ],
    '/path/to/FAL00870_contigs.fasta'
]
```

\
 

#### `meta`

Type: Groovy Map

A Groovy Map containing the metadata about the FASTA file.

Ex:

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

\
 

#### `fasta`

Type: `path`

NextFlow input type of `path` pointing to the FASTA file on which the `kma index` command should be run.

\
 

### `output:`

___

Type: `tuple`

Outputs a tuple of metadata (`meta` from `input:`) and a folder containing `kma index` files.

\
 

#### `idx`

Type: `path`

NextFlow output type of `path` pointing to the folder containing `kma index` files per sample (`id:`).

\
 

#### `versions`

Type: `path`

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