bioRxivNeurosciencePreprint
Nyx: a flexible framework for sleep scoring across species, lifespan and modalities
Letizia SignorelliiD, Solomiia KorchynskaiD, Cantin OrtiziD, Alessandro ArenaiD, Sophia A. WilhelmiD, Charlotte N. BoccaraiD
Abstract
Sleep is a key factor in almost every physiological process, yet scoring tools lag behind innovations in basic to clinical research. New automated algorithms are trained on narrow datasets, typically healthy adult mouse or human, and fail to generalise, leaving labs to fall back on slow, laborious, and often poorly reproducible manual scoring. Here we introduce Nyx, an unsupervised framework built on principal component analysis that flexibly clusters epochs into sleep states, akin to how spike-sorting algorithms cluster single-neuron activity. Validated on about 8,000 hours spanning 19 independent datasets, it generalises across species, lifespan, recording modalities, and altered sleep architectures, matching human inter-scorer agreement. Beyond this, Nyx opens new ground for modern sleep research: classifying NREM subtypes in rodents, revealing states that cut across canonical boundaries in non-mammalian species, and enabling real-time, closed-loop manipulation. Distributed as an open-source package with a graphical user interface, Nyx offers an accessible, explainable framework built to scale with the pace of innovation itself.
- organism: mouse
- organism: human
- assay: electronic health records
- research focus: cell type annotation
- research focus: clustering
- research focus: benchmarking
- approach: statistical model
- Citations
- 0
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
- Robust, automated sleep scoring by a compact neural network with distributional shift correction
Zeke Barger, Charles G. Frye, … Kristofer E. Bouchard·PLoS ONEPeer-reviewed·Dec 13, 2019
- A universal, open-source, high-performance tool for automated sleep staging
Raphaël Vallat, Matthew P. Walker·eLifePeer-reviewed·Oct 14, 2021
- Somnus, a tunable, open-source platform for automated EEG sleep scoring in physiological and disease mouse models
Joshua M. Brenner, Matthew S. Caudill, Huda Yahya Zoghbi·bioRxiv·Oct 12, 2026
- Sleep Identification Enabled by Supervised Training Algorithms (SIESTA): An open-source platform for automatic sleep staging of rodent polysomnographic data
Carlos S. Caldart, Raymond E.A. Sanchez, … Horacio O. de la Iglesia·bioRxiv·Jul 6, 2020
- Sleep-Deep-Net learns sleep wake scoring from the end-user and completes each record in their style.
Fumi Katsuki, Tristan J. Spratt, … David S. Uygun·bioRxiv·Dec 22, 2023
- Lack of Consensus for Manual Mouse Sleep Scoring Limits Implementation of Automatic Deep Learning Models
Laura Rose, Alexander Neergaard Zahid, … Birgitte Rahbek Kornum·bioRxiv·Mar 30, 2026