Optimal-Time Mapping in Run-Length Compressed PBWT
Abstract
The Positional Burrows--Wheeler Transform (PBWT) is a data structure designed for efficiently representing and querying large collections of sequences, such as haplotype panels in genomics. Forward and backward stepping operations -- analogues to LF- and FL-mapping in the traditional BWT -- are fundamental to the PBWT, underpinning many algorithms based on the PBWT for haplotype matching and related analyses. Although the run-length encoded variant of the PBWT (also known as the μ-PBWT) achieves O()-word space usage, where is the total number of runs, no data structure supporting both forward and backward stepping in constant time within this space bound was previously known. In this paper, we consider the multi-allelic PBWT that is extended from its original binary form to a general ordered alphabet \0, …, σ-1\. We first establish bounds on the size and then introduce a new O()-word data structure built over a list of haplotypes \S1, …, S\, each of length , that supports constant-time forward and backward stepping. We further revisit two key applications -- haplotype retrieval and prefix search -- leveraging our efficient forward stepping technique. Specifically, we design an O()-word space data structure that supports haplotype retrieval in O( h + ) time. For prefix search, we present an O( + )-word data structure that answers queries in O(m' σ + ) time, where m' denotes the length of the longest common prefix returned and denotes the number of haplotypes prefixed the longest prefix.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.