Description

Generate aligner index for a reference genome. Please note, this workflow requires input CHANNELS. Input values will cause errors

Input

name
description
pattern

ch_fasta

Reference genome fasta file.

Structure: [ val(meta), path(fasta) ]

ch_altliftover

Sam formatted liftover file for the reference genome alt contigs.
Only used if the aligner is snap.
See: https://github.com/lh3/bwa/blob/master/README-alt.md
Download from: https://sourceforge.net/projects/bio-bwa/files/bwakit

Structure: [ val(meta2), path(altliftover) ]

val_aligner

Aligner to use for alignment

Output

name
description
pattern

index

Aligner index.

Structure: [ val(meta), path(index) ]