Faster Iterative $\phi$ Queries on the Positional BWT
Abstract
The Positional Burrows-Wheeler Transform (PBWT) is a fundamental data structure for the efficient representation and analysis of large-scale haplotype panels. For a panel of sequences over sites, a key operation is the query, which returns the haplotype index immediately preceding in co-lexicographic order at site . Efficient support for iterative queries is essential for haplotype matching and variation analysis. In this work, we introduce a simple and novel decomposition scheme that decomposes each haplotype row into sub-intervals, called refined segments, within which a haplotype's co-lexicographic predecessor for the sites remains unchanged. We show that refined segments satisfy two key properties: (i) each segment associated with overlaps with at most a constant number of segments of , and (ii) the total number of segments is bounded by , where denotes the number of runs in the PBWT. Building on this decomposition, we present two space-time tradeoffs for supporting iterative queries: (i) a structure using bits of space that answers iterative queries in time, where , and (ii) a more compact structure using bits of space that supports queries in time. Prior to our work, supporting these queries required bits of space and time. Our second tradeoff is expected to be effective in practice for modern genomic datasets, where the number of haplotypes is typically much smaller than the number of sites.
Cite
@article{arxiv.2605.04244,
title = {Faster Iterative $\phi$ Queries on the Positional BWT},
author = {Paola Bonizzoni and Travis Gagie and Younan Gao},
journal= {arXiv preprint arXiv:2605.04244},
year = {2026}
}