OSCR

Molecular correlates of sleep deprivation in the mouse brain identified by meta-analysis of microarray data.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

  1. # %% [markdown]
  2. # # Calculations of the Effect Size (ES) for each microarray study
  3. #
  4. # ### Using Hedges' g value, an adjusted Cohen's d value
  5. # %% [markdown]
  6. # $$ {Enrichment} = \bar{X_2}-\bar{X_1}$$
  7. #
  8. # Let Group 1 be Sleeping Forebrain Oligodendrocyte Expression values and Group 2 be 4-8hSD Forebrain Oligodendrocyte Expression values
  9. #
  10. # (S mean - SD mean) **(Logged values, so minus gives ratio)**
  11. # %% [markdown]
  12. # $$ {Pooled\ Standard\ Deviation} = \sqrt\frac{(n_1-1)S_1^2 +(n_2-1)S_2^2}{(n_2 +n_2) -2} $$
  13. # %% [markdown]
  14. # $$ {Cohen's\ d\ value} = \frac{Enrichment}{Pooled\ Standard\ Deviation} $$
  15. # %% [markdown]
  16. # $$ {Correction\ Factor (J\ Factor)} = 1- \frac{3}{4df-1} $$
  17. # %% [markdown]
  18. # $$ {Hedges'\ g\ value} = Cohen's\ d\ \text{x}\ J\ $$
  19. # %% [markdown]
  20. # $$ {Variance\ in\ d (V_d)} = \frac{n_1- +n_2}{n_1 n_2} + \frac{d^2}{2(n_1 +n_2)} $$
  21. # %% [markdown]
  22. # $$ {Variance\ in\ g (V_g)} = J^2\ \text{x}\ V_d $$
  23. # %% [markdown]
  24. # $$ {Standard\ Error\ in\ g (SE_g)} = \sqrt{V_g} $$
  25. # %% [markdown]
  26. # ## Setup working environment and import data
  27. # %%
  28. import pandas as pd # Dataframes and file IO
  29. import numpy as np # numerical calculations
  30. %cd /Users/Ella1/Desktop/data sets 430AV2
  31. # %%
  32. prefix = '430AV2_ForeOlig_' # define a prefix to add to column names (making indexing easier later)
  33. # %%
  34. # import the data file to a data frame 'df'
  35. df=pd.read_table('DATASET-GSE48369.txt', delimiter='\t', index_col=0) #,nrows=500)
  36. df.shape
  37. # %%
  38. # remove probes that are know to cross-hybridise to more than one target
  39. df =df[~df.index.str.contains('_x_|_s_')] # important reverse selector ~
  40. df.shape
  41. # %% [markdown]
  42. # ## Look at column names and then setup filters for grouping columns into Oligodendrocyte samples of S and SD groups
  43. # It is important that we pick up only one of the two types of tissue investivagtes in this assession.
  44. # %%
  45. df.columns
  46. # %%
  47. # define regular expressions for sleep (S) and sleep dep (SD) filters
  48. s_filt ='ForeOlig_S.CEL'
  49. sd_filt ='ForeOlig_SD.CEL'
  50. # %%
  51. df_s=df.filter(regex= s_filt)
  52. df_s.head()
  53. # %%
  54. df_sd=df.filter(regex= sd_filt)
  55. df_sd.head()
  56. # %% [markdown]
  57. # ## Calculations
  58. # %%
  59. # Enrichment
  60. df[prefix+'Enrich'] = df.filter(regex=sd_filt).mean(axis=1) - df.filter(regex=s_filt).mean(axis=1)
  61. # %%
  62. df[prefix+'Enrich'].head()
  63. # %%
  64. # Calculating Pooled StDev
  65. Scount = df.filter(regex=s_filt).count(axis=1)
  66. SDcount = df.filter(regex=sd_filt).count(axis=1)
  67. StdevS = (Scount-1) * df.filter(regex=s_filt).var(axis=1)
  68. StdevSD = (SDcount-1) * df.filter(regex=sd_filt).var(axis=1)
  69. df[prefix+'poolStDev'] = np.sqrt((StdevS+StdevSD)/(Scount+ SDcount-2))
  70. # %%
  71. # Calculating Cohen's d
  72. df[prefix+'Cohens_d'] = df[prefix+'Enrich'] / df[prefix+'poolStDev']
  73. # %%
  74. #df[prefix+'poolStDev'].head()
  75. df[prefix+'Cohens_d'] .head()
  76. # %%
  77. # Calculating J value (Correction factor)
  78. df[prefix+'J'] = 1-(3/(4*(Scount+SDcount-1)))
  79. # %%
  80. # Calculating Hedge's g
  81. df[prefix+'Hedges_g'] = df[prefix+'Cohens_d'] * df[prefix+'J']
  82. # %%
  83. #df[prefix+'J'].head()
  84. df[prefix+'Hedges_g'] .head()
  85. # %%
  86. # Calculating Var_d
  87. Scount = df.filter(regex=s_filt).count(axis=1)
  88. SDcount = df.filter(regex=sd_filt).count(axis=1)
  89. Ftop1 = Scount + SDcount
  90. Ftop2 = Scount * SDcount
  91. Fbottom1 = np.square(df[prefix+'Cohens_d'])
  92. Fbottom2 = 2*(Scount + SDcount)
  93. df[prefix+'Var_d'] = (Ftop1/Ftop2) + (Fbottom1 /Fbottom2)
  94. # %%
  95. #check output
  96. df[prefix+'Var_d'].head()
  97. # %%
  98. df[prefix+'Var_g'] = df[prefix+'Var_d'] * np.square(df[prefix+'J'])
  99. # %%
  100. # Calculating SEg
  101. df[prefix+'SEg'] = np.sqrt(df[prefix+'Var_g'])
  102. # %%
  103. df.sort_values(by= '430AV2_ForeOlig_Hedges_g', ascending=False, inplace=True)
  104. df
  105. # %%
  106. df.columns
  107. # %% [markdown]
  108. # ### Import key file from BioMart and index probesets to MGI gene symbols
  109. # %%
  110. dfX=pd.read_table('../FHS project/Sleep notebook Copy/BioMart_Ensmbl_index/mart_export72_430v2430Av2.txt',index_col=[3])
  111. dfX.pop('Affy mouse430 2 probeset') # remove 430V2 probeset info (not needed for 430AV2 indexing)
  112. dfX.head(5)
  113. # %%
  114. df_Join = df.join(dfX, how='left', sort=True)
  115. df_FINAL1 = df_Join.groupby('MGI symbol').mean()
  116. df_FINAL1[df_FINAL1.index.duplicated()==True] # checking that no duplicate entries exist in the dataframe
  117. # %% [markdown]
  118. # ### Columns from the list above can then easily be picked to produce files for use later. Examples below given:
  119. # #### df3 = average S and SD expression for the platform and the log-fold changes
  120. # #### df4 = Hedges g values and associated variance for Meta-analysis (after indexing)
  121. # %%
  122. # df3 = df_FINAL1.loc[:,[u'avg-SD', u'avg-S', u'log_fold-S_vs_SD']]
  123. # df3.columns =[prefix+'avg-SD', prefix+'avg-S', prefix+'log_fold-S_vs_SD']
  124. # df3.to_csv('input_files/430AV2_SymbolExpression_forIndex.csv')
  125. # %%
  126. df4 = df_FINAL1.loc[:,[u'430AV2_ForeOlig_Enrich',u'430AV2_ForeOlig_Hedges_g', u'430AV2_ForeOlig_Var_g', u'430AV2_ForeOlig_SEg']]
  127. df4.to_csv('../FHS project/Sleep notebook Copy/IPython_notebooks/input_files/430AV2_ForeOlig_SymbolforIndexHedges.csv')
  128. # %%
  129. df4.head(10) # check final ouput

