μ-PBWT: Enabling the Storage and Use of UK Biobank Data on a Commodity Laptop
Davide CozziiD, Massimiliano RossiiD, Simone RubinacciiD, Dominik KöppliD, Christina A. BoucheriD, Paola BonizzoniiD
Abstract
MotivationThe positional Burrows-Wheeler Transform (PBWT) has been introduced as a key data structure for indexing haplotype sequences with the main purpose of finding maximal haplotype matches in h sequences containing w variation sites in [Formula]-time with a significant improvement over classical quadratic time approaches. However the original PBWT data structure does not allow queries over the modern biobank panels of haplotypes consisting of several millions of haplotypes, as they must be kept entirely in memory. ResultsIn this paper, we present a method for constructing the run-length encoded PBWT for memory efficient haplotype matching. We implement our method, which we refer to as -PBWT, and evaluate it on datasets of 1000 Genome Project and UK Biobank data. Our experiments demonstrate that the -PBWT reduces the memory usage up to a factor of 25 compared to the best current PBWT-based indexing. In particular, -PBWT produces an index that stores high-coverage whole genome sequencing data of chromosome 20 in half the space of its BCF file. In addition, -PBWT is able to index a dataset with 2 million haplotypes and 2.3 million sites in 4 GB of space, which can be uploaded in 20 seconds on a commodity laptop. -PBWT is an adaptation of techniques for the run-length compressed BWT for the PBWT (RLPBWT) and it is based on keeping in memory only a small representation of the RLPBWT that still allows the efficient computation of set maximal matches (SMEMs) over the original panel. AvailabilityOur implementation is open source and available at https://github.com/dlcgold/muPBWT. The binary is available at https://bioconda.github.io/recipes/mupbwt/README.html ContactPaola Bonizzoni paola.bonizzoni@unimib.it
02 /Specification & Classification
Click any tag to browse matching papersReproducibility 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
- Compressed Data Structures for Population-Scale Positional Burrows-Wheeler Transforms
Paola Bonizzoni, Christina A. Boucher, … Massimiliano Rossi·bioRxiv·Sep 16, 2022
- Dynamic μ-PBWT: Dynamic Run-length Compressed PBWT for Biobank Scale Data
Pramesh Shakya, Ahsan Sanaullah, … Shaojie Zhang·bioRxiv·Feb 4, 2025
- Haplotype-based Parallel PBWT for Biobank Scale Data
Kecong Tang, Ahsan Sanaullah, … Shaojie Zhang·Lecture notes in computer sciencePeer-reviewed·Oct 31, 2025
- Syllable-PBWT for space-efficient haplotype long-match query
Victor C. Wang, Ardalan Naseri, … Degui Zhi·BioinformaticsPeer-reviewed·Nov 28, 2022
- d-PBWT: dynamic positional Burrows-Wheeler transform
Ahsan Sanaullah, Degui Zhi, Shaojie Zhang·BioinformaticsPeer-reviewed·Feb 23, 2021
- Haplotype Matching with GBWT for Pangenome Graphs
Ahsan Sanaullah, Seba Villalobos, … Shaojie Zhang·bioRxiv·Feb 3, 2025