Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 180 lines · 4.9 KB · no license
- # %% [markdown]
- # # Calculations of the Effect Size (ES) for each microarray study
- #
- # ### Using Hedges' g value, an adjusted Cohen's d value
- # %% [markdown]
- # $$ {Enrichment} = \bar{X_2}-\bar{X_1}$$
- #
- # Let Group 1 be Sleeping Forebrain Oligodendrocyte Expression values and Group 2 be 4-8hSD Forebrain Oligodendrocyte Expression values
- #
- # (S mean - SD mean) **(Logged values, so minus gives ratio)**
- # %% [markdown]
- # $$ {Pooled\ Standard\ Deviation} = \sqrt\frac{(n_1-1)S_1^2 +(n_2-1)S_2^2}{(n_2 +n_2) -2} $$
- # %% [markdown]
- # $$ {Cohen's\ d\ value} = \frac{Enrichment}{Pooled\ Standard\ Deviation} $$
- # %% [markdown]
- # $$ {Correction\ Factor (J\ Factor)} = 1- \frac{3}{4df-1} $$
- # %% [markdown]
- # $$ {Hedges'\ g\ value} = Cohen's\ d\ \text{x}\ J\ $$
- # %% [markdown]
- # $$ {Variance\ in\ d (V_d)} = \frac{n_1- +n_2}{n_1 n_2} + \frac{d^2}{2(n_1 +n_2)} $$
- # %% [markdown]
- # $$ {Variance\ in\ g (V_g)} = J^2\ \text{x}\ V_d $$
- # %% [markdown]
- # $$ {Standard\ Error\ in\ g (SE_g)} = \sqrt{V_g} $$
- # %% [markdown]
- # ## Setup working environment and import data
- # %%
- import pandas as pd # Dataframes and file IO
- import numpy as np # numerical calculations
- %cd /Users/Ella1/Desktop/data sets 430AV2
- # %%
- prefix = '430AV2_ForeOlig_' # define a prefix to add to column names (making indexing easier later)
- # %%
- # import the data file to a data frame 'df'
- df=pd.read_table('DATASET-GSE48369.txt', delimiter='\t', index_col=0) #,nrows=500)
- df.shape
- # %%
- # remove probes that are know to cross-hybridise to more than one target
- df =df[~df.index.str.contains('_x_|_s_')] # important reverse selector ~
- df.shape
- # %% [markdown]
- # ## Look at column names and then setup filters for grouping columns into Oligodendrocyte samples of S and SD groups
- # It is important that we pick up only one of the two types of tissue investivagtes in this assession.
- # %%
- df.columns
- # %%
- # define regular expressions for sleep (S) and sleep dep (SD) filters
- s_filt ='ForeOlig_S.CEL'
- sd_filt ='ForeOlig_SD.CEL'
- # %%
- df_s=df.filter(regex= s_filt)
- df_s.head()
- # %%
- df_sd=df.filter(regex= sd_filt)
- df_sd.head()
- # %% [markdown]
- # ## Calculations
- # %%
- # Enrichment
- df[prefix+'Enrich'] = df.filter(regex=sd_filt).mean(axis=1) - df.filter(regex=s_filt).mean(axis=1)
- # %%
- df[prefix+'Enrich'].head()
- # %%
- # Calculating Pooled StDev
- Scount = df.filter(regex=s_filt).count(axis=1)
- SDcount = df.filter(regex=sd_filt).count(axis=1)
- StdevS = (Scount-1) * df.filter(regex=s_filt).var(axis=1)
- StdevSD = (SDcount-1) * df.filter(regex=sd_filt).var(axis=1)
- df[prefix+'poolStDev'] = np.sqrt((StdevS+StdevSD)/(Scount+ SDcount-2))
- # %%
- # Calculating Cohen's d
- df[prefix+'Cohens_d'] = df[prefix+'Enrich'] / df[prefix+'poolStDev']
- # %%
- #df[prefix+'poolStDev'].head()
- df[prefix+'Cohens_d'] .head()
- # %%
- # Calculating J value (Correction factor)
- df[prefix+'J'] = 1-(3/(4*(Scount+SDcount-1)))
- # %%
- # Calculating Hedge's g
- df[prefix+'Hedges_g'] = df[prefix+'Cohens_d'] * df[prefix+'J']
- # %%
- #df[prefix+'J'].head()
- df[prefix+'Hedges_g'] .head()
- # %%
- # Calculating Var_d
- Scount = df.filter(regex=s_filt).count(axis=1)
- SDcount = df.filter(regex=sd_filt).count(axis=1)
- Ftop1 = Scount + SDcount
- Ftop2 = Scount * SDcount
- Fbottom1 = np.square(df[prefix+'Cohens_d'])
- Fbottom2 = 2*(Scount + SDcount)
- df[prefix+'Var_d'] = (Ftop1/Ftop2) + (Fbottom1 /Fbottom2)
- # %%
- #check output
- df[prefix+'Var_d'].head()
- # %%
- df[prefix+'Var_g'] = df[prefix+'Var_d'] * np.square(df[prefix+'J'])
- # %%
- # Calculating SEg
- df[prefix+'SEg'] = np.sqrt(df[prefix+'Var_g'])
- # %%
- df.sort_values(by= '430AV2_ForeOlig_Hedges_g', ascending=False, inplace=True)
- df
- # %%
- df.columns
- # %% [markdown]
- # ### Import key file from BioMart and index probesets to MGI gene symbols
- # %%
- dfX=pd.read_table('../FHS project/Sleep notebook Copy/BioMart_Ensmbl_index/mart_export72_430v2430Av2.txt',index_col=[3])
- dfX.pop('Affy mouse430 2 probeset') # remove 430V2 probeset info (not needed for 430AV2 indexing)
- dfX.head(5)
- # %%
- df_Join = df.join(dfX, how='left', sort=True)
- df_FINAL1 = df_Join.groupby('MGI symbol').mean()
- df_FINAL1[df_FINAL1.index.duplicated()==True] # checking that no duplicate entries exist in the dataframe
- # %% [markdown]
- # ### Columns from the list above can then easily be picked to produce files for use later. Examples below given:
- # #### df3 = average S and SD expression for the platform and the log-fold changes
- # #### df4 = Hedges g values and associated variance for Meta-analysis (after indexing)
- # %%
- # df3 = df_FINAL1.loc[:,[u'avg-SD', u'avg-S', u'log_fold-S_vs_SD']]
- # df3.columns =[prefix+'avg-SD', prefix+'avg-S', prefix+'log_fold-S_vs_SD']
- # df3.to_csv('input_files/430AV2_SymbolExpression_forIndex.csv')
- # %%
- df4 = df_FINAL1.loc[:,[u'430AV2_ForeOlig_Enrich',u'430AV2_ForeOlig_Hedges_g', u'430AV2_ForeOlig_Var_g', u'430AV2_ForeOlig_SEg']]
- df4.to_csv('../FHS project/Sleep notebook Copy/IPython_notebooks/input_files/430AV2_ForeOlig_SymbolforIndexHedges.csv')
- # %%
- df4.head(10) # check final ouput
A10_430AV2_ForeOlig.ipynb at commit fae3c7a, no license · at the source
Overview
- Department of Biology, University of Toronto Mississauga, Mississauga, ON, L5L 1C6, Canada
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, M5S 3G5, Canada
- Sleep and Circadian Neuroscience Institute (SCNi), Kavli Institute of Nanoscience Discovery, Nuffield Department of Clinical Neurosciences, University of Oxford, United Kingdom
- Sleep and Circadian Neuroscience Institute (SCNi), NIHR Oxford Health Biomedical Research Centre, John Radcliffe Hospital, Oxford, OX3 9DU, United Kingdom
- Oxford Centre for Diabetes, Endocrinology and Metabolism, and Oxford Kavli Centre for Nanoscience Discovery, University of Oxford, Oxford, OX37LE, United Kingdom
- Section on Developmental Neurogenomics, Human Genetics Branch, National Institute of Mental Health, Bethesda, MD, 20892, USA
- Division of Informatics, Imaging & Data Sciences, University of Manchester, United Kingdom
- Duke Kunshan University (DKU), Kunshan, Jiangsu, China
- Sleep and Circadian Neuroscience Institute (SCNi), Kavli Institute of Nanoscience Discovery, Department of Physiology, Anatomy and Genetics, University of Oxford, United Kingdom
- Research IT, IT Services, University of Oxford, United Kingdom
Abstract
Studying the transcriptional changes in the brain following sleep deprivation has provided insight into the molecular mechanisms that differ between sleep and wake. Individual studies are limited in their ability to detect differentially expressed genes due to small sample size. Here we performed a meta-analysis of published brain expression data, totalling 173 microarrays across 245 mice. 498 genes were identified as significantly changing with sleep-deprivation at q < 0.01, 96 of which were previously identified by the original studies. Of the remaining 402 novel candidate sleep genes, 14 were associated with human sleep traits and 3 with sleep phenotypes in knockout mice. Candidate gene validation showed significant upregulation of Rasd1 (Dexras1) following sleep deprivation, and phenotyping of Rasd1 KO mice revealed changes in the amount and distribution of behavioural sleep duration and sleep bout structure. These results provide a greater understanding of the molecular correlates of sleep and provide a resource for the sleep research community.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
FHSProject139/FSH-Project-Notebooks-and-Files
fae3c7ae2f8cd9cf432071d42113d8a8eed0fdf5, 5 March 2019Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
28 files
- A10_430AV2_ForeOlig.ipyn
b , Jupyter, 180 lines - A11_430AV2_Astro.ipynb, Jupyter, 179 lines
- A12_430AV2_NonAstro.ipyn
b , Jupyter, 179 lines - A13_430AV2_Hipp_.ipynb, Jupyter, 179 lines
- A14_MoEx_CerCx.ipynb, Jupyter, 180 lines
- A15_430AV2_AK.ipynb, Jupyter, 179 lines
- A16_430AV2_B6.ipynb, Jupyter, 179 lines
- A17_430AV2_D2.ipynb, Jupyter, 179 lines
- A18_430AV2_ZT6_AK.ipynb, Jupyter, 179 lines
- A19_430AV2_ZT6_B6.ipynb, Jupyter, 179 lines
- A1_430AV2_CerCx_3h.ipynb
, Jupyter, 179 lines - A20_430AV2_ZT6_D2.ipynb, Jupyter, 179 lines
- A21_430AV2_ZT12_AK.ipynb
, Jupyter, 179 lines - A22_430AV2_ZT12_B6.ipynb
, Jupyter, 179 lines - A23_430AV2_ZT12_D2.ipynb
, Jupyter, 179 lines - A2_430AV2_CerCx_6h.ipynb
, Jupyter, 179 lines - A3_430AV2_CerCx_9h.ipynb
, Jupyter, 179 lines - A4_430AV2_CerCx_12h.ipyn
b , Jupyter, 179 lines - A5_430AV2_HypoT_3h.ipynb
, Jupyter, 179 lines - A6_430AV2_HypoT_6h.ipynb
, Jupyter, 179 lines - A7_430AV2_HypoT_9h.ipynb
, Jupyter, 179 lines - A8_430AV2_HypoT_12h.ipyn
b , Jupyter, 179 lines - A9_430AV2_ForeNonOlig.ip
ynb , Jupyter, 180 lines - B1_indexing_Hedgesgs_sym
bol.ipynb , Jupyter, 249 lines - B2_REM_Meta_Analysis - ALL.ipynb, Jupyter, 471 lines
- C1_Viz_table_colouring_f
or_Volcano - all.ipynb , Jupyter, 77 lines - C2_Viz_Plot_plus_table.i
pynb , Jupyter, 84 lines - README.md, Text, 2 lines
ohabdalla1/Dexras1_Behavioural_Sleep
ed0e4416bbf2f6deb231558ab2a8e9e741286371, 18 March 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
4 files
- Dexras1_Activity.ipynb, Jupyter, 686 lines
- Dexras1_Sleep.ipynb, Jupyter, 2,391 lines
- LICENSE, License, 21 lines
- README.md, Text, 13 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 29 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
All code, including Jupyter Notebooks and data files and their corresponding Conda Environments are available for download and re-production at https://
Jupyter Notebooks and data files pertaining to the Rasd1 KO mice can be found at https://
Data used for the meta-analysis are publicly available and accession codes are listed in Data Set S1 and Data Set S2. All other data are available in the main text or the supplementary materials.
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Authors: added Osama H.M.H. Abdalla (0009-0000-4854-0995); Stuart N. Peirson (0000-0003-3653-834X); removed Osama H.M.H. Abdalla; Stuart N. Peirson
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 11 authors, 3 keywords, 2 funders, 74 references, 1 RRID.
Cite
This paper
Abdalla, O. H., Dunlop, E., Wilson, T. S., Reardon, P. K., Iqbal, M., Tam, S. K., Vyazovskiy, V. V., Ray, D. W., Brown, L. A., Cheng, H.-Y. M., & Peirson, S. N. (2026). Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data. Neurobiology of sleep and circadian rhythms, 21, 100149. https://
BibTeX
@article{abdalla2026mole
author = {Abdalla, Osama H.M.H. and Dunlop, Ella and Wilson, Tatiana S. and Reardon, Paul K. and Iqbal, Mudassar and Tam, Shu K.E. and Vyazovskiy, Vladyslav V. and Ray, David W. and Brown, Laurence A. and Cheng, Hai-Ying Mary and Peirson, Stuart N.},
title = {{Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data}},
journal = {Neurobiology of sleep and circadian rhythms},
year = {2026},
month = jun,
volume = {21},
pages = {100149},
publisher = {Elsevier},
issn = {2451-9944},
doi = {10.1016/
url = {https://
pmid = {42518733},
pmcid = {PMC13382439}
}
RIS
TY - JOUR
AU - Abdalla, Osama H.M.H.
AU - Dunlop, Ella
AU - Wilson, Tatiana S.
AU - Reardon, Paul K.
AU - Iqbal, Mudassar
AU - Tam, Shu K.E.
AU - Vyazovskiy, Vladyslav V.
AU - Ray, David W.
AU - Brown, Laurence A.
AU - Cheng, Hai-Ying Mary
AU - Peirson, Stuart N.
TI - Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data
T2 - Neurobiology of sleep and circadian rhythms
J2 - Neurobiol Sleep Circadian Rhythms
PY - 2026
DA - 2026/
VL - 21
SP - 100149
SN - 2451-9944
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data",
"container-title": "Neurobiology of sleep and circadian rhythms",
"author": [
{
"family": "Abdalla",
"given": "Osama H.M.H."
},
{
"family": "Dunlop",
"given": "Ella"
},
{
"family": "Wilson",
"given": "Tatiana S."
},
{
"family": "Reardon",
"given": "Paul K."
},
{
"family": "Iqbal",
"given": "Mudassar"
},
{
"family": "Tam",
"given": "Shu K.E."
},
{
"family": "Vyazovskiy",
"given": "Vladyslav V."
},
{
"family": "Ray",
"given": "David W."
},
{
"family": "Brown",
"given": "Laurence A."
},
{
"family": "Cheng",
"given": "Hai-Ying Mary"
},
{
"family": "Peirson",
"given": "Stuart N."
}
],
"container-title-short":
"volume": "21",
"page": "100149",
"DOI": "10.1016/
"PMID": "42518733",
"PMCID": "PMC13382439",
"ISSN": "2451-9944",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s42003-022-03800-3 [code]
- Single-cell transcriptomics and cell-specific proteomics reveals molecular signatures of sleep.Journal: Communications biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, genetics / omics, cellular / molecular, 8 references
- [2] doi:10.1016/j.isci.2024.110752 [code]
- A global transcriptional atlas of the effect of acute sleep deprivation in the mouse frontal cortex.Journal: iScienceIn common: tidyverse, genetics / omics, mouse, 6 references
- [3] doi:10.3389/fnins.2023.1303727
- Sex-specific regulation of the cortical transcriptome in response to sleep deprivation.Journal: Frontiers in neuroscienceIn common: genetics / omics, mouse, cellular / molecular, 6 references
- [4] doi:10.3390/brainsci12070825
- Gene Expression Changes of Murine Cortex Homeostasis in Response to Sleep Deprivation Hint Dysregulated Aging-like Transcriptional Responses.Journal: Brain sciencesIn common: mouse, cellular / molecular, 6 references
- [5] doi:10.1186/s13062-023-00377-7
- Probing pathways by which rhynchophylline modifies sleep using spatial transcriptomics.Journal: Biology directIn common: genetics / omics, mouse, cellular / molecular, 6 references
- [6] doi:10.1038/s41467-023-42751-z [code]
- Spatial transcriptomics reveals unique gene expression changes in different brain regions after sleep deprivation.Journal: Nature communicationsIn common: tidyverse, genetics / omics, mouse, cellular / molecular, 5 references
- [7] doi:10.1073/pnas.2101580118 [code]
- The hypothalamic link between arousal and sleep homeostasis in mice.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: mouse, 2 references, author Stuart N. Peirson
- [8] doi:10.1038/s41467-026-71252-y
- Genetic architecture of sleep in a genome wide association study of device measured sleep traits.Journal: Nature communicationsIn common: genetics / omics, 5 references
- [9] doi:10.1073/pnas.2500880122 [code]
- microRNA-218-5p coordinates scaling of excitatory and inhibitory synapses during homeostatic synaptic plasticity.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: rstatix, tidyverse, cellular / molecular, 3 references
- [10] doi:10.1111/jsr.70205 [code]
- A Meta-Analysis of the Effects of Acute Sleep Deprivation on the Cortical Transcriptome in Rodent Models.Journal: Journal of sleep researchIn common: tidyverse, genetics / omics, mouse, cellular / molecular, 3 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 29 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:b10b8b8ef8f113bb…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149.svg
:target: https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149"><img src="https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
- FHSProject139/FSH-Project-Notebooks-and-Files: README.md on GitHub
- ohabdalla1/Dexras1_Behavioural_Sleep: README.md on GitHub
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
