English

Chaining of Maximal Exact Matches in Graphs

Data Structures and Algorithms 2023-07-06 v3

Abstract

We show how to chain maximal exact matches (MEMs) between a query string QQ and a labeled directed acyclic graph (DAG) G=(V,E)G=(V,E) to solve the longest common subsequence (LCS) problem between QQ and GG. We obtain our result via a new symmetric formulation of chaining in DAGs that we solve in O(m+n+k2V+E+kNlogN)O(m+n+k^2|V| + |E| + kN\log N) time, where m=Qm=|Q|, nn is the total length of node labels, kk is the minimum number of paths covering the nodes of GG and NN is the number of MEMs between QQ and node labels, which we show encode full MEMs.

Keywords

Cite

@article{arxiv.2302.01748,
  title  = {Chaining of Maximal Exact Matches in Graphs},
  author = {Nicola Rizzo and Manuel Cáceres and Veli Mäkinen},
  journal= {arXiv preprint arXiv:2302.01748},
  year   = {2023}
}

Comments

17 pages, 2 figures