bioRxivNeurosciencePreprint
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. SancheziD, Miriam Ben‐HamoiD, Asad I. BeckiD, Tenley A. WeiliD, Jazmine G. Perez, Franck K. KalumeiD, Bingni W. BruntoniD, Horacio O. de la IglesiaiD
Abstract
The temporal distribution of sleep stages is critical for the study of sleep function, regulation, and disorders in higher vertebrates. This temporal distribution is typically determined polysomnographically. In laboratory rodents, scoring of electrocorticography (ECoG) and electromyography (EMG) recordings is usually performed manually, where 5-10 second epochs are categorized as one of three specific stages: wakefulness, rapid-eye-movement (REM) sleep and non-REM (NREM) sleep. This process is laborious, time-consuming, and particularly impractical for large experimental cohorts with recordings lasting longer than 24 hours. To circumvent this problem, we developed an open-source Python toolkit, Sleep Identification Enabled by Supervised Training Algorithms (SIESTA), that automates the detection of these three main behavioral stages in mice. Our supervised machine learning algorithm extracts features from the ECoG and EMG signals, then automatically scores recordings with a hierarchical classifier based on Bagging Random Forest approaches. We evaluated this approach on data collected from wild-type mice housed under both normal and different lighting conditions, as well as from a mutant mouse line with abnormal sleep phenotypes. To validate its performance on test data, we compared SIESTA with manually scored data and obtained F1 scores of 0.92 for wakefulness, 0.81 for REM, and 0.93 for NREM. SIESTA has a user-friendly interface that can be used without coding expertise. To our knowledge, this is the first time that such a strategy has been developed using all open-source and freely available resources, and our aim is that SIESTA becomes a useful tool that facilitates further research of sleep in rodent models.
- organism: mouse
- assay: electronic health records
- research focus: cell type annotation
- approach: machine learning (classical)
- Citations
- 3
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
- 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
- The potential of ensemble-based automated sleep staging on single-channel EEG signal from a wearable device
Federico Salfi, Domenico Corigliano, … M. Ferrara·Journal of Sleep ResearchPeer-reviewed·Jan 19, 2026
- A single-channel EEG classification system for multiscale characterization of mouse vigilance state
Yazan waddah khaled Zaid, Paweł Matulewicz, … Taro Tezuka·bioRxiv·Aug 19, 2026
- Characterizing Transition State in Mouse Vigilance with EEG-EMG Hypnodensity
Sadegh Rahimi, Monika Vadkertiová, … Thomas Fenzl·SLEEP AdvancesPeer-reviewed·Jan 1, 2026
- Pupil dynamics-derived sleep stage classification of a head-fixed mouse using a recurrent neural network
Goh Kobayashi, Kenji F. Tanaka, Norio Takata·The Keio Journal of MedicinePeer-reviewed·Jan 1, 2023
- Automatic Sleep Stage Classification with Optimized Selection of EEG Channels
Håkon Stenwig, Andrés Felipe Soler, … Marta Molinas·International Conference on Machine Learning and ApplicationsPeer-reviewed·Dec 1, 2022