bioRxivBioinformaticsPreprint
Rapid-PFP: Accelerating Prefix-Free Parsing with GPU Parallelism
Eddie FerroiD, Tyler Pencinger, Oded GreeniD, Mahsa LotfollahiiD, Christina A. BoucheriD
Abstract
Prefix-Free Parsing (PFP) is widely used in genomic data processing to construct compressed indexes on massive, highly repetitive datasets. However, existing CPU implementations are constrained by sequential bottlenecks, limiting their ability to scale to large-scale modern pangenomic collections. We introduce RAPID-PFP, a redesigned implementation of the PFP algorithm that takes advantage of the massive parallelism and high memory bandwidth of modern GPUs. RAPID-PFP parallelizes trigger-string detection, phrase parsing, dictionary construction, and parse generation through custom CUDA kernels and GPU-resident data structures built using cuDF, CuPy, and Numba-CUDA. The algorithm operates entirely within GPU memory, minimizes host interaction, and dynamically adapts to available VRAM, enabling efficient processing in a range of hardware configurations. Across E. coli and Human Pangenome (HPRC) datasets, RAPID-PFP produces identical output to established CPU pipelines while delivering an order-of-magnitude acceleration. On 3,682 E. coli assemblies, RAPID-PFP reduces runtime from 552 seconds to 17 seconds compared to PFP-FL (32.1 times) and from 1,078 seconds to 17 seconds compared to PFP-ITL (62.6 times). On the complete 46-sample HPRC dataset, RAPID-PFP achieves a 33.4 time speedup and successfully processes scales that PFP-ITL cannot handle. Performance improves with dataset size, reflecting that PFP maps naturally onto thousands of CUDA cores, yielding sublinear scaling relative to CPU implementations. RAPID-PFP demonstrates that foundational compressed-indexing algorithms can be re-engineered for accelerators, enabling scalable and practical preprocessing for large-scale genomic indexing workflows.
- organism: E. coli
- organism: human
- assay: whole-genome sequencing
- research focus: benchmarking
- approach: experimental assay
- 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
- Measuring Genomic Data with PFP
Simone Lucà, Francesco Masillo, Zsuzsanna Lipták·Computational Biology and ChemistryPeer-reviewed·Dec 30, 2025
- Embarrassingly_FASTA: Enabling Recomputable, Population-Scale Pangenomics by Reducing Commercial Genome Processing Costs from $100 to less than $1
Darren J Walsh, eMalick G. Njie·bioRxiv·Feb 20, 2026
- Prefix-Free Parsing for Building Big BWTs
Christina A. Boucher, Travis Gagie, … Taher Mun·Algorithms for Molecular BiologyPeer-reviewed·May 24, 2019
- GeneF: A High-Performance Processing-in-Memory Accelerator for Efficient DNA Alignment
Kanchan Verandani·International Conference on Intelligent Computing, Communication, Networking and Services (ICCNS)Peer-reviewed·Sep 1, 2025
- Building a Pangenome Alignment Index via Recursive Prefix-Free Parsing
Marco Oliva, Travis Gagie, Christina A. Boucher·bioRxiv·Jan 26, 2023
- WFA-GPU: Gap-affine pairwise alignment using GPUs
Quim Aguado-Puig, Max Doblas, … Miquel Moretó·bioRxiv·Apr 18, 2022