English

Computing the BWT and LCP array of a Set of Strings in External Memory

Data Structures and Algorithms 2020-12-07 v2

Abstract

Indexing very large collections of strings, such as those produced by the widespread next generation sequencing technologies, heavily relies on multistring generalization of the Burrows-Wheeler Transform (BWT): large requirements of in-memory approaches have stimulated recent developments on external memory algorithms. The related problem of computing the Longest Common Prefix (LCP) array of a set of strings is instrumental to compute the suffix-prefix overlaps among strings, which is an essential step for many genome assembly algorithms. In a previous paper, we presented an in-memory divide-and-conquer method for building the BWT and LCP where we merge partial BWTs with a forward approach to sort suffixes. In this paper, we propose an alternative backward strategy to develop an external memory method to simultaneously build the BWT and the LCP array on a collection of m strings of different lengths. The algorithm over a set of strings having constant length k has O(mkl) time and I/O volume, using O(k + m) main memory, where l is the maximum value in the LCP array.

Keywords

Cite

@article{arxiv.1705.07756,
  title  = {Computing the BWT and LCP array of a Set of Strings in External Memory},
  author = {Paola Bonizzoni and Gianluca Della Vedova and Yuri Pirola and Marco Previtali and Raffaella Rizzi},
  journal= {arXiv preprint arXiv:1705.07756},
  year   = {2020}
}

Comments

Theoretical Computer Science (2020). arXiv admin note: text overlap with arXiv:1607.08342

R2 v1 2026-06-22T19:54:46.021Z