Algorithms for Molecular Biology (Sep 2020)

gsufsort: constructing suffix arrays, LCP arrays and BWTs for string collections

  • Felipe A. Louza,
  • Guilherme P. Telles,
  • Simon Gog,
  • Nicola Prezza,
  • Giovanna Rosone

DOI
https://doi.org/10.1186/s13015-020-00177-y
Journal volume & issue
Vol. 15, no. 1
pp. 1 – 5

Abstract

Read online

Abstract Background The construction of a suffix array for a collection of strings is a fundamental task in Bioinformatics and in many other applications that process strings. Related data structures, as the Longest Common Prefix array, the Burrows–Wheeler transform, and the document array, are often needed to accompany the suffix array to efficiently solve a wide variety of problems. While several algorithms have been proposed to construct the suffix array for a single string, less emphasis has been put on algorithms to construct suffix arrays for string collections. Result In this paper we introduce gsufsort, an open source software for constructing the suffix array and related data indexing structures for a string collection with N symbols in O(N) time. Our tool is written in ANSI/C and is based on the algorithm gSACA-K (Louza et al. in Theor Comput Sci 678:22–39, 2017), the fastest algorithm to construct suffix arrays for string collections. The tool supports large fasta, fastq and text files with multiple strings as input. Experiments have shown very good performance on different types of strings. Conclusions gsufsort is a fast, portable, and lightweight tool for constructing the suffix array and additional data structures for string collections.

Keywords