References & Citations
Computer Science > Data Structures and Algorithms
Title: Algorithms and Complexity on Indexing Founder Graphs
(Submitted on 25 Feb 2021 (v1), revised 5 Oct 2021 (this version, v5), latest version 10 Jun 2022 (v6))
Abstract: We study the problem of matching a string in a labeled graph. Previous research has shown that unless the Orthogonal Vectors Hypothesis (OVH) is false, one cannot solve this problem in strongly sub-quadratic time, nor index the graph in polynomial time to answer queries efficiently (Equi et al. ICALP 2019, SOFSEM 2021). These conditional lower-bounds cover even deterministic graphs with binary alphabet, but there naturally exist also graph classes that are easy to index: E.g. Wheeler graphs (Gagie et al. Theor. Comp. Sci. 2017) cover graphs admitting a Burrows-Wheeler transform -based indexing scheme. However, it is NP-complete to recognize if a graph is a Wheeler graph (Gibney, Thankachan, ESA 2019).
We propose an approach to alleviate the construction bottleneck of Wheeler graphs. Rather than starting from an arbitrary graph, we study graphs induced from multiple sequence alignments (MSAs). Elastic degenerate strings (Bernadini et al. SPIRE 2017, ICALP 2019) can be seen as such graphs, and we introduce here their generalization: elastic founder graphs. We first prove that even such induced graphs are hard to index under OVH. Then we introduce two subclasses, repeat-free and semi-repeat-free graphs, that are easy to index. We give a linear time algorithm to construct a repeat-free non-elastic founder graph from a gapless MSA, and (parameterized) near-linear time algorithms to construct semi-repeat-free (repeat-free, respectively) elastic founder graphs from general MSAs. Finally, we show that repeat-free elastic founder graphs admit a reduction to Wheeler graphs in polynomial time.
Submission history
From: Veli Mäkinen [view email][v1] Thu, 25 Feb 2021 12:47:13 GMT (2275kb,D)
[v2] Mon, 15 Mar 2021 08:33:24 GMT (768kb,D)
[v3] Wed, 17 Mar 2021 18:39:58 GMT (768kb,D)
[v4] Thu, 20 May 2021 11:19:30 GMT (1695kb,D)
[v5] Tue, 5 Oct 2021 11:26:25 GMT (443kb,D)
[v6] Fri, 10 Jun 2022 20:40:19 GMT (1291kb,D)
Link back to: arXiv, form interface, contact.