Sleep Identification Enabled by Supervised Training Algorithms (SIESTA): An Open-Source Platform for Automatic Sleep Staging of Rodent Electrocorticographic and Electromyographic Data

Accurately capturing the temporal distribution of polysomnographic sleep stages is critical for the study of sleep function, regulation, and disorders in higher vertebrates. In laboratory rodents, scoring of electrocorticography (ECoG) and electromyography (EMG) recordings is usually performed manually by categorizing 5- to 10-sec epochs as 1 of 3 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 h, which are critical for the study of the circadian regulation of sleep. 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 3 main behavioral stages in mice. We used a supervised machine learning algorithm that extracts features from the ECoG and EMG signals and autonomously scores recordings with a hierarchical classifier based on using logistic regression. We evaluated this approach on data collected from wild-type mice housed under both normal and different lighting conditions, as well as from mutant mouse lines with abnormal sleep phenotypes and from rats. We obtained mean F<sub>1</sub> scores 0.94 for wakefulness, 0.94 for NREM, and 0.74 for REM, and followed up by validating SIESTA with manually scored data from 3 other laboratories. 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. Our aim is that SIESTA becomes a useful tool that facilitates further research in sleep on rodent models.

Authors

Institutions

Publication Details

Journal
Journal of Biological Rhythms
Published
2025-06-06
DOI
https://doi.org/10.1177/07487304251336649
Primary Topic
Sleep and Wakefulness Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sleep Identification Enabled by Supervised Training Algorithms (SIESTA): An Open-Source Platform for Automatic Sleep Staging of Rodent Electrocorticographic and Electromyographic Data

Bingni W. Brunton, Jazmine G. Perez, Raymond Sanchez, Tenley Weil et al.
1 links
Journal of Biological Rhythms
Sleep and Wakefulness Research
article

Sleep Identification Enabled by Supervised Training Algorithms (SIESTA): An Open-Source Platform for Automatic Sleep Staging of Rodent Electrocorticographic and Electromyographic Data

Bingni W. Brunton, Jazmine G. Perez, Raymond Sanchez, Tenley Weil, Miriam Ben‐Hamo, Franck K. Kalume, Horacio O. de la Iglesia, Carlos S. Caldart, Asad Beck
article en

Abstract

Accurately capturing the temporal distribution of polysomnographic sleep stages is critical for the study of sleep function, regulation, and disorders in higher vertebrates. In laboratory rodents, scoring of electrocorticography (ECoG) and electromyography (EMG) recordings is usually performed manually by categorizing 5- to 10-sec epochs as 1 of 3 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 h, which are critical for the study of the circadian regulation of sleep. 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 3 main behavioral stages in mice. We used a supervised machine learning algorithm that extracts features from the ECoG and EMG signals and autonomously scores recordings with a hierarchical classifier based on using logistic regression. We evaluated this approach on data collected from wild-type mice housed under both normal and different lighting conditions, as well as from mutant mouse lines with abnormal sleep phenotypes and from rats. We obtained mean F<sub>1</sub> scores 0.94 for wakefulness, 0.94 for NREM, and 0.74 for REM, and followed up by validating SIESTA with manually scored data from 3 other laboratories. 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. Our aim is that SIESTA becomes a useful tool that facilitates further research in sleep on rodent models.

Journal of Biological RhythmsVol. 40(4)
Allen Institute for Brain Science (US), University of Washington (US), Allen Institute (US), Neurological Surgery (US)
National Institute of Neurological Disorders and Stroke
Openalex Percentile: Top 88%
Sleep and Wakefulness Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.