OSCR

The prefrontal cortex controls memory organization in the hippocampus.

Code ↔ Paper

4 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

4 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 4 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Miniscope analysis ↔ Separate Steps/runConcatStep1.m, the whole file · a weak match · score 0.82 · NoRMCorre, rigid registration, spatially downsampled, motion correction, animal, pipeline · block oscr:b:PACFFH07F4S5R-J · Report a mismatch
  2. [2] § Methods › Miniscope analysis ↔ Separate Steps/runConcatStep1.m, the whole file · a weak match · score 0.81 · NoRMCorre, rigid registration, spatially downsampled, motion correction, animal, pipeline · block oscr:b:CV7JA8134Q0T3-1 · Report a mismatch
  3. [3] § Methods › Miniscope analysis ↔ MatlabPath_CNMFe_and_NoRMCorre/@Sources2D/Sources2D.m, lines 9 to 57 · score 0.73 · quality control, noise ratio, calcium transients, peak, deconvolved, CNMF · block oscr:b:WXRCQRPXMZ2WG-D · Report a mismatch
  4. [4] § Methods › Miniscope analysis ↔ Main/msRunCNMFE_Concat.m, lines 17 to 126 · score 0.67 · Gaussian kernels, noise ratio, ms, decay, peak, deconvolved · block oscr:b:6Z12NTF7A0MNB-X · Report a mismatch

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 · 74 lines · 3.2 KB · GPL-3.0 · 1 match

  1. function runConcatStep1(path,equipment)
  2. %% Pipeline for the proper concatenation of miniscope data across sessions
  3. % Developed by Daniel Almeida Filho Mar/2020 (SilvaLab - UCLA)
  4. % If you have any questions, please send an email to
  5. % [email hidden]
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. %% Parameters
  8. concatInfo.spatial_downsampling = 2; % (Recommended range: 2 - 4. Downsampling significantly increases computational speed, but verify it does not
  9. concatInfo.path = path;
  10. concatInfo.equipment = equipment;
  11. isnonrigid = true; % If true, performs non-rigid registration (slower). If false, rigid alignment (faster).
  12. % non-rigid is preferred within sessions.
  13. concatInfo.Sessions = dir(path);
  14. % concatInfo.Sessions = concatInfo.Sessions(3:end,:);
  15. concatInfo.Sessions = concatInfo.Sessions(3:end,:);
  16. analysis_time ='SHtemp';
  17. ConcatFolder = 'Concatenation';
  18. concatInfo.ConcatFolder = ConcatFolder;
  19. % concatInfo.order = [1 2 3]; % Order in which the files in "concatInfo.Sessions"
  20. % % will be concatenated.
  21. nSessions = size(concatInfo.Sessions,1);
  22. mkdir(strcat(path,filesep,ConcatFolder));
  23. save(strcat(path,filesep,ConcatFolder,filesep,'concatInfo.mat'),'concatInfo','-v7.3')
  24. %% Step 1: Motion correction of single sessions (NoRMCorre)
  25. Step1Dur = tic;
  26. disp('Step 1: Applying motion correction on single sessions.');
  27. plotFlag = false; %Plot the results of motion correction
  28. ROIflag = false; %Choose true if you want to select a specific ROI in the
  29. % FOV for each separate session. Pixels outside of the FOV will be deemed
  30. % zero.
  31. replaceRGBVideo = false; %Choose true if you want to replace RGB videos by their gray scale version
  32. checkMotCorr = false; %Manually check the first video of motion correction
  33. % to see if the algoirthm is capable of correcting motion properly for that specific dataset.
  34. for i = 1:nSessions
  35. cd(strcat(path,filesep,concatInfo.Sessions(i).name))
  36. ms = msGenerateVideoObjConcat(pwd, concatInfo.equipment, replaceRGBVideo, 'msCam');
  37. ms.FrameRate = round(1/(nanmedian(diff(ms.time))/1000));
  38. ms.equipment = concatInfo.equipment;
  39. if i==1
  40. concatInfo.FrameRate = ms.FrameRate;
  41. end
  42. ms.analysis_time = analysis_time;
  43. ms.ds = concatInfo.spatial_downsampling;
  44. mkdir(strcat(pwd,filesep,analysis_time));
  45. save([ms.dirName filesep 'ms.mat'],'ms');
  46. disp(['Working on Session: ' num2str(i) ' of ' num2str(nSessions)])
  47. ms = msNormCorreConcat(ms,isnonrigid,ROIflag,plotFlag,checkMotCorr);
  48. save([ms.dirName filesep 'ms.mat'],'ms');
  49. clear ms
  50. end
  51. %%% Place all the motion corrected videos in the same folder
  52. disp('Step 1.1: Copying videos to concatenate to the same folder and in the correct order.');
  53. animal={};
  54. for i = 1:nSessions
  55. actualIdx = concatInfo.order(i);
  56. cd(strcat(path,filesep,concatInfo.Sessions(actualIdx).name,filesep))
  57. load('ms.mat')
  58. animal{i}=ms;
  59. cd(analysis_time)
  60. copyfile('msvideo.avi',...
  61. strcat(path,filesep,ConcatFolder,filesep,['msvideo' num2str(i) '.avi']))
  62. clear ms
  63. end
  64. save(strcat(path,filesep,ConcatFolder,filesep,'concatInfo.mat'),'concatInfo','-v7.3')
  65. save(strcat(path,filesep,ConcatFolder,filesep,'animal.mat'),'animal','-v7.3')
  66. disp(['Total duration of Step 1 = ' num2str(toc(Step1Dur)) ' seconds.'])
  67. end

runConcatStep1.m at commit 0f96fcb, under GPL-3.0 · at the source

Overview

Authors: André F de Sousa1, Zachary E Zeidler2, Daniel G Almeida-Filho1,3, Yang Shen1,4, Alessandro Luchetti1,5, Shana Simanian1, Mouaz Mardini1, Laura A DeNardo2, Alcino J Silva1
  1. Departments of Neurobiology, Psychiatry & Biobehavioral Sciences, and Psychology, Integrative Center for Learning and Memory, Brain Research Institute, UCLA, Los Angeles, CA USA
  2. Departments of Physiology and Neurobiology, UCLA, Los Angeles, CA USA
  3. SENAI Institute of Innovation in Advanced Health Systems, University Center SENAI, CIMATEC, Salvador, Bahia Brazil
  4. Present Address: Bioscience and Biomedical Engineering Thrust, Brain and Intelligence Research Institute, The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China
  5. Present Address: Program in Neurosciences & Mental Health, Hospital for Sick Children, Toronto, Ontario Canada
Journal: Nature neuroscience, volume 29, issue 5, pages 1191-1202
Dates: received 14 July 2024; accepted 28 January 2026; published online 28 April 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41593-026-02231-1 · PMID 42049880 · PMCID PMC13156042 · OpenAlex W7157212937
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism), systems (subfield)
Methods: Connectivity, Statistics, fMRI & imaging, Single-unit activity, calcium imaging, Smoothing, state filtering, decompositions
Keywords: Hippocampus, Neural circuits
MeSH: Hippocampus*, Memory*, Prefrontal Cortex*, Animals, Entorhinal Cortex, Male, Mice, Mice, Inbred C57BL, Neural Pathways, Optogenetics (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Dr. Miriam and Sheldon G. Adelson Medical Research Foundation (NA); NIA NIH HHS (R01 AG013622); U.S. Department of Health & Human Services | NIH | National Institute on Aging (R01 AG013622)
Citations: cited by 8 papers (Europe PMC); 61 references in the paper
Research resources: RRID:IMSR_JAX:007914, Fos2A-iCreER (TRAP2 RRID:IMSR_JAX:030323, RRID:IMSR_JAX:030757

Abstract

Prior memories can be integrated with novel experiences during learning to facilitate memory organization. This process must be tightly regulated to prevent inappropriate integration of unrelated memories. However, the biological mechanisms underlying such control are currently unknown. Using multiple imaging, chemogenetic and optogenetic techniques in mice, we demonstrate that the ventromedial prefrontal cortex is recruited over time to control memory integration in the hippocampus according to contextual similarities between experiences. This control is achieved through direct projections to the medial entorhinal cortex that modulate entorhinal activity, ensemble overlap in the dorsal hippocampus, memory linking, activity of neurogliaform cells in the dorsal CA1 and memory allocation. Together, our results provide new insights into the mechanisms controlling crucial processes of memory organization in the mammalian brain.

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

Repositories

Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.

Zenodo 5676164

License: other-open
State: the link answers, verified on 30 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
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
275 files
At the source:

Zenodo 5676163

License: other-open
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
275 files
At the source:

almeida-filhodg/concatminiscope

License: GPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: 0f96fcbdb98fd522510c8eabeee7c62e99267c87, 1 April 2022
Languages: MATLAB (272), C++ (1)
Size: 288 files, 273 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, license file, CITATION.cff
Not found: environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
275 files

Code availability

Code for miniscope analysis (concat pipeline) can be found via Zenodo at 10.5281/zenodo.5676164 (ref. 53).

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:

  • 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 819 scripts, each with its path and the digest of its content;
  • 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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 raw data reported in this study are available from the corresponding authors upon request. We chose to share raw data upon request because of the large size of all the videos and images used in our analysis. Source data are provided with 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, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 2 keywords, 10 MeSH terms, 3 funders, 59 references, 3 RRIDs.

Cite

This paper

de Sousa, A. F., Zeidler, Z. E., Almeida-Filho, D. G., Shen, Y., Luchetti, A., Simanian, S., Mardini, M., DeNardo, L. A., & Silva, A. J. (2026). The prefrontal cortex controls memory organization in the hippocampus. Nature neuroscience, 29(5), 1191-1202. https://doi.org/10.1038/s41593-026-02231-1

BibTeX

@article{desousa2026prefrontal,
author = {de Sousa, André F and Zeidler, Zachary E and Almeida-Filho, Daniel G and Shen, Yang and Luchetti, Alessandro and Simanian, Shana and Mardini, Mouaz and DeNardo, Laura A and Silva, Alcino J},
title = {{The prefrontal cortex controls memory organization in the hippocampus}},
journal = {Nature neuroscience},
year = {2026},
month = apr,
volume = {29},
number = {5},
pages = {1191--1202},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/s41593-026-02231-1},
url = {https://doi.org/10.1038/s41593-026-02231-1},
pmid = {42049880},
pmcid = {PMC13156042}
}

RIS

TY - JOUR
AU - de Sousa, André F
AU - Zeidler, Zachary E
AU - Almeida-Filho, Daniel G
AU - Shen, Yang
AU - Luchetti, Alessandro
AU - Simanian, Shana
AU - Mardini, Mouaz
AU - DeNardo, Laura A
AU - Silva, Alcino J
TI - The prefrontal cortex controls memory organization in the hippocampus
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/04/28
VL - 29
IS - 5
SP - 1191
EP - 1202
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/s41593-026-02231-1
UR - https://doi.org/10.1038/s41593-026-02231-1
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41593-026-02231-1",
"type": "article-journal",
"title": "The prefrontal cortex controls memory organization in the hippocampus",
"container-title": "Nature neuroscience",
"author": [
{
"family": "de Sousa",
"given": "André F"
},
{
"family": "Zeidler",
"given": "Zachary E"
},
{
"family": "Almeida-Filho",
"given": "Daniel G"
},
{
"family": "Shen",
"given": "Yang"
},
{
"family": "Luchetti",
"given": "Alessandro"
},
{
"family": "Simanian",
"given": "Shana"
},
{
"family": "Mardini",
"given": "Mouaz"
},
{
"family": "DeNardo",
"given": "Laura A"
},
{
"family": "Silva",
"given": "Alcino J"
}
],
"container-title-short": "Nat Neurosci",
"volume": "29",
"issue": "5",
"page": "1191-1202",
"DOI": "10.1038/s41593-026-02231-1",
"PMID": "42049880",
"PMCID": "PMC13156042",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41593-026-02231-1",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
28
]
]
}
}

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/s41593-025-01876-8 [code]
Compartmentalized dendritic plasticity in the mouse retrosplenial cortex links contextual memories formed close in time.
Journal: Nature neuroscience
In common: Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, 2 other tools, mouse, 7 references, 2 authors
[2] doi:10.1038/s41467-025-58860-w [code]
Parallel processing of past and future memories through reactivation and synaptic plasticity mechanisms during sleep.
Journal: Nature communications
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, 9 references
[3] doi:10.7554/elife.69178 [code]
Dorsal premammillary projection to periaqueductal gray controls escape vigor from innate and conditioned threats.
Journal: eLife
In common: Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, 2 other tools, systems, mouse, 2 references, author Alcino J Silva
[4] doi:10.1038/s41467-026-77318-1 [code]
Offline generative network reconfiguration guides insight-like accelerated learning by assimilation into schema in rats.
Journal: Nature communications
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, 8 references
[5] doi:10.1038/s41467-025-57041-z [code]
Processing of pain and itch information by modality-specific neurons within the anterior cingulate cortex in mice.
Journal: Nature communications
In common: Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, 2 other tools, systems, mouse, 4 references
[6] doi:10.7554/elife.70586 [code]
A dentate gyrus-CA3 inhibitory circuit promotes evolution of hippocampal-cortical ensembles during memory consolidation.
Journal: eLife
In common: Signal Processing Toolbox, mouse, 8 references
[7] doi:10.1038/s41586-022-05113-1 [code]
Fos ensembles encode and shape stable spatial maps in the hippocampus.
Journal: Nature
In common: Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, 2 other tools, mouse, 4 references
[8] doi:10.1016/j.celrep.2025.115391 [code]
Erasable hippocampal neural signatures predict memory discrimination.
Journal: Cell reports
In common: Parallel Computing Toolbox, Signal Processing Toolbox, Image Processing Toolbox, 1 other tool, mouse, 4 references
[9] doi:10.1038/s41467-022-29208-5 [code]
Acquiring new memories in neocortex of hippocampal-lesioned mice.
Journal: Nature communications
In common: Signal Processing Toolbox, Image Processing Toolbox, systems, mouse, 5 references
[10] doi:10.1038/s41467-022-34114-x [code]
Neural circuit dynamics of drug-context associative learning in the mouse hippocampus.
Journal: Nature communications
In common: Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, 2 other tools, systems, mouse, 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.1038/s41593-026-02231-1.svg)](https://openscicode.org/badge/doi/10.1038/s41593-026-02231-1)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41593-026-02231-1.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41593-026-02231-1
   :alt: OSCR

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