A10_430AV2_ForeOlig.ipynb at commit fae3c7a, no license · at the source

Overview

Authors: Osama H.M.H. Abdalla1,2, Ella Dunlop3, Tatiana S. Wilson4,5, Paul K. Reardon6, Mudassar Iqbal7, Shu K.E. Tam8, Vladyslav V. Vyazovskiy9, David W. Ray4,5, Laurence A. Brown10, Hai-Ying Mary Cheng1,2, Stuart N. Peirson3
  1. Department of Biology, University of Toronto Mississauga, Mississauga, ON, L5L 1C6, Canada
  2. Department of Cell & Systems Biology, University of Toronto, Toronto, ON, M5S 3G5, Canada
  3. Sleep and Circadian Neuroscience Institute (SCNi), Kavli Institute of Nanoscience Discovery, Nuffield Department of Clinical Neurosciences, University of Oxford, United Kingdom
  4. Sleep and Circadian Neuroscience Institute (SCNi), NIHR Oxford Health Biomedical Research Centre, John Radcliffe Hospital, Oxford, OX3 9DU, United Kingdom
  5. Oxford Centre for Diabetes, Endocrinology and Metabolism, and Oxford Kavli Centre for Nanoscience Discovery, University of Oxford, Oxford, OX37LE, United Kingdom
  6. Section on Developmental Neurogenomics, Human Genetics Branch, National Institute of Mental Health, Bethesda, MD, 20892, USA
  7. Division of Informatics, Imaging & Data Sciences, University of Manchester, United Kingdom
  8. Duke Kunshan University (DKU), Kunshan, Jiangsu, China
  9. Sleep and Circadian Neuroscience Institute (SCNi), Kavli Institute of Nanoscience Discovery, Department of Physiology, Anatomy and Genetics, University of Oxford, United Kingdom
  10. Research IT, IT Services, University of Oxford, United Kingdom
