OSCR

A midbrain circuit for high-fat-food induced conditioned taste aversion.

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, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 66 lines · 2.4 KB · no license

  1. function varName = TDMS_genvarname2(string,replaceStr,prependStr,alwaysPrepend)
  2. %GENVARNAME2: Outputs a valid variable name VARNAME
  3. %
  4. % GENVARNAME2(STRING,*REPLACESTR,*PREPENDSTR,*ALWAYSPREPEND) replaces invalid
  5. % characters in STRING with REPLACESTR. If the first letter is not
  6. % a letter, or ALWAYSPREPEND is true, then PREPENDSTR is prepended
  7. % to the variable name
  8. %
  9. % INPUTS
  10. % =======================================================================
  11. % STRING - input string to convert to safe variable name
  12. % *REPLACESTR - (default '_'), character to replace invalid values with
  13. % *PREPENDSTR - (default 'v'), value to prepend if first character is not
  14. % a letter or ALWAYSPREPEND is true
  15. % *ALWAYSPREPEND - (default true), if true, alwyays adds the PREPENDSTR
  16. %
  17. % EXAMPLES
  18. % ========================================
  19. % Example 1:
  20. % % always append is selected
  21. % % 'var' gets appended
  22. % % underscore is
  23. % varName = genvarname2('RZ(1)','_','var',1)
  24. % varName = varRZ_1_
  25. % Example 2:
  26. % %always append is not selected
  27. % %first character is not numeric
  28. % varName = genvarname2('RZ(1)','_','var',0)
  29. % varName = RZ_1_
  30. % Example 3:
  31. % %always appedn is not selected
  32. % %since numeric appends 'var'
  33. % varName = genvarname2('1rack','_','var',0)
  34. % varName = var1rack
  35. %
  36. % See also: genvarname
  37. %
  38. % Copied from local genvarname2
  39. if nargin < 2, replaceStr = []; end
  40. if nargin < 3, prependStr = []; end
  41. if nargin < 4, alwaysPrepend = []; end
  42. if isempty(replaceStr), replaceStr = '_'; end
  43. if isempty(prependStr), prependStr = 'v'; end
  44. if isempty(alwaysPrepend), alwaysPrepend = true; end
  45. if ~isempty(find(~(isstrprop(replaceStr,'alphanum') | replaceStr == '_'),1))
  46. error('REPLACESTR must be alphaNumeric or an underscore')
  47. end
  48. mask = isstrprop(string,'alphanum');
  49. ind = find(mask,1,'first');
  50. string(~mask) = replaceStr; %Replaces all non-alpha numeric values with _
  51. string = string(ind:end);
  52. if(~isletter(string(1))) || alwaysPrepend
  53. if ~isempty(find(~(isstrprop(prependStr,'alphanum') | replaceStr == '_'),1))
  54. error('PREPENDSTR values must be alphaNumeric or an underscore')
  55. elseif ~isletter(prependStr(1))
  56. error('PREPENDSTR(1) needs to be a letter to have a valid variable name')
  57. end
  58. varName = [prependStr string];
  59. else
  60. varName = string;
  61. end

TDMS_genvarname2.m at commit 37a989f, no license · at the source

Overview

Authors: Li Zhan1,2,3, Xiaotong Wu1,2,3,4, Xiaomeng Wang1,2,3,4, Hanyang Xiao1,3, Siyu Wang1,3, Lu Zheng1,3, Hao Wang1,2,3,4
  1. Department of Neurosurgery of Second Affiliated Hospital and School of Brain Science and Brain Medicine, Key Laboratory for Biomedical Engineering of Education Ministry, Zhejiang University School of Medicine,Hangzhou, Zhejiang China
  2. Nanhu Brain-computer Interface Institute, Hangzhou, China
  3. NHC and CAMS Key Laboratory of Medical Neurobiology, MOE Frontier Science Center for Brain Research and Brain Machine Integration, Key Laboratory of Precise Treatment and Clinical Translational Research of Neurological Diseases, School of Brain Science and Brain Medicine, Zhejiang University,Hangzhou, Zhejiang China
  4. Lingang Laboratory, Shanghai, China
Institutions: Zhejiang University (China)
Journal: Nature communications, volume 17, issue 1, article 5388
Dates: received 22 April 2025; accepted 7 April 2026; published online 18 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-72107-2 · PMID 42000756 · PMCID PMC13276400 · OpenAlex W7154855647
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: mouse (organism), systems (subfield)
Methods: Statistics
Keywords: Feeding behaviour, Neural circuits, Learning and memory
MeSH: Avoidance Learning*, Conditioning, Classical*, Diet, High-Fat*, Mesencephalon*, Taste*, Animals, Feeding Behavior, Lithium Chloride, Male, Memory, Mice, Mice, Inbred C57BL, Neurons, Optogenetics (* major topic)
Topic: Biochemical Analysis and Sensing Techniques (Nutrition and Dietetics, Nursing), according to OpenAlex
Citations: not cited yet (Europe PMC); 45 references in the paper

Abstract

Conditioned taste aversion (CTA) is a survival mechanism that prevents consumption of harmful foods. Yet its neural circuits, especially those for solid food aversion, are poorly understood. Using a male mouse model where high-fat food (HFF) was paired with LiCl injections, we identified the median raphe region (MRR) as essential for CTA. Optogenetic activation of MRR glutamatergic neurons replaced LiCl injections, inducing robust HFF aversion. Calcium signaling in MRR neurons increased upon HFF approach post-CTA. We uncovered a necessary glutamatergic projection from the medial preoptic area (MPOA) to the MRR; stimulating this circuit mimicked LiCl, to elicit HFF aversion. Following CTA, synaptic changes in MRR neurons included an increased mEPSC frequency and an altered paired-pulse ratio in the MPOAVgluT2-MRR pathway. Finally, MRR projections to the medial septum and lateral habenula differentially encode and retrieve CTA memory. These findings define a circuit for aversion learning, offering insights into maladaptive eating behaviors.

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

