Scalable high-performance single cell data analysis with BPCells
Benjamin E. Parks, William James Greenleaf · bioRxiv (Cold Spring Harbor Laboratory) · 2025
The growth of single-cell datasets to multi-million cell atlases has uncovered major scalability problems for single-cell analysis software. Here, we present BPCells, a package for high-performance single-cell analysis of RNA-seq and ATAC-seq datasets. BPCells uses disk-backed streaming compute algorithms to reduce memory requirements by nearly 70-fold compared to in-memory workflows with little to no loss of execution speed. BPCells also introduces high-performance compressed formats based on bitpacking compression for ATAC-seq fragment files and single-cell sparse matrices. These novel compression algorithms help to accelerate disk-backed analysis by reducing data transfer from disk, while providing the lowest computational overhead of all compression algorithms tested. Using BPCells, we perform normalization and PCA of a 44 million cell dataset on a laptop, demonstrating that BPCells makes working with the largest contemporary single-cell datasets feasible on modest hardware, while leaving headroom on servers for future datasets an order of magnitude larger.
Cited by 20 works. doi:10.1101/2025.03.27.645853
Authors
References
- Regularization Paths for Generalized Linear Models via Coordinate Descent
- SciPy 1.0: fundamental algorithms for scientific computing in Python
- Integrating single-cell transcriptomic data across different conditions, technologies, and species
- SCANPY: large-scale single-cell gene expression data analysis
- Software for Computing and Annotating Genomic Ranges
- Transposition of native chromatin for fast and sensitive epigenomic profiling of open chromatin, DNA-binding proteins and nucleosome position
- Normalization and variance stabilization of single-cell RNA-seq data using regularized negative binomial regression
- Dictionary learning for integrative, multimodal and scalable single-cell analysis
- Why Modern CPUs Are Starving and What Can Be Done about It
- Deep generative modeling for single-cell transcriptomics