Billi: Accurate and Scalable Bubble Detection in Pangenome Graphs
S. G. Bhat, D. Mahajan, C. Jain
Key points
From the paper's conclusion- We implemented our algorithms in the tool Billi.
Abstract
A key application of pangenome graphs is the characterization of small and large genomic variants by enumerating bubble-like structures in the graph. Several formalizations of bubbles have been proposed. Superbubbles and ultrabubbles are two such formalizations, but both exclude cyclic subgraphs. Representing cyclic structures is essential for capturing complex genomic variation, such as inversions. Other definitions that accommodate cycles do not guarantee that overlapping bubbles are strictly nested. This makes it difficult to organize variants hierarchically and distinguish complex variants from their constituent subvariants. We introduce two formalizations, called panbubble and hairpin, that accommodate cyclic subgraphs. We prove that both satisfy the strict nesting property. In our theoretical analysis and algorithm design, we leverage an auxiliary undirected graph representation derived from the bidirected pangenome graph, enabling us to exploit established graph-theoretic algorithms and properties. We then present an exact O(|V|^2(|V| + |E|)-time algorithm for detecting all panbubbles and hairpins in a bidirected graph G = (V, E). In addition, we propose a heuristic that produces the same output as the exact algorithm on all tested graphs and scales to both the first and second releases of the Human Pangenome Reference Consortium. We implemented our algorithms in the tool Billi. At a known recurrent inversion locus on the human Y chromosome, Billi recovers the inversion together with its nested variants, whereas existing bubble-detection methods miss part of the variation or fail to correctly represent the nesting relationships among variants.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A rooted tree framework for linear time ultrabubble detectionarXiv · 2026
- Exploring and visualizing complex pangenome graphs with PanAbyss.Genome research · 2026
- Defining and cataloging variants in pangenome graphs.Cell genomics · 2026
- SaVanache: indexing and visualizing pangenome variation graphsbioRxiv · 2026
- PangyPlot: multi-scale interactive visualization of pangenome variation graphs.Bioinformatics (Oxford, England) · 2026
- Somatic structural variation discovery on cancer pangenome graphsbioRxiv · 2026