Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data.
The 4 matches
- [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] § 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] § 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] § 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
- #!/usr/bin/env python3
- """
- This script creates a 3-minute synthetic recording and saves it to SpikeInterface format for testing the pipeline.
- Requirements:
- - spikeinterface
- """
- from argparse import ArgumentParser
- import spikeinterface as si
- from pathlib import Path
- this_folder = Path(__file__).parent
- si.set_global_job_kwargs(n_jobs=0.7)
- SEED = 2308
- def generate_spikeinterface(num_segments=1):
- duration = 180
- short_duration = 10
- num_channels = 32
- num_units = 20
- output_folder = this_folder / "spikeinterface"
- output_folder.mkdir(exist_ok=True)
- recording_main, _ = si.generate_ground_truth_recording(
- num_channels=num_channels,
- num_units=num_units,
- durations=[duration] * num_segments,
- seed=SEED
- )
- # Also add one short recording that should be skipped
- recording_short, _ = si.generate_ground_truth_recording(
- num_channels=num_channels,
- num_units=num_units,
- durations=[short_duration] * num_segments,
- seed=SEED+1
- )
- # Add unsigned electrical series
- recording, _ = si.generate_ground_truth_recording(
- num_channels=num_channels,
- num_units=num_units,
- durations=[duration] * num_segments,
- seed=SEED+2
- )
- traces_list = []
- for segment_index in range(recording.get_num_segments()):
- traces = recording.get_traces(segment_index=segment_index)
- # add offset
- traces_unsigned = traces + 2**15
- traces_unsigned = traces_unsigned.astype('uint16')
- traces_list.append(traces_unsigned)
- recording_unsigned = si.NumpyRecording(traces_list, sampling_frequency=recording.sampling_frequency)
- recording_unsigned.set_probe(recording.get_probe(), in_place=True)
- recording_unsigned.set_channel_gains(1)
- recording_unsigned.set_channel_offsets(0)
- # save spikeinterface recording zarr format for testing the job dispatch
- for recording_name, recording in zip(["main", "short", "unsigned"], [recording_main, recording_short, recording_unsigned]):
- recording.save(folder=output_folder / f"sample_recording_{recording_name}.zarr", format="zarr", overwrite=True)
- parser = ArgumentParser()
- parser.add_argument("--num-segments", type=int, default=1, help="Number of segments to generate for the recordings.")
- if __name__ == '__main__':
- args = parser.parse_args()
- generate_spikeinterface(num_segments=args.num_segments)
create_test_spikeinterface.py at commit 80b38fe, under MIT · at the source
Overview
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
80b38febf7807ecc97614952ae72412209fca43a, 21 September 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
18 files
- docs/
source/ , Python, 75 linesconf.py - environment/
build_all.sh , Shell, 21 lines - environment/
push_all.sh , Shell, 28 lines - params_app/
ajv7.min.js , JavaScript, 9 lines - params_app/
app.js , JavaScript, 437 lines - params_app/
serve.py , Python, 35 lines - pipeline/
slurm_submit.sh , Shell, 30 lines - pull_pipeline_images.sh, Shell, 118 lines
- sample_dataset/
create_test_nwb.py , Python, 153 lines, 1 match - sample_dataset/
create_test_spikeinterfa , Python, 70 lines, 1 matchce.py - tests/
check_pipeline_results.p , Python, 396 linesy - tests/
check_sorter_params.py , Python, 93 lines - tests/
test_pipeline_local_nwb. , Shell, 65 linessh - tests/
test_pipeline_local_si.s , Shell, 47 linesh - tests/
test_pipeline_slurm.sh , Shell, 71 lines - tests/
validate_params.py , Python, 34 lines - LICENSE, License, 21 lines
- README.md, Text, 93 lines
AllenNeuralDynamics/aind-ephys-hybrid-benchmark
5c0c61df4eaf94f59a1c5be8d0d9f9dc458ea1af, 18 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
7 files
- pipeline/
slurm_submit_sorters.sh , Shell, 30 lines - pull_pipeline_images.sh, Shell, 119 lines
- sample_dataset/
create_test_nwb.py , Python, 69 lines - tests/
test_pipeline_lossy.sh , Shell, 36 lines - tests/
test_pipeline_sorters.sh , Shell, 36 lines - LICENSE, License, 21 lines
- README.md, Text, 264 lines
hub.docker.com/r/nextflow
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Zenodo 19481268
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
AllenNeuralDynamics/aind-data-schema-models
f86f589ccfd3fa6c64d90c3a33b15bcd468431f7, 19 August 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
71 files
- doc_template/
source/ , Python, 54 linesconf.py - run_all.sh, Shell, 12 lines
- scripts/
__init__.py , Python, 1 line - scripts/
get_developmental_stage_ , Python, 70 linesontologies.py - scripts/
get_protocols.py , Python, 92 lines, 1 match - scripts/
test_developmental_stage , Python, 40 lines_integration.py - scripts/
test_genbank_integration , Python, 26 lines.py - scripts/
test_mouse_anatomy_integ , Python, 26 linesration.py - scripts/
write_to_docdb.py , Python, 88 lines - setup.py, Python, 4 lines
- src/
aind_data_schema_models/ , Python, 3 lines__init__.py - src/
aind_data_schema_models/ , Python, 1 line_generators/ __init__.py - src/
aind_data_schema_models/ , Python, 40 lines_generators/ dev_utils.py - src/
aind_data_schema_models/ , Python, 109 lines_generators/ generator.py - src/
aind_data_schema_models/ , Python, 8 lines_generators/ update_harp_types.py - src/
aind_data_schema_models/ , Python, 10 linesatlas.py - src/
aind_data_schema_models/ , Python, 5,085 linesbrain_atlas.py - src/
aind_data_schema_models/ , Python, 902 linescelegans_developmental_s tage.py - src/
aind_data_schema_models/ , Python, 70 linescoordinates.py - src/
aind_data_schema_models/ , Python, 116 linesdata_name_patterns.py - src/
aind_data_schema_models/ , Python, 181 linesdevices.py - src/
aind_data_schema_models/ , Python, 332 linesdrosophila_developmental _stage.py - src/
aind_data_schema_models/ , Python, 54 linesgene.py - src/
aind_data_schema_models/ , Python, 432 linesharp_types.py - src/
aind_data_schema_models/ , Python, 361 lineshuman_developmental_stag e.py - src/
aind_data_schema_models/ , Python, 10 lineslicenses.py - src/
aind_data_schema_models/ , Python, 231 linesmodalities.py - src/
aind_data_schema_models/ , Python, 3,622 linesmouse_anatomy.py - src/
aind_data_schema_models/ , Python, 256 linesmouse_developmental_stag e.py - src/
aind_data_schema_models/ , Python, 1,448 lines, 1 matchorganizations.py - src/
aind_data_schema_models/ , Python, 25 linespid_names.py - src/
aind_data_schema_models/ , Python, 55 linesprocess_names.py - src/
aind_data_schema_models/ , Python, 904 linesprotocols.py - src/
aind_data_schema_models/ , Python, 24 linesreagent.py - src/
aind_data_schema_models/ , Python, 22 linesregistries.py - src/
aind_data_schema_models/ , Python, 10 linesslap2_acquisition_type.p y - src/
aind_data_schema_models/ , Python, 227 linesspecies.py - src/
aind_data_schema_models/ , Python, 25 linesspecimen_procedure_types .py - src/
aind_data_schema_models/ , Python, 16 linesstimulus_modality.py - src/
aind_data_schema_models/ , Python, 53 linessystem_architecture.py - src/
aind_data_schema_models/ , Python, 173 linesunits.py - tests/
__init__.py , Python, 7 lines - tests/
test_atlas.py , Python, 18 lines - tests/
test_brain_atlas.py , Python, 123 lines - tests/
test_celegans_developmen , Python, 91 linestal_stage.py - tests/
test_coordinates.py , Python, 18 lines - tests/
test_data_name_patterns. , Python, 145 linespy - tests/
test_dev_utils.py , Python, 186 lines - tests/
test_devices.py , Python, 18 lines - tests/
test_drosophila_developm , Python, 91 linesental_stage.py - tests/
test_gene.py , Python, 68 lines - tests/
test_generator.py , Python, 158 lines - tests/
test_human_developmental , Python, 91 lines_stage.py - tests/
test_licenses.py , Python, 18 lines - tests/
test_modalities.py , Python, 34 lines - tests/
test_models.py , Python, 143 lines - tests/
test_mouse_anatomy.py , Python, 87 lines - tests/
test_mouse_developmental , Python, 91 lines_stage.py - tests/
test_organizations.py , Python, 28 lines - tests/
test_pid_names.py , Python, 23 lines - tests/
test_process_names.py , Python, 18 lines - tests/
test_protocols.py , Python, 27 lines - tests/
test_reagent.py , Python, 18 lines - tests/
test_registries.py , Python, 18 lines - tests/
test_slap2_acquisition_t , Python, 18 linesype.py - tests/
test_specimen_procedure_ , Python, 18 linestypes.py - tests/
test_stimulus_modality.p , Python, 18 linesy - tests/
test_system_architecture , Python, 16 lines.py - tests/
test_units.py , Python, 22 lines - LICENSE, License, 21 lines
- README.md, Text, 44 lines
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
- hub.docker.com/
u/ , at hub.docker.com; found in the text, “Enabling technologies”spikeinterface
Data availability
Hybrid data for evaluating spike sorters and lossy compression are available at the following URL: https://
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
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://
BibTeX
@article{buccino2026effi
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/
url = {https://
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/
VL - 15
SP - RP110170
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"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":
"volume": "15",
"page": "RP110170",
"DOI": "10.7554/
"PMID": "42554034",
"PMCID": "PMC13441294",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"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: eLifeIn 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 sortingJournal: 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 methodsIn 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 NeuroscienceIn 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 neuroinformaticsIn common: pandas, NumPy, extracellular electrophysiology (units, LFP), 14 references
- [6] doi:10.1038/s41592-024-02232-7 [code]
- Spike sorting with Kilosort4.Journal: Nature methodsIn 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: eNeuroIn 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: eLifeIn 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 biologyIn 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: eLifeIn 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 5 repositories of the authors' code, each at its verified commit and with its license, 90 scripts, and 4 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:46df7c172d2917e9…
Add the badge to the code's README
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 -->
[](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:endHTML
<!-- 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".
- AllenNeuralDynamics/aind-ephys-pipeline: README.md on GitHub
- AllenNeuralDynamics/aind-ephys-hybrid-benchmark: README.md on GitHub
- AllenNeuralDynamics/aind-data-schema-models: README.md on GitHub
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.
