Algorithms for Molecular Biology · 2017 · 20 citations · 29 references
ComputingComputer EngineeringComputer ScienceAlgorithmsData StructuresMemoryData Structure AlgorithmsExternal Memory AlgorithmsExternal Memory Data StructuresMemory HierarchyMemory Hierarchy OptimizationString AlgorithmsExternal Memory HeapsExternal Memory ModelExternal Memory SortingExternal Memory String AlgorithmsExternal Memory Suffix ArraysExternal Memory Suffix TreesLongest Common SubstringString Indexing
Suffix arrays, augmented by additional data structures, allow solving efficiently many string processing problems. The external memory construction of the generalized suffix array for a string collection is a fundamental task when the size of the input collection or the data structure exceeds the available internal memory. In this article we present and analyze $$\mathsf {eGSA}$$ [introduced in CPM (External memory generalized suffix and $$\mathsf {LCP}$$ arrays construction. In: Proceedings of CPM. pp 201–10, 2013)], the first external memory algorithm to construct generalized suffix arrays augmented with the longest common prefix array for a string collection. Our algorithm relies on a combination of buffers, induced sorting and a heap to avoid direct string comparisons. We performed experiments that covered different aspects of our algorithm, including running time, efficiency, external memory access, internal phases and the influence of different optimization strategies. On real datasets of size up to 24 GB and using 2 GB of internal memory, $$\mathsf {eGSA}$$ showed a competitive performance when compared to $$\mathsf {eSAIS}$$ and $$\mathsf {SAscan}$$ , which are efficient algorithms for a single string according to the related literature. We also show the effect of disk caching managed by the operating system on our algorithm. The proposed algorithm was validated through performance tests using real datasets from different domains, in various combinations, and showed a competitive performance. Our algorithm can also construct the generalized Burrows-Wheeler transform of a string collection with no additional cost except by the output time.
29
A Block-sorting Lossless Data Compression Algorithm
Michael T. Burrows, D. J. Wheeler · 1994 · 2.4K citations
Suffix Arrays: A New Method for On-Line String Searches
Udi Manber, Gene Myers · SIAM Journal on Computing · 1993 · 2K citations
Linear work suffix array construction
Juha Kärkkäinen, Peter Sanders, Stefan Burkhardt · Journal of the ACM · 2006 · 401 citations