Description
Map reads from a FASTx file to a reference in chunks, outputting the alignments in BAM or PAF format. If BAM alignment is chosen, the output BAM files are merged.
Input
Assemblies to map reads to, in FASTA format. Can be gzipped. Structure: [ val(meta), path(fasta) ]
Reads to map to assemblies, in FASTA or FASTQ format. Can be gzipped. Structure: [ val(meta), path(fasta) ] or [ val(meta), [ path(fasta1), path(fasta2) ... ] ]
Number of reads to map per chunk of FASTA file. A sensible value for long reads might be 1,000,000.
Output
Channel containing index files for output BAM Structure: [ val(meta), path(index) ]
*.{bai,csi,crai} Components
-
fastxalign/pyfastxindex
sanger-tol/nf-core-modules -
fastxalign/minimap2align
sanger-tol/nf-core-modules -
bam_samtools_merge_markdup
sanger-tol/nf-core-modules -
minimap2/index
nf-core/modules