bioRxivNeuroscience
Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data
Alessio Paolo BuccinoiD, Arjun SridhariD, David H. FengiD, Karel SvobodaiD, Joshua H. SiegleiD
Abstract
The scale of in vivo electrophysiology has expanded in recent years, with simultaneous recordings across thousands of electrodes now becoming routine. These advances have enabled a wide range of discoveries, but they also impose substantial computational demands. Spike sorting, the procedure that extracts spikes from extracellular voltage measurements, remains a major bottleneck: a dataset collected in a few hours can take days to spike sort on a single machine, and the field lacks rigorous validation of the many spike sorting algorithms and preprocessing steps that are in use. Advancing the speed and accuracy of spike sorting is essential to fully realize the potential of large-scale electrophysiology. Here, we present an end-to-end spike sorting pipeline that leverages parallelization to scale to large datasets. The same workflow can run reproducibly on individual workstations, high-performance computing clusters, or cloud environments, with computing resources tailored to each processing step to reduce costs and execution times. In addition, we introduce a benchmarking pipeline, also optimized for parallel processing, that enables systematic comparison of multiple sorting pipelines. Using this framework, we show that Kilosort4, a widely used spike sorting algorithm, outperforms Kilosort2.5 (Pachitariu et al. 2024). We also show that 7x lossy compression, which substantially reduces the cost of data storage, has minimal impact on spike sorting performance. Together, these pipelines address the urgent need for scalable and transparent spike sorting of electrophysiology data, preparing the field for the coming flood of multi-thousand-channel experiments.
- Citations
- 1
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
- Kilosort: realtime spike-sorting for extracellular electrophysiology with hundreds of channels
Marius Pachitariu, Nicholas Steinmetz, … Harris Kenneth D.·bioRxiv·Jun 30, 2016
- Opening the black box: a modular approach to spike sorting
Samuel Garcia, Chris Halcrow, … Pierre Yger·bioRxiv·Jun 1, 2026
- Fast and accurate spike sorting in vitro and in vivo for up to thousands of electrodes
Pierre Yger, Giulia L. B. Spampinato, … Olivier Marre·bioRxiv·Aug 4, 2016
- YASS: Yet Another Spike Sorter
JinHyung Lee, David Carlson, … Liam Paninski·bioRxiv·Jun 19, 2017
- Real-time spike sorting platform for high-density extracellular probes with ground-truth validation and drift correction
James Jaeyoon Jun, Catalin Mitelut, … T.D. Harris·bioRxiv·Jan 30, 2017
- SLAy-ing oversplitting errors in high-density electrophysiology spike sorting
Sai Koukuntla, Tate DeWeese, … Adam S. Charles·bioRxiv·Jun 20, 2025