bioRxivBioinformaticsPreprint
An Efficient Graph Algorithm for Diploid Local Ancestry Inference
Abstract
In this paper, we present diploid sequence graphs, graphs whose paths encode pairs of haplotypes. We describe an efficient algorithm for creating a diploid graph from a directed acyclic (haploid) sequence graph, such that the diploid graph represents all the possible pairings of haplotypes present in the sequence graph and their similarity relationships. Starting with the sequence graph, our method uses a graph decomposition approach based on an extension of the SPQR-tree to systematically identify structural patterns that reduce redundancy while preserving genetic variation. We develop a polynomial-time algorithm that parsimoniously enumerates all disjoint paths with shared endpoints in two-terminal directed acyclic graphs. In the future, we envisage that diploid graphs may enable more accurate modeling of recombination, phasing, and variation-aware alignment in diploid genomes.
- Citations
- 1
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
- Haplotype-resolved diploid genome inference on pangenome graphs
Ghanshyam Chandra, William T. Doan, Daniel Gibney·bioRxiv·Nov 26, 2025
- Haplotype-aware sequence alignment to pangenome graphs
Ghanshyam Chandra, Daniel Gibney, Chirag Jain·Genome ResearchPeer-reviewed·Sep 1, 2024
- CHOP: Haplotype-aware path indexing in population graphs
Tom Mokveld, Jasper Linthorst, … Marcel J. T. Reinders·Genome biologyPeer-reviewed·Mar 11, 2020
- Phasing Diploid Genome Assembly Graphs with Single-Cell Strand Sequencing
Mir Henglin, Maryam Ghareghani, … Tobias Marschall·Genome biologyPeer-reviewed·Oct 10, 2024
- RecGraph: adding recombinations to sequence-to-graph alignments
Jorge Avila Cartes, Paola Bonizzoni, … Francesco Porto·bioRxiv·Oct 27, 2022
- A forest is more than its trees: haplotypes and inferred ARGs
Halley Fritze, Nathaniel S. Pope, … Peter L. Ralph·GeneticsPeer-reviewed·Sep 23, 2025