Generic Non-recursive Suffix Array Construction
Open Access
- 13 April 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Algorithms
- Vol. 20 (2) , 1-42
Abstract
The suffix array is arguably one of the most important data structures in sequence analysis and consequently there is a multitude of suffix sorting algorithms. However, to this date the GSACA algorithm introduced in 2015 is the only known non-recursive linear-time suffix array construction algorithm (SACA). Despite its interesting theoretical properties, there has been little effort in improving GSACA ’s non-competitive real-world performance. There is a super-linear algorithm DSH , which relies on the same sorting principle and is faster than DivSufSort , the fastest SACA for over a decade. The purpose of this article is twofold: We analyse the sorting principle used in GSACA and DSH and exploit its properties to give an optimised linear-time algorithm, and we show that it can be very elegantly used to compute both the original extended Burrows-Wheeler transform ( eBWT ) and a bijective version of the Burrows-Wheeler transform ( BBWT ) in linear time. We call the algorithm “generic,” since it can be used to compute the regular suffix array and the variants used for the BBWT and eBWT . Our suffix array construction algorithm is not only significantly faster than GSACA but also outperforms DivSufSort and DSH . Our BBWT -algorithm is faster than or competitive with all other tested BBWT construction implementations on large or repetitive data, and our eBWT -algorithm is faster than all other programs on data that is not extremely repetitive.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (OH 53/7-1)
This publication has 20 references indexed in Scilit:
- Inducing Suffix and LCP Arrays in External MemoryACM Journal of Experimental Algorithmics, 2016
- Parallel External Memory Suffix Sorting2015
- SORTING CONJUGATES AND SUFFIXES OF WORDS IN A MULTISETInternational Journal of Foundations of Computer Science, 2014
- Practical linear-time O (1)-workspace suffix sorting for constant alphabetsACM Transactions on Information Systems, 2013
- Efficient Algorithm for Circular Burrows-Wheeler TransformLecture Notes in Computer Science, 2012
- An Extension of the Burrows Wheeler Transform and Applications to Sequence Comparison and Data Compression2005
- Space Efficient Linear Time Construction of Suffix Arrays2003
- Factorizing words over an ordered alphabetJournal of Algorithms, 1983
- Fast canonization of circular stringsJournal of Algorithms, 1981
- Free Differential Calculus, IV. The Quotient Groups of the Lower Central SeriesAnnals of Mathematics, 1958