Spyglass is a framework for reproducible and shareable neuroscience research
Open Access
- 3 November 2026
- journal article
- Published by eLife Sciences Publications, Ltd in eLife
- Vol. 14
Abstract
Scientific progress depends on reliable and reproducible results. Progress can be accelerated when data are shared and re-analyzed to address new questions. Current approaches to storing and analyzing neural data involve bespoke formats and software that make replication and reuse of data difficult. To address these challenges, we created Spyglass, an open-source data management and analysis framework written in Python. Spyglass provides reproducible pipelines for common neuroscience analyses and sharing of raw data, intermediate analyses, and final results within and across labs. Spyglass uses the Neurodata Without Borders (NWB) standard and includes pipelines for spectral filtering, spike sorting, pose tracking, and neural decoding. Spyglass can be extended to apply existing and newly developed pipelines to datasets from multiple sources. We demonstrate these features in the context of a cross-laboratory replication by applying advanced state space decoding algorithms to publicly available data. New users can try out Spyglass on a Jupyter Hub hosted by HHMI and 2i2c: https://spyglass.hhmi.2i2c.cloud/ .Keywords
All Related Versions
Funding Information
- Helen Hay Whitney Foundation
- National Eye Institute (1K99EY036953)
- Howard Hughes Medical Institute
- National Institutes of Health (RF1MH130623)
- National Institutes of Health (RF1MH133778)
This publication has 38 references indexed in Scilit:
- Keypoint-MoSeq: parsing behavior by linking point tracking to pose dynamicsNature Methods, 2024
- A modular and adaptable analysis pipeline to compare slow cerebral rhythms across heterogeneous datasetsCell Reports Methods, 2024
- A modular architecture for organizing, processing and sharing neurophysiology dataNature Methods, 2023
- Neuroscience Cloud Analysis As a Service: An open-source platform for scalable, reproducible data analysisNeuron, 2022
- A multimodal cell census and atlas of the mammalian primary motor cortexNature, 2021
- Cooling of Medial Septum Reveals Theta Phase Lag Coordination of Hippocampal Cell AssembliesNeuron, 2020
- Using DeepLabCut for 3D markerless pose estimation across species and behaviorsNature Protocols, 2019
- Neurodata Without Borders: Creating a Common Data Format for NeurophysiologyNeuron, 2015
- Hippocampal theta sequencesHippocampus, 2007
- Theta phase precession in hippocampal neuronal populations and the compression of temporal sequencesHippocampus, 1996