OSCR

Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data.

Code ↔ Paper

4 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 4 matches
  1. [1] § Methods › Spike sorting pipeline steps › Job dispatch ↔ sample_dataset/create_test_spikeinterface.py, lines 19 to 63 · score 0.70 · recording_name, job dispatch, SpikeInterface Recording, probes · Report a mismatch
  2. [2] § Results › An end-to-end pipeline for spike sorting large-scale electrophysiology data ↔ scripts/get_protocols.py, lines 1 to 15 · score 0.55 · Neural Dynamics, Allen Institute, Schema, AIND · Report a mismatch
  3. [3] § Results › An end-to-end pipeline for spike sorting large-scale electrophysiology data ↔ src/aind_data_schema_models/organizations.py, lines 1170 to 1436 · score 0.53 · Neural Dynamics, Allen Institute, AIND, electrophysiology, Schema · Report a mismatch
  4. [4] § Methods › NWB packaging ↔ sample_dataset/create_test_nwb.py, lines 1 to 35 · score 0.51 · NWB export step, Device, Electrodes · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 70 lines · 2.4 KB · MIT · 1 match

  1. #!/usr/bin/env python3
  2. """
  3. This script creates a 3-minute synthetic recording and saves it to SpikeInterface format for testing the pipeline.
  4. Requirements:
  5. - spikeinterface
  6. """
  7. from argparse import ArgumentParser
  8. import spikeinterface as si
  9. from pathlib import Path
  10. this_folder = Path(__file__).parent
  11. si.set_global_job_kwargs(n_jobs=0.7)
  12. SEED = 2308
  13. def generate_spikeinterface(num_segments=1):
  14. duration = 180
  15. short_duration = 10
  16. num_channels = 32
  17. num_units = 20
  18. output_folder = this_folder / "spikeinterface"
  19. output_folder.mkdir(exist_ok=True)
  20. recording_main, _ = si.generate_ground_truth_recording(
  21. num_channels=num_channels,
  22. num_units=num_units,
  23. durations=[duration] * num_segments,
  24. seed=SEED
  25. )
  26. # Also add one short recording that should be skipped
  27. recording_short, _ = si.generate_ground_truth_recording(
  28. num_channels=num_channels,
  29. num_units=num_units,
  30. durations=[short_duration] * num_segments,
  31. seed=SEED+1
  32. )
  33. # Add unsigned electrical series
  34. recording, _ = si.generate_ground_truth_recording(
  35. num_channels=num_channels,
  36. num_units=num_units,
  37. durations=[duration] * num_segments,
  38. seed=SEED+2
  39. )
  40. traces_list = []
  41. for segment_index in range(recording.get_num_segments()):
  42. traces = recording.get_traces(segment_index=segment_index)
  43. # add offset
  44. traces_unsigned = traces + 2**15
  45. traces_unsigned = traces_unsigned.astype('uint16')
  46. traces_list.append(traces_unsigned)
  47. recording_unsigned = si.NumpyRecording(traces_list, sampling_frequency=recording.sampling_frequency)
  48. recording_unsigned.set_probe(recording.get_probe(), in_place=True)
  49. recording_unsigned.set_channel_gains(1)
  50. recording_unsigned.set_channel_offsets(0)
  51. # save spikeinterface recording zarr format for testing the job dispatch
  52. for recording_name, recording in zip(["main", "short", "unsigned"], [recording_main, recording_short, recording_unsigned]):
  53. recording.save(folder=output_folder / f"sample_recording_{recording_name}.zarr", format="zarr", overwrite=True)
  54. parser = ArgumentParser()
  55. parser.add_argument("--num-segments", type=int, default=1, help="Number of segments to generate for the recordings.")
  56. if __name__ == '__main__':
  57. args = parser.parse_args()
  58. generate_spikeinterface(num_segments=args.num_segments)

create_test_spikeinterface.py at commit 80b38fe, under MIT · at the source

Overview

  1. Allen Institute for Neural Dynamics Seattle United States
