,
Ben Langmead
Creative Commons Attribution 4.0 International license
The move structure represents permutations with long contiguously permuted intervals in compressed space with optimal query time. They have become an important feature of compressed text indexes using space proportional to the number of Burrows-Wheeler Transform (BWT) runs, often applied in genomics. This is in thanks not only to theoretical improvements over past approaches, but great cache efficiency and average case query time in practice. This is true even without using the worst case guarantees provided by the interval splitting balancing of the original result. In this paper, we show that an even simpler type of splitting, length capping by truncating long intervals, bounds the average move structure query time to optimal whilst obtaining a superior construction time than the traditional approach. This also proves constant query time when amortized over a full traversal of a single cycle permutation from an arbitrary starting position. Such a scheme has surprising benefits both in theory and practice. For a move structure with r runs over a domain n, we replace all O(r log n)-bit components to reduce the overall representation by O(r log r)-bits. The worst case query time is also improved to O(log n/r) without balancing. An O(r)-time and space construction lets us apply the method to run-length encoded BWT (RLBWT) permutations such as LF and ϕ to obtain optimal-time algorithms for BWT inversion and suffix array (SA) enumeration in O(r) working space. Finally, we introduce the Orbit library, providing flexible plug and play move structure support, and use it to evaluate our splitting approach. Experiments find length capping construction is faster and uses less memory than balancing, and results in faster move structure queries: up to ∼ 17 times faster when compared to an unbalanced representation of ϕ. We also see a space reduction in practice, with at least a ∼ 40% disk size decrease for LF across large repetitive genomic collections when compared to a balanced/unbalanced move structure.
@InProceedings{brown_et_al:LIPIcs.SEA.2026.9,
author = {Brown, Nathaniel K. and Langmead, Ben},
title = {{Bounding the Average Move Structure Query for Faster and Smaller RLBWT Permutations}},
booktitle = {24th International Symposium on Experimental Algorithms (SEA 2026)},
pages = {9:1--9:15},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-422-2},
ISSN = {1868-8969},
year = {2026},
volume = {371},
editor = {Aum\"{u}ller, Martin and Finocchi, Irene},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SEA.2026.9},
URN = {urn:nbn:de:0030-drops-260136},
doi = {10.4230/LIPIcs.SEA.2026.9},
annote = {Keywords: Move Structure, Burrows-Wheeler Transform, Permutation}
}
archived version