Create BWA-mem2 index for reference genome
meta{:bash}
:map
Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]
fasta{:bash}
:file
Input genome fasta file
index{:bash}
bwamem2{:bash}
:string
BWA genome index files
*.{0123,amb,ann,bwt.2bit.64,pac}
versions_bwamem2{:bash}
${task.process}{:bash}
The name of the process
bwa-mem2 version | grep -o -E "[0-9]+(\.[0-9]+)+"{:bash}
:eval
The expression to obtain the version of the tool
versions{:bash}
BWA-mem2 is a software package for mapping DNA sequences against a large reference genome, such as the human genome.