Nature CommunicationsBioinformaticsPeer-reviewed journal article
Scarf: A toolkit for memory efficient analysis of large-scale single-cell genomics data
Parashar DhapolaiD, Johan RodheiD, Rasmus OlofzoniD, Thomas BonaldiD, Eva Erlandsson, Shamit SonejiiD, Göran KarlssoniD
Abstract
The increasing capacity to perform large-scale single-cell genomic experiments continues to outpace the computational requirements to efficiently handle growing datasets. Herein we present Scarf, a modularly designed Python package that seamlessly interoperates with other single-cell toolkits and allows for memory-efficient single-cell analysis of millions of cells on a laptop or low-cost devices like single board computers. We demonstrate Scarfs memory and compute-time efficiency by applying it to the largest existing single-cell RNA-Seq and ATAC-Seq datasets. Scarf wraps memory-efficient implementations of a graph-based t-stochastic neighbour embedding and hierarchical clustering algorithm. Moreover, Scarf performs accurate reference-anchored mapping of datasets while maintaining memory efficiency. By implementing a novel data downsampling algorithm, Scarf additionally can generate representative sampling of cells from a given dataset wherein rare cell populations and lineage differentiation trajectories are conserved. Together, Scarf provides a framework wherein any researcher can perform advanced processing, downsampling, reanalysis, and integration of atlas-scale datasets on standard laptop computers.
- Citations
- 30
- FWCI
- 2.20
- Field percentile
- top 10%
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
- SingleRust: A High-Performance Toolkit for Single-Cell Data Analysis at Scale
Ian Ferenc Diks, Matthias Flotho, Andreas Keller·bioRxiv·Aug 4, 2025
- Atlas-scale single-cell analysis beyond in-memory paradigm with scAtlasPy
Han Xu, Yangzhan Ye, … Lin Gao·bioRxiv·Sep 8, 2026
- Scalable high-performance single cell data analysis with BPCells
Benjamin E. Parks, William James Greenleaf·bioRxiv·Mar 27, 2025
- PARC: ultrafast and accurate clustering of phenotypic data of millions of single cells
Shobana V. Stassen, Dickson M. D. Siu, … Kevin K. Tsia·BioinformaticsPeer-reviewed·Jan 16, 2020
- SC3s - efficient scaling of single cell consensus clustering to millions of cells
Fu Xiang Quah, Martin Hemberg·BMC BioinformaticsPeer-reviewed·Dec 11, 2022
- Scanpy for analysis of large-scale single-cell gene expression data
F. Alexander Wolf, Philipp Angerer, Fabian Joachim Theis·Genome biologyPeer-reviewed·Feb 6, 2018