pipelines-docs

Alignment with minimap2

For alignment, the pipeline uses minimap2 on each FASTQ file. The reads are then sorted by genomic coordinates, and an integrity check is performed on the resulting BAM file.

Aligning and Sorting

Align and sort reads
sentieon minimap2 -Y -L --eqx --secondary=no -ax map-ont reference.fasta reads.fastq |
  samtools sort -o sorted.bam -

Arguments:

Integrity Check

To confirm the integrity of the alignment BAM file, in-house Python code checks for the presence of the 28-byte empty block representing the EOF marker in BAM format.

Implementation with Sentieon

Sentieon implementation replicates the original minimap2 code. The pipeline is using Sentieon version 202308.01, corresponding to minimap2 version 2.26.

Source Code

All the relevant code can be accessed in the GitHub repository:


Home - Overview - Alignment - Read Groups - Methylation and Tags