Closed jamez-eh closed 9 months ago
Was the original alignment done with minimap2 or with dorado aligner as well? If it was minimap2 what options were used for that run?
My initial guess is that if the original BAM had some secondary/supplementary alignments, dorado aligner is treating each record as a new read and re-aligning all of those thereby creating duplicate primary/secondary/supplementary alignments for each of them. Have you tried filtering only the primary alignments from the original BAM and aligning only those?
The original was created by dorado when basecalling. I am running with all default settings, which are the same as when basecalling. I have not tried filtering the bam for primary reads, but also suspect that might be what is occurring here.
Gotcha - unfortunately dorado isn't designed to filter out duplicate records if the input data has duplicates. My suggestion would be to remove duplicate entries before re-aligning the BAM files
Hello,
I am testing
dorado aligner
to carry across methylation tags between bams when realigning mod bams after basecalling. I am using Dorado 0.3.4The original bam was aligned with /projects/alignment_references/9606/hg19a/genome/minimap2-2.15-map-ont/hg19a_map-ont.mmi and I am attempting to reproduce it. It successfully transfers over the modification tags.
In the heads of these bams, filtered for primary alignments I see the same alignments, but also duplicates and reorientations:
Original:
Realigned:
Do you have any idea what is happening here any any advice on how to fix this?
Thank you,
James