Institutions: Allen Institute for Neural Dynamics (United States)
Journal: eLife, volume 15, article RP110170
Dates: published online 5 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.110170 · PMID 42554034 · PMCID PMC13441294 · OpenAlex W7127358730
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: extracellular electrophysiology (units, LFP) (modality), mouse (organism), methods / tools (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Preprocessing, Evoked potentials, Machine learning, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: spike sorting, electrophysiology, reproducibility, open-source software, Mouse
MeSH: Action Potentials*, Electrophysiological Phenomena*, Electrophysiology*, Algorithms, Animals, Reproducibility of Results, Software (* major topic)
Journal subjects: Neuroscience
Topic: Cardiac electrophysiology and arrhythmias (Cardiology and Cardiovascular Medicine, Medicine), according to OpenAlex
Citations: not cited yet (Europe PMC); 70 references in the paper

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. We also show that 7× 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.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.

AllenNeuralDynamics/aind-ephys-pipeline

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 80b38febf7807ecc97614952ae72412209fca43a, 21 September 2026
Languages: Python (7), Shell (7), JavaScript (2)
Size: 82 files, 16 scripts
Software Heritage: archived
Found in: “Data availability”
Holds: README, license file, environment (docs/requirements.txt, environment/requirements.txt), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: Nextflow (4 files), SpikeInterface (4 files), Neurodata Without Borders (PyNWB, MatNWB) (2 files), NumPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
18 files

AllenNeuralDynamics/aind-ephys-hybrid-benchmark

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 5c0c61df4eaf94f59a1c5be8d0d9f9dc458ea1af, 18 May 2026
Languages: Shell (4), Python (1)
Size: 22 files, 5 scripts
Software Heritage: not archived
Found in: the references
Holds: README, license file, tests, continuous integration
Not found: CITATION.cff, environment file, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
7 files

hub.docker.com/r/nextflow

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: the link answers
Software Heritage: not checked
Found in: the text, “Limitations of our approach”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)

Zenodo 19481268

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file, 0 scripts
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
At the source:

