Spyglass: a framework for reproducible and shareable neuroscience research
Abstract
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/.
BibTeX
@misc{lee2025spyglass,
author = {Kyu Hyun Lee and Eric L. Denovellis and Ryan Ly and Jeremy F. Magland and Jeff Soules and Alison E. Comrie and Daniel P. Gramling and Jennifer A. Guidera and Rhino Nevers and Philip Adenekan and Chris Brozdowski and Samuel R. Bray and Emily Monroe and Ji Hyun Bak and Michael E. Coulter and Xulu Sun and Emrey Broyles and Dong‐Hoon Shin and Sharon Chiang and Cristofer Holobetz and Andrew Tritt and Oliver Rübel and Thinh Nguyen and Dimitri Yatsenko and Joshua Chu and Caleb Kemere and Samuel Garcia and Alessio Paolo Buccino and Loren M. Frank},
title = {{Spyglass: a framework for reproducible and shareable neuroscience research}},
year = {2025},
doi = {10.7554/elife.108089.1},
}Ask Althea to put this paper to the test.
Loading related content...