Align with dorado's native --reference aligner instead of piping SAM to minimap2

htslib rejected minimap2's re-emitted dorado SAM records on the runner
('CIGAR and query sequence are of different length'), killing the
label_pod5_batch pipe. dorado aligns during basecalling (--reference
<mmi> + --mm2-opts '-x map-ont -N 10'), is documented to cost no
basecalling throughput, and its own writer preserves the per-record
BC/RG barcode tags that bam2annotation needs for source_run. The rocm
fallback keeps the fastq->minimap2 chain.
This commit is contained in:
Tom Kasper
2026-10-16 20:03:34 +01:00
parent 49f1f396c6
commit 2ce1435a96
2 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ hac_min_q: 9 # "" or 0 to disable
fast_model_name: "dna_r10.4.1_e8.2_400bps_fast@v5.2.0" # v2 alignment baseline
fast_benchmarks_file: "" # add path if available
fast_min_q: 8 # "" or 0 to disable
minimap_extra: "-N 10" # secondary alignments kept for label-QC visibility
minimap_extra: "-N 10" # minimap2 secondary alignments kept for label-QC visibility (rocm branch)
dorado_mm2_opts: "-x map-ont -N 10" # mm2 options for dorado's native aligner (--reference; overrides the lr:hq default)
# dataset wiring
pod5_dataset: "nomiss_96BC_P2I_SUP_2026"