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

Paola Bonizzoni, Gianluca Della Vedova, Yuri Pirola, Marco Previtali, Raffaella Rizzi
5/19/2017
5 citations
cs.DS

Official code: AlgoLab/bwt-lcp-em (3 stars, C, MIT, last commit 2020-10-29).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

AlgoLab/bwt-lcp-emOfficial100%
MIT

Disk-based approach to compute the BWT and the LCP of a set of strings

31C, MakefileMar 7, 20176 years agoMIT
bwtdiskexternal-memorylcp-array

Similar Papers

Cite this paper

@article{bonizzoni2017computing,
  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},
  year   = {2017},
  eprint = {1705.07756},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.07756}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.07756.svg)](https://codeofpaper.com/paper/1705.07756)

Discussion