Finding consensus and optimal alignment of circular strings

  • Authors:
  • Taehyung Lee;Joong Chae Na;Heejin Park;Kunsoo Park;Jeong Seop Sim

  • Affiliations:
  • School of Computer Science and Engineering, Seoul National University, Seoul 151-742, South Korea;Department of Computer Science and Engineering, Sejong University, Seoul 143-747, South Korea;Department of Computer Science and Engineering, Hanyang University, Seoul 133-791, South Korea;School of Computer Science and Engineering, Seoul National University, Seoul 151-742, South Korea;Department of Computer and Information Engineering, Inha University, Incheon 402-751, South Korea

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2013

Quantified Score

Hi-index 5.23

Visualization

Abstract

Circular strings are different from linear strings in that the last symbol is considered to precede the first symbol. Even though circular strings are biologically important, only a few efforts have been made to solve computational problems on circular strings. In this paper, we introduce consensus problems for circular strings of length n and present the first non-trivial algorithms to find a consensus and an optimal alignment for circular strings by the Hamming distance. They are O(n^2logn)-time algorithms for three circular strings and an O(n^3logn)-time algorithm for four circular strings. Our algorithms are O(n/logn) times faster than the naive algorithms directly using the solutions for the linear consensus problems, which take O(n^3) time for three circular strings and O(n^4) time for four circular strings. This speedup was achieved by reducing the problems into correlations and by formulating and solving systems of linear equations. Moreover, our algorithms use only O(n) space.