English

Approximating LCS and Alignment Distance over Multiple Sequences

Data Structures and Algorithms 2021-10-26 v1

Abstract

We study the problem of aligning multiple sequences with the goal of finding an alignment that either maximizes the number of aligned symbols (the longest common subsequence (LCS)), or minimizes the number of unaligned symbols (the alignment distance (AD)). Multiple sequence alignment is a well-studied problem in bioinformatics and is used to identify regions of similarity among DNA, RNA, or protein sequences to detect functional, structural, or evolutionary relationships among them. It is known that exact computation of LCS or AD of mm sequences each of length nn requires Θ(nm)\Theta(n^m) time unless the Strong Exponential Time Hypothesis is false. In this paper, we provide several results to approximate LCS and AD of multiple sequences. If the LCS of mm sequences each of length nn is λn\lambda n for some λ[0,1]\lambda \in [0,1], then in O~m(nm2+1)\tilde{O}_m(n^{\lfloor\frac{m}{2}\rfloor+1}) time, we can return a common subsequence of length at least λ2n2+ϵ\frac{\lambda^2 n}{2+\epsilon} for any arbitrary constant ϵ>0\epsilon >0. It is possible to approximate the AD within a factor of two in time O~m(nm2)\tilde{O}_m(n^{\lceil\frac{m}{2}\rceil}). However, going below-2 approximation requires breaking the triangle inequality barrier which is a major challenge in this area. No such algorithm with a running time of O(nαm)O(n^{\alpha m}) for any α<1\alpha < 1 is known. If the AD is θn\theta n, then we design an algorithm that approximates the AD within an approximation factor of (23θ16+ϵ)\left(2-\frac{3\theta}{16}+\epsilon\right) in O~m(nm2+2)\tilde{O}_m(n^{\lfloor\frac{m}{2}\rfloor+2}) time. Thus, if θ\theta is a constant, we get a below-two approximation in O~m(nm2+2)\tilde{O}_m(n^{\lfloor\frac{m}{2}\rfloor+2}) time. Moreover, we show if just one out of mm sequences is (p,B)(p,B)-pseudorandom then, we get a below-2 approximation in O~m(nBm1+nm2+3)\tilde{O}_m(nB^{m-1}+n^{\lfloor \frac{m}{2}\rfloor+3}) time irrespective of θ\theta.

Keywords

Cite

@article{arxiv.2110.12402,
  title  = {Approximating LCS and Alignment Distance over Multiple Sequences},
  author = {Debarati Das and Barna Saha},
  journal= {arXiv preprint arXiv:2110.12402},
  year   = {2021}
}
R2 v1 2026-06-24T07:08:08.540Z