bioRxivPreprintOpen accessbioinformatics

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