AllenNeuralDynamics/aind-data-schema-models

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: f86f589ccfd3fa6c64d90c3a33b15bcd468431f7, 19 August 2026
Languages: Python (68), Shell (1)
Size: 126 files, 69 scripts
Software Heritage: not archived
Found in: the appendix
Holds: README, license file, environment (pyproject.toml, setup.py), tests, continuous integration
Not found: CITATION.cff, documentation
Tools: pandas (5 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
71 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 5 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 90 scripts, each with its path and the digest of its content;
  • 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability

Hybrid data for evaluating spike sorters and lossy compression are available at the following URL: https://registry.opendata.aws/allen-nd-ephys-hybrid-evaluation/. The code for the presented pipelines is available on GitHub2022; Spike sorting pipeline: https://github.com/AllenNeuralDynamics/aind-ephys-pipeline (Buccino et al., 2026a); Evaluation pipeline: https://github.com/AllenNeuralDynamics/aind-ephys-hybrid-benchmark (Buccino, 2026b). The figures from the results section can have been generated with the following Code Ocean capsule: https://codeocean.allenneuraldynamics.org/capsule/9554286/tree/v4. The spike sorting pipeline is also available in the CodeOcean Public Collections: https://codeocean.allenneuraldynamics.org/capsule/4364160/tree/v9.

The following dataset was generated:

Allen Institute 2026Allen Institute for Neural Dynamics - Extracellular Electrophysiology Hybrid Evaluation BenchmarkRegistry of Open Data on AWSallen-nd-ephys-hybrid-evaluation

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 3, 28 September 2026

  • Funding: added Harvard University

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 5 authors, 5 keywords, 7 MeSH terms, 58 references.

Cite

This paper

Buccino, A. P., Sridhar, A., Feng, D., Svoboda, K., & Siegle, J. H. (2026). Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data. eLife, 15, RP110170. https://doi.org/10.7554/elife.110170

BibTeX

@article{buccino2026efficient,
author = {Buccino, Alessio Paolo and Sridhar, Arjun and Feng, David and Svoboda, Karel and Siegle, Joshua H},
title = {{Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data}},
journal = {eLife},
year = {2026},
month = aug,
volume = {15},
pages = {RP110170},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.110170},
url = {https://doi.org/10.7554/elife.110170},
pmid = {42554034},
pmcid = {PMC13441294}
}

RIS

TY - JOUR
AU - Buccino, Alessio Paolo
AU - Sridhar, Arjun
AU - Feng, David
AU - Svoboda, Karel
AU - Siegle, Joshua H
TI - Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/08/05
VL - 15
SP - RP110170
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.110170
UR - https://doi.org/10.7554/elife.110170
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.110170",
"type": "article-journal",
"title": "Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data",
"container-title": "eLife",
"author": [
{
"family": "Buccino",
"given": "Alessio Paolo"
},
{
"family": "Sridhar",
"given": "Arjun"
},
{
"family": "Feng",
"given": "David"
},
{
"family": "Svoboda",
"given": "Karel"
},
{
"family": "Siegle",
"given": "Joshua H"
}
],
"container-title-short": "eLife",
"volume": "15",
"page": "RP110170",
"DOI": "10.7554/elife.110170",
"PMID": "42554034",
"PMCID": "PMC13441294",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.110170",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
5
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.7554/elife.110588 [code]
Opening the black box toward a modular approach to spike sorting.
Journal: eLife
In common: SpikeInterface, Neurodata Without Borders (PyNWB, MatNWB), pandas, 1 other tool, extracellular electrophysiology (units, LFP), methods / tools, mouse, 18 references, author Alessio Paolo Buccino
[2] doi:10.64898/2026.01.23.701239 [code]
Opening the black box: a modular approach to spike sorting
Journal: bioRxiv (preprint)
In common: SpikeInterface, Neurodata Without Borders (PyNWB, MatNWB), pandas, 1 other tool, extracellular electrophysiology (units, LFP), methods / tools, 13 references, author Alessio Paolo Buccino
[3] doi:10.1038/s41592-026-03076-z [code]
Neuropixels Opto: combining high-resolution electrophysiology and optogenetics.
Journal: Nature methods
In common: SpikeInterface, Neurodata Without Borders (PyNWB, MatNWB), pandas, 1 other tool, extracellular electrophysiology (units, LFP), mouse, 7 references, 2 authors
[4] doi:10.1523/jneurosci.1594-25.2026 [code]
KIASORT: Knowledge-Integrated Automated Spike Sorting for Geometry-Free Neuron Tracking.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: extracellular electrophysiology (units, LFP), methods / tools, mouse, 15 references
[5] doi:10.3389/fninf.2022.851024 [code]
From End to End: Gaining, Sorting, and Employing High-Density Neural Single Unit Recordings.
Journal: Frontiers in neuroinformatics
In common: pandas, NumPy, extracellular electrophysiology (units, LFP), 14 references
[6] doi:10.1038/s41592-024-02232-7 [code]
Spike sorting with Kilosort4.
Journal: Nature methods
In common: SpikeInterface, pandas, NumPy, extracellular electrophysiology (units, LFP), 13 references
[7] doi:10.1523/eneuro.0529-24.2025 [code]
MEDiCINe: Motion Correction for Neural Electrophysiology Recordings.
Journal: eNeuro
In common: SpikeInterface, pandas, NumPy, extracellular electrophysiology (units, LFP), methods / tools, 7 references, author Alessio Paolo Buccino
[8] doi:10.7554/elife.85550 [code]
Sharing neurophysiology data from the Allen Brain Observatory.
Journal: eLife
In common: Neurodata Without Borders (PyNWB, MatNWB), pandas, NumPy, methods / tools, mouse, 7 references, author Joshua H Siegle
[9] doi:10.1371/journal.pcbi.1014059 [code]
Benchmarking spike source localization algorithms in high density probes.
Journal: PLoS computational biology
In common: SpikeInterface, pandas, NumPy, methods / tools, 8 references
[10] doi:10.7554/elife.106557 [code]
Unsupervised pipeline for the identification of cortical excitatory and inhibitory neurons in high-density multielectrode arrays with ground-truth validation.
Journal: eLife
In common: NumPy, extracellular electrophysiology (units, LFP), methods / tools, mouse, 10 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.110170.svg)](https://openscicode.org/badge/doi/10.7554/elife.110170)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.110170.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.110170
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.110170"><img src="https://openscicode.org/badge/doi/10.7554/elife.110170.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.