Repository

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

Lizzy-2262/Natcommcode

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 37a989f3ec8735c6e5a5c65facc9e81310436d66, 6 March 2026
Languages: MATLAB (23)
Size: 25 files, 23 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
24 files

Code availability

MATLAB scripts used to analyze the fiber photometry recording data are available at: https://github.com/Lizzy-2262/Natcommcode.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 23 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

Source data are provided as a Source Data file, includes statistical test results for all performed tests, divided on individual Excel sheets per Figure. Graphics in Figs. 1a, c, h, 2c, g, k, 3b, j, 4b–d, 5b, e, h and Supplementary Figs. 1c, 2a, 4a, 5c, 6a, 8a, 9a, 10a, 11a, 12a, and 17a are created with BioRender. Zhan, L. (2026) https://BioRender.com/mi27m0t. Other graphics are created in Adobe Illustrator 2023, including Figs. 3a, c, n, q, 4a, 5a and Supplementary Figs. 13a, c, 14a, 15a, e, i, 18a, d. Source data are provided in this paper.

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

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 3 keywords, 14 MeSH terms, 1 funder, 42 references.

Cite

This paper

Zhan, L., Wu, X., Wang, X., Xiao, H., Wang, S., Zheng, L., & Wang, H. (2026). A midbrain circuit for high-fat-food induced conditioned taste aversion. Nature communications, 17(1), 5388. https://doi.org/10.1038/s41467-026-72107-2

BibTeX

@article{zhan2026midbrain,
author = {Zhan, Li and Wu, Xiaotong and Wang, Xiaomeng and Xiao, Hanyang and Wang, Siyu and Zheng, Lu and Wang, Hao},
title = {{A midbrain circuit for high-fat-food induced conditioned taste aversion}},
journal = {Nature communications},
year = {2026},
month = apr,
volume = {17},
number = {1},
pages = {5388},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-72107-2},
url = {https://doi.org/10.1038/s41467-026-72107-2},
pmid = {42000756},
pmcid = {PMC13276400}
}

RIS

TY - JOUR
AU - Zhan, Li
AU - Wu, Xiaotong
AU - Wang, Xiaomeng
AU - Xiao, Hanyang
AU - Wang, Siyu
AU - Zheng, Lu
AU - Wang, Hao
TI - A midbrain circuit for high-fat-food induced conditioned taste aversion
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/04/18
VL - 17
IS - 1
SP - 5388
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-72107-2
UR - https://doi.org/10.1038/s41467-026-72107-2
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-72107-2",
"type": "article-journal",
"title": "A midbrain circuit for high-fat-food induced conditioned taste aversion",
"container-title": "Nature communications",
"author": [
{
"family": "Zhan",
"given": "Li"
},
{
"family": "Wu",
"given": "Xiaotong"
},
{
"family": "Wang",
"given": "Xiaomeng"
},
{
"family": "Xiao",
"given": "Hanyang"
},
{
"family": "Wang",
"given": "Siyu"
},
{
"family": "Zheng",
"given": "Lu"
},
{
"family": "Wang",
"given": "Hao"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "5388",
"DOI": "10.1038/s41467-026-72107-2",
"PMID": "42000756",
"PMCID": "PMC13276400",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-72107-2",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
18
]
]
}
}

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.7554/elife.106347 [code]
Esr1-dependent signaling and transcriptional maturation in the medial preoptic area of the hypothalamus shape the development of mating behavior during adolescence.
Journal: eLife
In common: mouse, 5 references
[2] doi:10.1126/sciadv.ady6498 [code]
A prolactin-receptive neural circuit drives maternal interactions with pups in mice.
Journal: Science advances
In common: systems, mouse, 2 references
[3] doi:10.7554/elife.100642 [code]
Disrupted hippocampal theta-gamma coupling and spike-field coherence following experimental traumatic brain injury.
Journal: eLife
In common: systems, 2 references
[4] doi:10.1002/hipo.70131 [code]
Decoding Medial Entorhinal Cortical Dynamics Produces Planning-Like Alternations in Hippocampal theta Sequences.
Journal: Hippocampus
In common: systems, 2 references
[5] doi:10.1038/s41467-026-76574-5 [code]
Prefrontal-raphe-habenular circuit drives fear memory recall and updating.
Journal: Nature communications
In common: systems, mouse, 1 reference
[6] doi:10.1038/s41467-026-75522-7
High ambient temperature activates a neural circuit for gut glucose uptake in male mice.
Journal: Nature communications
In common: systems, mouse, 1 reference
[7] doi:10.1126/sciadv.aeb6839
A male-biased hypothalamic circuit modulates postmating sleep suppression in mice.
Journal: Science advances
In common: systems, mouse, 1 reference
[8] doi:10.1073/pnas.2603853123 [code]
A nose-to-brain circuit underlies anxiety regulation by nasal afferent frequency in mice.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: systems, mouse, 1 reference
[9] doi:10.1038/s41467-026-75492-w [code]
Place and behavioral modulation of hippocampal neurons during immobility.
Journal: Nature communications
In common: systems, mouse, 1 reference
[10] doi:10.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: systems, mouse, 1 reference

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.