bioRxivBioinformaticsPreprint
Dynamic μ-PBWT: Dynamic Run-length Compressed PBWT for Biobank Scale Data
Pramesh ShakyaiD, Ahsan SanaullahiD, Degui ZhiiD, Shaojie ZhangiD
Abstract
Durbins positional Burrows-Wheeler transform (PBWT) supports efficient haplotype matching and queries given a panel of haplotypes. It has been widely used for statistical phasing, imputation and identity-by-descent (IBD) detection. However, the original PBWT panel doesnt support dynamic updates when haplotypes need to be added or deleted from the panel. Dynamic-PBWT (d-PBWT) solved this problem but it is not memory efficient. While the memory constraint problem of the PBWT has been tackled by Syllable-PBWT and {micro}-PBWT, these are static data structures that do not allow updates. Additionally, Syllable-PBWT only supports long-match query and {micro}-PBWT only supports set-maximal match query, limiting their functionality in the compressed form. In this paper, we present Dynamic {micro}-PBWT (which can also be seen as compressed d-PBWT) that is memory efficient and supports dynamic updates. We run-length compress PBWT to achieve better compression rate and store the runs in the self-balancing trees to enable dynamic updates. We show that the number of updates per insertion or deletion in the tree at each site is constant regardless of the number of haplotypes in the panel and the updates can be made without decompressing the index. In addition, we use orders of magnitude less memory than d-PBWT. We also provide a long match query algorithm that can easily be extended back to the original {micro}-PBWT. Overall, the flexibility and space-efficiency of Dynamic {micro}-PBWT makes it a potential index data structure for biobank scale genetic data analyses. The source code for Dynamic {micro}-PBWT is available at https://github.com/ucfcbb/Dynamic-mu-PBWT.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- d-PBWT: dynamic positional Burrows-Wheeler transform
Ahsan Sanaullah, Degui Zhi, Shaojie Zhang·BioinformaticsPeer-reviewed·Feb 23, 2021
- μ-PBWT: Enabling the Storage and Use of UK Biobank Data on a Commodity Laptop
Davide Cozzi, Massimiliano Rossi, … Paola Bonizzoni·bioRxiv·Feb 15, 2023
- Compressed Data Structures for Population-Scale Positional Burrows-Wheeler Transforms
Paola Bonizzoni, Christina A. Boucher, … Massimiliano Rossi·bioRxiv·Sep 16, 2022
- Syllable-PBWT for space-efficient haplotype long-match query
Victor C. Wang, Ardalan Naseri, … Degui Zhi·BioinformaticsPeer-reviewed·Nov 28, 2022
- Haplotype-based Parallel PBWT for Biobank Scale Data
Kecong Tang, Ahsan Sanaullah, … Shaojie Zhang·Lecture notes in computer sciencePeer-reviewed·Oct 31, 2025
- Scaling the PBWT for Long-Range Shared Ancestry Detection in Large Haplotype Panels
Uwaise Ibna Islam, Davide Cozzi, … Christina A. Boucher·bioRxiv·Mar 15, 2026