Emit per-batch CRAM from dorado's native aligner; drop the merge step
--emit-cram (reference FASTA required) shrinks the per-chunk alignment artifacts to roughly half of BAM, and the label job now consumes the per-batch CRAMs directly, so the dataset-sized merged BAM intermediate is gone entirely. pysam opens the CRAMs with reference_filename; the rocm fallback keeps the fastq->minimap2->bam chain and the merged BAM.
This commit is contained in:
@@ -9,10 +9,11 @@
|
||||
strain-exact reference assemblies in the panel) + the Escherichia false-positive trap
|
||||
(Paenibacillus / Aeromonas traps are deferred until read sources exist — `unused_trap_species`).
|
||||
- Stage A: pod5 download (1-in-12 chunk downsampling) → dorado basecall (HAC, barcodes classified
|
||||
via `--kit-name SQK-RBK114-96`) → minimap2 → labels parquet → signal store (trap reads excluded
|
||||
from training) → 12-point arch/param ladder ({cnn, linatt} × {1M, 5M, 20M} × stride {4, 8}) →
|
||||
shuffled-label control → per-run test evaluation with the trap store (`custom_models test`)
|
||||
→ gate verdict (`custom_models gate` → `../data/ml_models/gate_verdict.json`).
|
||||
via `--kit-name SQK-RBK114-96`) with native alignment (`--reference` → per-batch CRAM, no merge
|
||||
step) → labels parquet → signal store (trap reads excluded from training) → 12-point arch/param
|
||||
ladder ({cnn, linatt} × {1M, 5M, 20M} × stride {4, 8}) → shuffled-label control → per-run test
|
||||
evaluation with the trap store (`custom_models test`) → gate verdict (`custom_models gate` →
|
||||
`../data/ml_models/gate_verdict.json`).
|
||||
- Stage B (after picking the Stage-A winner from the ladder `report.json`): windows ablation
|
||||
(store with `--max-windows-per-read 4`), robustness variants (barcode-level `holdout_runs`,
|
||||
`core_clade` 8-genera / optional `bacillus_group` restricted trainings) and the alignment
|
||||
|
||||
Reference in New Issue
Block a user