ralphi: a deep reinforcement learning framework for haplotype assembly
Enzo BattistellaiD, Anant MaheshwariiD, Barış EkimiD, Bonnie BergeriD, Victoria PopiciD
Abstract
Haplotype assembly is the problem of reconstructing the combination of alleles on the maternally and paternally inherited chromosome copies. Individual haplotypes are essential to our understanding of how combinations of different variants impact phenotype. In this work, we focus on read-based haplotype assembly of individual diploid genomes, which reconstructs the two haplotypes directly from read alignments at variant loci. We introduce ralphi, a novel deep reinforcement learning framework for haplotype assembly, which integrates the representational power of deep learning with reinforcement learning to accurately partition read fragments into their respective haplotype sets. To set the reward objective for reinforcement learning, our approach uses the classic reduction of the problem to the maximum fragment cut formulation on fragment graphs, where nodes correspond to reads and edge weights capture the conflict or agreement of the reads at shared variant sites. We trained ralphi on a diverse dataset of fragment graph topologies derived from genomes in the 1000 Genomes Project. We show that ralphi consistently achieves lower error rates at comparable or longer haplotype block lengths over the state of the art for short and long ONT reads at varying coverage in standard human genome benchmarks. ralphi is available at https://github.com/PopicLab/ralphi.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 11.85
- Field percentile
- top 2%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- HapCHAT: Adaptive haplotype assembly for efficiently leveraging high coverage in long reads
Stefano Beretta, Murray Patterson, … Paola Bonizzoni·BMC BioinformaticsPeer-reviewed·Jul 3, 2018
- DipGNNome: Diploid de novo genome assembly with geometric deep learning and beam-search
Martin Schmitz, Lovro Vrček, … Mile Šikić·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2026
- HipHap: Haplotype Assignment and Confidence Scoring for Diploid Reference Genomes
Jakob Heinz, Maximillian G. Marin, … Heng Li·bioRxiv·Sep 29, 2026
- Accurate haplotype-resolved de novo assembly of human genomes with RFhap
Damariz Gonzalez, Gabriel Cabas, … Alex Di Genova·bioRxiv·Jan 30, 2026
- Selecting Reads for Haplotype Assembly
Sarah O. Fischer, Tobias Marschall·bioRxiv·Apr 6, 2016
- Haplotype-aware long-read error correction
Parvesh Barak, Daniel Gibney, Chirag Jain·DOAJ (DOAJ: Directory of Open Access Journals)Peer-reviewed·Jun 1, 2026