OSCR

Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors.

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

MATLAB · 112 lines · 3.5 KB · no license

  1. % Fig1_2_S1_S3_S4 - Main batch analysis and figure generation script
  2. % Runs the full analysis pipeline and generates figures corresponding to
  3. % Figures 1, 2, S1, S3, and S4 of the manuscript.
  4. %
  5. % Outputs:
  6. % - A large set of analysis results saved to disk (MAT-file).
  7. % - A comprehensive collection of figures saved to disk.
  8. % Author: Kadir Mutlu
  9. % Address: Olav Kyrres gate 9, 7030 Trondheim, Norway
  10. % email: [email hidden]
  11. % Website: https://www.ntnu.edu/kavli
  12. %
  13. % Copyright (c) 2019, Kadir Mutlu
  14. %%% Generate the object used throughout the analysis pipeline.
  15. cel_onl = sam_fun.cel_onl_fun();
  16. %%% Save animal-level data
  17. sav_rec_all(cel_onl)
  18. %
  19. sav_ima_cal_all(cel_onl)
  20. %%% Save sample-level data
  21. sav_dat_sam(cel_onl)
  22. %%% Append synch parameters and tail-related metrics
  23. sta_ani = 1;
  24. app_syn_axo_all(cel_onl, sta_ani)
  25. %
  26. app_tai_all(cel_onl, sta_ani)
  27. %%% Preprocess calcium imaging data
  28. app_cel_log_pla_row_col_all(cel_onl, sta_ani)
  29. %
  30. det_per_bin_edg_all(cel_onl, sta_ani)
  31. %
  32. app_log_pla_icx_row_col_all(cel_onl, sta_ani)
  33. %
  34. app_som_log_pla_row_col_cel_all(cel_onl, sta_ani)
  35. %%% Append tail data and processed data
  36. app_tai_dat(cel_onl)
  37. %
  38. app_som(cel_onl)
  39. %%% Append clustering data
  40. app_gab_clu_cel_k_all(cel_onl)
  41. %%% Append sample-level tail data
  42. app_tai(cel_onl)
  43. %
  44. app_par_tai_cel_all(cel_onl)
  45. %%% Save figures
  46. sav_fig_ong_cel_all(cel_onl)
  47. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  48. sav_fig_inh_exc_sig(cel_onl)
  49. %
  50. sav_fig_pcc_dis(cel_onl)
  51. %
  52. sav_fig_clu_fid(cel_onl)
  53. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  54. sav_fig_cor_cor_den(cel_onl)
  55. %
  56. sav_fig_clu(cel_onl)
  57. %
  58. sav_fig_inh_exc_spa_all(cel_onl)
  59. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  60. sav_fig_res(cel_onl)
  61. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  62. sav_fig_pie(cel_onl)
  63. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  64. sav_fig_clu_fid(cel_onl)
  65. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  66. sav_fig_clu_map_cel(cel_onl)
  67. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  68. sav_fig_pie_k(cel_onl)
  69. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  70. sav_fig_n_cel(cel_onl)
  71. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  72. sav_fig_dff_ang(cel_onl)
  73. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  74. sav_fig_nta_win(cel_onl)
  75. %
  76. sav_fig_pro_mul(cel_onl)
  77. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  78. sav_fig_inh_exc_spa_two(cel_onl)
  79. %
  80. sav_fig_res_acc_mod(cel_onl)
  81. %
  82. sav_fig_mod_loc(cel_onl)
  83. %
  84. sav_fig_roi_con_all(cel_onl)
  85. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  86. sav_fig_pai_mod(cel_onl)
  87. %
  88. sav_fig_pve_cel(cel_onl)
  89. %
  90. sav_fig_tap_tai_not(cel_onl)
  91. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  92. sav_fig_pve_cel_tau(cel_onl)
  93. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  94. sav_fig_inh_exc_spa_bou_non(cel_onl)% fraction plot
  95. %
  96. sav_fig_clu_loc_sig(cel_onl)
  97. %
  98. sav_fig_per_pai_mod(cel_onl)
  99. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  100. sav_fig_hab(cel_onl)
  101. %
  102. sav_fig_rep_sup(cel_onl)
  103. %
  104. sav_fig_ttn_sca_all(cel_onl)
  105. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  106. sav_fig_inh_exc_spl(cel_onl)
  107. %
  108. sav_fig_pie(cel_onl)
  109. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  110. sav_fig_ccd_spl(cel_onl)

Fig1_2_S1_S3_S4.m at commit ed53c37, no license · at the source

Overview