Journal: Neurobiology of sleep and circadian rhythms, volume 21, article 100149
Dates: received 12 May 2026; accepted 20 June 2026; published online 23 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.nbscr.2026.100149 · PMID 42518733 · PMCID PMC13382439 · OpenAlex W7165624396
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), mouse (organism), cellular / molecular (subfield)
Methods: Statistics
Keywords: Meta-analysis, Sleep deprivation, Rasd1
Topic: Sleep and Wakefulness Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Biotechnology and Biological Sciences Research Council (BB/S015817/1, BB/X002357/1); National Centre for the Replacement, Refinement and Reduction of Animals in Research (NC/V000977/1)
Citations: not cited yet (Europe PMC); 75 references in the paper
Research resources: RRID:SCR_016611

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

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: fae3c7ae2f8cd9cf432071d42113d8a8eed0fdf5, 5 March 2019
Languages: Jupyter (27)
Size: 60 files, 27 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, 27 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (27 files), pandas (27 files), Matplotlib (1 file), SciPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
28 files

ohabdalla1/Dexras1_Behavioural_Sleep

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: ed0e4416bbf2f6deb231558ab2a8e9e741286371, 18 March 2025
Languages: Jupyter (2)
Size: 66 files, 2 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file, 2 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: rstatix (2 files), tidyverse (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
4 files

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://github.com/FHSProject139/FSH-Project-Notebooks-and-Files, and a version of the code at the point of manuscript submission is available at https://figshare.com/s/7bed11236e44b6995564.

Jupyter Notebooks and data files pertaining to the Rasd1 KO mice can be found at https://github.com/ohabdalla1/Dexras1_Behavioural_Sleep and a version of the code at the point of manuscript submission is available at https://figshare.com/s/d5cadb1b22ff74f90265.

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://doi.org/10.1016/j.nbscr.2026.100149

BibTeX

@article{abdalla2026molecular,
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/j.nbscr.2026.100149},
url = {https://doi.org/10.1016/j.nbscr.2026.100149},
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/06/23
VL - 21
SP - 100149
SN - 2451-9944
PB - Elsevier
DO - 10.1016/j.nbscr.2026.100149
UR - https://doi.org/10.1016/j.nbscr.2026.100149
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.nbscr.2026.100149",
"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": "Neurobiol Sleep Circadian Rhythms",
"volume": "21",
"page": "100149",
"DOI": "10.1016/j.nbscr.2026.100149",
"PMID": "42518733",
"PMCID": "PMC13382439",
"ISSN": "2451-9944",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.nbscr.2026.100149",
"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 biology
In 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: iScience
In 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 neuroscience
In 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 sciences
In 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 direct
In common: genetics / omics, mouse, cellular / molecular, 6 references
[6] doi:10.1073/pnas.2101591118
Dim light in the evening causes coordinated realignment of circadian rhythms, sleep, and short-term memory.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: mouse, 3 references, author Stuart N. Peirson
[7] doi:10.1038/s41467-023-42751-z [code]
Spatial transcriptomics reveals unique gene expression changes in different brain regions after sleep deprivation.
Journal: Nature communications
In common: tidyverse, genetics / omics, mouse, cellular / molecular, 5 references
[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 communications
In common: genetics / omics, 5 references
[9] 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 America
In common: mouse, 2 references, author Stuart N. Peirson
[10] 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 America
In common: rstatix, tidyverse, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1016/j.nbscr.2026.100149.svg)](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:end
HTML
<!-- 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".

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.