Align reads to a reference genome using YARA
meta
:map
Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]
reads
:file
List of input FastQ files of size 1 and 2 for single-end and paired-end data, respectively.
meta2
Groovy Map containing index information e.g. [ id:‘test’ ]
index
YARA genome index files
bam
*.mapped.bam
Sorted BAM file
*.{bam}
bai
*.mapped.bam.bai
Sorted BAM file index
*.{bai}
versions_yara
${task.process}
:string
The name of the process
yara
The name of the tool
yara_mapper --version 2>&1 | grep 'yara_mapper version' | sed 's/^.*yara_mapper version: //; s/ .*\$//'
:eval
The expression to obtain the version of the tool
versions_samtools
samtools
samtools --version 2>&1 | head -n1 | sed 's/^.*samtools //'
versions
Yara is an exact tool for aligning DNA sequencing reads to reference genomes.