Align reads to a reference genome using bowtie2 then sort with samtools
meta
Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]
ch_reads
List of input FastQ files of size 1 and 2 for single-end and paired-end data, respectively.
ch_index
Bowtie2 genome index files
*.ebwt
save_unaligned
Save reads that do not map to the reference (true) or discard them (false) (default: false)
sort_bam
Use samtools sort (true) or samtools view (false)
ch_fasta
Reference fasta file
*.{fasta,fa}
bam
Output BAM file containing read alignments
*.{bam}
versions
File containing software versions
versions.yml
fastq
Unaligned FastQ files
*.fastq.gz
log
Alignment log
*.log