Authors: Aytac Kadir Mutlu1, Bram Serneels1, Christoph Wiest1,2, Anh-Tuan Trinh1, Ricarda Bardenhewer1, Fabrizio Palumbo1, Oda Bjørnevik Frisvold1, Inger Kristine Fjeldskaar Aukrust1, Anna Maria Ostenrath1, Emre Yaksi1,3
  1. Kavli Institute for Systems Neuroscience and Centre for Neural Computation, Faculty of Medicine and Health Sciences, Norwegian University of Science and Technology, Olav Kyrres gata 9,Trondheim, Norway
  2. National Hospital for Neurology and Neurosurgery, University College London Hospitals NHS Foundation Trust,London, UK
  3. Koç University Research Center for Translational Medicine, Koç University School of Medicine,Istanbul, Turkey
Journal: Nature communications, volume 17, issue 1, article 6243
Dates: received 13 March 2025; accepted 30 June 2026; published online 16 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-75490-y · PMID 42463658 · PMCID PMC13376501 · OpenAlex W7168764455
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: zebrafish (organism)
Methods: Statistics, Machine learning, Smoothing, state filtering, decompositions, Evoked potentials, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: Neural circuits, Sensory processing, Sensorimotor processing
MeSH: Behavior, Animal*, Dorsal Raphe Nucleus*, Prosencephalon*, Animals, Animals, Genetically Modified, Axons, Glutamate Decarboxylase, Locomotion, Male, Neurons, Zebrafish, Zebrafish Proteins (* major topic)
Topic: Zebrafish Biomedical Research Applications (Cell Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: Norges Forskningsråd (314212)
Citations: cited by 1 paper (Europe PMC); 148 references in the paper

Abstract

The dorsal raphe nucleus (DRN) shapes behaviors including mood and motivation. The DRN contains molecularly distinct and topographically organized neurons that target specific forebrain regions. To understand how DRN neurons process sensory information, we investigated the spatiotemporal activity patterns of DRN neurons, DRN axons, and their forebrain targets in zebrafish. We found a remarkable topographic organization of ongoing activity and sensory-motor responses within the DRN. A subset of DRN neurons was driven by locomotion and sensory stimuli. Gad1-positive DRN neurons exhibited distinct activity during rest and sensory-motor stimulation. DRN axons in the forebrain showed topographically organized excitation and inhibition in response to sensory stimulation and locomotion. DRN axons covaried with forebrain neuronal activity. DRN ablation reduced the synchrony and sensory-motor responses of forebrain neurons and enhanced defensive behaviors. We revealed the functional diversity of DRN neurons and their role in transmitting sensory and locomotor signals via topographically organized forebrain projections.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above.

yaksilab/drn_paper

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: ed53c371d0baef5e05ece64650883cb0297354bd, 7 April 2026
Languages: MATLAB (818), C (14), C++ (5), C/C++ (5), Java (2)
Size: 1,101 files, 844 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, tests, documentation
Not found: license file, CITATION.cff, environment file, continuous integration
Tools: Statistics and Machine Learning Toolbox (105 files), boundedline (32 files), Signal Processing Toolbox (21 files), shadedErrorBar (16 files), export_fig (14 files), Image Processing Toolbox (14 files), Curve Fitting Toolbox (5 files), EEGLAB (4 files), Violinplot-Matlab (3 files), Parallel Computing Toolbox (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
845 files

Zenodo 19452784

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Statistics and Machine Learning Toolbox (105 files), boundedline (32 files), Signal Processing Toolbox (21 files), shadedErrorBar (16 files), export_fig (14 files), Image Processing Toolbox (14 files), Curve Fitting Toolbox (5 files), EEGLAB (4 files), Violinplot-Matlab (3 files), Parallel Computing Toolbox (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
845 files
At the source:

Code availability

Main associated codes that are used to make figures are available at: 10.5281/zenodo.19452784 and https://github.com/yaksilab/drn_paper.

Reproduced under the paper's license (CC BY), from the paper cited above.

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;
  • 1,688 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

Calcium imaging data reported in this paper have been deposited in the sigma2 data base under the accession code 10.11582/2026.93nyzmjx. Source data are provided with this paper as a Source Data file.

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 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 3 keywords, 12 MeSH terms, 1 funder, 139 references.

Cite

This paper

Mutlu, A. K., Serneels, B., Wiest, C., Trinh, A.-T., Bardenhewer, R., Palumbo, F., Frisvold, O. B., Aukrust, I. K. F., Ostenrath, A. M., & Yaksi, E. (2026). Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors. Nature communications, 17(1), 6243. https://doi.org/10.1038/s41467-026-75490-y

BibTeX

@article{mutlu2026topographically,
author = {Mutlu, Aytac Kadir and Serneels, Bram and Wiest, Christoph and Trinh, Anh-Tuan and Bardenhewer, Ricarda and Palumbo, Fabrizio and Frisvold, Oda Bjørnevik and Aukrust, Inger Kristine Fjeldskaar and Ostenrath, Anna Maria and Yaksi, Emre},
title = {{Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors}},
journal = {Nature communications},
year = {2026},
month = jul,
volume = {17},
number = {1},
pages = {6243},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-75490-y},
url = {https://doi.org/10.1038/s41467-026-75490-y},
pmid = {42463658},
pmcid = {PMC13376501}
}

RIS

TY - JOUR
AU - Mutlu, Aytac Kadir
AU - Serneels, Bram
AU - Wiest, Christoph
AU - Trinh, Anh-Tuan
AU - Bardenhewer, Ricarda
AU - Palumbo, Fabrizio
AU - Frisvold, Oda Bjørnevik
AU - Aukrust, Inger Kristine Fjeldskaar
AU - Ostenrath, Anna Maria
AU - Yaksi, Emre
TI - Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/07/16
VL - 17
IS - 1
SP - 6243
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-75490-y
UR - https://doi.org/10.1038/s41467-026-75490-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-75490-y",
"type": "article-journal",
"title": "Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors",
"container-title": "Nature communications",
"author": [
{
"family": "Mutlu",
"given": "Aytac Kadir"
},
{
"family": "Serneels",
"given": "Bram"
},
{
"family": "Wiest",
"given": "Christoph"
},
{
"family": "Trinh",
"given": "Anh-Tuan"
},
{
"family": "Bardenhewer",
"given": "Ricarda"
},
{
"family": "Palumbo",
"given": "Fabrizio"
},
{
"family": "Frisvold",
"given": "Oda Bjørnevik"
},
{
"family": "Aukrust",
"given": "Inger Kristine Fjeldskaar"
},
{
"family": "Ostenrath",
"given": "Anna Maria"
},
{
"family": "Yaksi",
"given": "Emre"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "6243",
"DOI": "10.1038/s41467-026-75490-y",
"PMID": "42463658",
"PMCID": "PMC13376501",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-75490-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
16
]
]
}
}

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/s41467-025-62115-z [code]
Inhibition mediated by group III metabotropic glutamate receptors regulates habenula activity and defensive behaviors.
Journal: Nature communications
In common: shadedErrorBar, Signal Processing Toolbox, Image Processing Toolbox, 1 other tool, zebrafish, 22 references, 3 authors
[2] doi:10.1126/sciadv.adv8128
Integrated single-cell atlases unveil the operation principles of whole-brain 5-HT neuronal subsystems.
Journal: Science advances
In common: zebrafish, 17 references
[3] doi:10.1038/s42003-026-09855-w
Early life chronic stress-disrupted activity of the dorsal raphe nucleus selectively drives behavioral impairments.
Journal: Communications biology
In common: zebrafish, 16 references
[4] doi:10.1111/epi.17380
Elevated photic response is followed by a rapid decay and depressed state in ictogenic networks.
Journal: Epilepsia
In common: zebrafish, 5 references, 3 authors
[5] doi:10.7554/elife.110370 [code]
Serotonergic modulation of motor subspace dynamics drives a sleep-independent quiescent state.
Journal: eLife
In common: Parallel Computing Toolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, zebrafish, 13 references
[6] doi:10.1016/j.celrep.2021.109775 [code]
Diversity and function of motile ciliated cell types within ependymal lineages of the zebrafish brain.
Journal: Cell reports
In common: zebrafish, 9 references, author Emre Yaksi
[7] doi:10.7554/elife.101105 [code]
Ultraslow serotonin oscillations in the hippocampus delineate substates across NREM and waking.
Journal: eLife
In common: boundedline, export_fig, Curve Fitting Toolbox, 5 other tools, 5 references
[8] doi:10.1002/cne.70046 [code]
Evidence for Auditory Stimulus-Specific Adaptation But Not Deviance Detection in Larval Zebrafish Brains.
Journal: The Journal of comparative neurology
In common: zebrafish, 10 references
[9] doi:10.7554/elife.72345 [code]
Specialized neurons in the right habenula mediate response to aversive olfactory cues.
Journal: eLife
In common: zebrafish, 10 references
[10] doi:10.1371/journal.pbio.3002468
The forkhead transcription factor Foxj1 controls vertebrate olfactory cilia biogenesis and sensory neuron differentiation.
Journal: PLoS biology
In common: zebrafish, 7 references, author Emre Yaksi

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.1038/s41467-026-75490-y.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-75490-y)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-75490-y.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-75490-y
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-75490-y"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-75490-y.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.