Arrow Research search
Back to TCS

TCS 2017

A fast algorithm for the all-pairs suffix–prefix problem

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

The all-pairs suffix–prefix problem occurs as a subproblem of DNA sequence assembly where it is the most time-consuming part of the whole assembly. Although there are algorithms for the all-pairs suffix–prefix problem which are optimal in the asymptotic time complexity, they are slower than SOF and Readjoiner which are state-of-the-art algorithms used in practice. In this paper we present an algorithm for the all-pairs suffix–prefix problem that uses a simple data structure for storing input strings and advanced algorithmic techniques for matching, which together lead to fast running time in practice. Our algorithm is 14 times faster than SOF and 18 times faster than Readjoiner on average in real datasets and random datasets.

Authors

Keywords

  • All-pairs suffix–prefix problem
  • Algorithm engineering
  • DNA sequence assembly

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
1135764861537110507
v2026.09.13