OSCR

Neural sequences underlying directed turning in Caenorhabditis elegans.

Code ↔ Paper

5 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.

2 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 5 matches
  1. [1] § Methods › Decoding postreversal turn direction from SAAV activity › Model architecture ↔ model.py, lines 7 to 37 · score 0.75 · GRUCell, layer normalization, dropout, hidden, sigmoid, linear · block oscr:b:D2D3R63WBQBZC-7 · Report a mismatch
  2. [2] § Results › Neurons in the head-steering circuit encode sensory information and turning directions ↔ make_WB_struct.m, lines 79 to 158 · score 0.65 · octanol reversals, octanol encounters, Head curvature, velocity, NGM, counterparts · block oscr:b:CFS5DWHEPVDCQ-Q · Report a mismatch
  3. [3] § Results › Neurons in the head-steering circuit encode sensory information and turning directions ↔ DecodingMain.ipynb, lines 45 to 79 · score 0.57 · scored activity, head swing, reversal end, decoding, SAAV, Dorsal · Report a mismatch
  4. [4] § Results › C. elegans directs the angles of its reorientations to improve its bearing during olfactory navigation ↔ make_WB_struct.m, lines 79 to 158 · score 0.56 · octanol encounter, head curvature, GCaMP, NGM, body, worms · block oscr:b:CFS5DWHEPVDCQ-Q · Report a mismatch
  5. [5] § Methods › Decoding postreversal turn direction from SAAV activity ↔ DecodingMain.ipynb, lines 137 to 174 · score 0.53 · head swing, reversal endings, decoding, SAAV, dorsal, activity · 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 · 158 lines · 7.8 KB · MIT · 2 matches

  1. %% Takes h5 files and neuron IDs generated by whole brain confocal recording and puts them in Matlab structure
  2. % Goal for this eventually is to get a data structure with behavior and
  3. % neuron trace info for each condition. This will then be used to analyze
  4. % their behavior. So first want to save data in a strucutre, then make
  5. % other scripts to analyze the output.
  6. clear
  7. conditionName = ['octanol'];
  8. h5FileNames =["2023-07-01-01-data.h5"...
  9. "2023-07-01-09-data.h5"...
  10. "2023-06-24-28-data.h5"...
  11. "2023-06-24-02-data.h5"...
  12. "2023-06-24-11-data.h5"...
  13. "2023-07-12-01-data.h5"...
  14. "2023-07-13-01-data.h5"...
  15. "2023-08-07-08-data.h5"...
  16. "2023-08-07-16-data.h5"...
  17. "2023-08-18-18-data.h5"...
  18. "2023-08-19-01-data.h5"...
  19. "2023-08-23-09-data.h5"...
  20. "2023-08-31-03-data.h5"...
  21. "2023-09-01-01-data.h5"...
  22. "2023-09-02-10-data.h5"...
  23. "2023-10-15-18-data.h5"...
  24. "2023-08-24-03-data.h5"...
  25. "2023-08-23-02-data.h5"...
  26. "2023-07-16-02-data.h5"...
  27. "2023-07-13-17-data.h5"...
  28. "2023-07-13-09-data.h5"...
  29. "2023-07-01-30-data.h5"...
  30. "2023-07-01-23-data.h5"...
  31. "2023-06-24-19-data.h5"...
  32. "2023-07-08-06-data.h5"...
  33. "2024-04-14-06-data.h5"...
  34. "2024-04-15-03-data.h5"...
  35. "2024-04-21-05-data.h5"...
  36. "2024-04-25-07-data.h5"...
  37. "2024-05-02-04-data.h5"...
  38. "2024-05-02-13-data.h5"...
  39. "2024-05-09-13-data.h5"...
  40. ];
  41. % list out all the h5 files you want to analyze need the h5 files and corresponding neuron IDs in the same directory /location, and it should be open
  42. % ---------- do not change below this line ------------%
  43. nFiles = length(h5FileNames);
  44. wbData = struct();
  45. for f = 1:nFiles % each row of chxData corresponds to a video file
  46. name = h5FileNames(f);
  47. wbData(f).Name = name; % save the name of the video
  48. wbData(f).velocity = h5read(name,'/behavior/velocity');
  49. wbData(f).reversal_vec = double(h5read(name,'/behavior/reversal_vec'));
  50. wbData(f).reversal_events = double(h5read(name,'/behavior/reversal_events'));
  51. wbData(f).head_angle = double(h5read(name,'/behavior/head_angle'));
  52. wbData(f).gcamp_trace = h5read(name, '/gcamp/trace_array');
  53. wbData(f).gcamp_Fmean = h5read(name, '/gcamp/traces_array_F_Fmean');
  54. wbData(f).worm_angle = double(h5read(name,'/behavior/worm_angle'));
  55. getName = erase(name,"data.h5");
  56. txtName = getName + 'neuron-id.txt';
  57. if isfile(txtName) == 1 % if we have cell IDs now
  58. neuronIDs = readcell(txtName); % get all neuroPal cell IDs into a cell
  59. wbData(f).gcamp_wIDs = cell(length(neuronIDs),2); % make an empty cell array to fill in
  60. wbData(f).gcamp_wIDs_Fmean = cell(length(neuronIDs),2); % repeat for F mean
  61. for g = 1:size(wbData(f).gcamp_trace,1)
  62. wbData(f).gcamp_wIDs{g,2} = wbData(f).gcamp_trace(g,:); % fill in cell 2 with neuron activity
  63. wbData(f).gcamp_wIDs_Fmean{g,2} = wbData(f).gcamp_Fmean(g,:); % same as for F mean
  64. end
  65. for n = 1:length(neuronIDs)
  66. rowIdx = neuronIDs{n,1};
  67. wbData(f).gcamp_wIDs{rowIdx,1} = neuronIDs{n,2}; % fill in cell 1 with neuron ID, when known
  68. % wbData(f).gcamp_wIDs_Fmean{rowIdx,1} = neuronIDs{n,2}; % fill in cell 1 with neuron ID, when known
  69. end
  70. end % if we don't have IDs yet. just proceed
  71. % get a variable that gives head curvature with + being dorsal and - as ventral
  72. flipped_datasets = append("2023-06-09-01 ","2023-06-09-10 ", "2023-06-24-28 ", "2023-07-01-01 ", ...
  73. "2023-07-07-18 ","2023-07-12-01 ","2023-07-28-04 ", "2023-08-07-08 ", "2023-06-24-11 ", "2023-08-22-08 ", ...
  74. "2023-08-25-02 ", "2023-09-01-01 ","2023-09-15-01 ", "2023-09-15-08 ","2023-08-19-01 ", "2023-09-02-10", ...
  75. "2023-08-24-03 ", "2023-08-23-02 ","2023-08-23-09 ", "2023-08-07-08 ", "2023-07-16-02 ", "2023-07-13-17 ", "2023-07-13-09 ", ...
  76. "2023-07-01-30 ", "2024-04-15-03 ", "2024-04-25-07 ", "2024-05-02-13 "); % datasets with theta_pos_is_ventral = true
  77. checkName = erase(name,"-data.h5");
  78. if contains(flipped_datasets, checkName) == 1 % if ventral is currently positive
  79. wbData(f).dv = -h5read(name,'/behavior/head_angle'); % make ventral negative
  80. else % if it's one already in the right order
  81. wbData(f).dv = h5read(name,'/behavior/head_angle');
  82. end
  83. octName = getName + 'octanol.xlsx';
  84. if isfile(octName) == 1 % if it's an octanol encounter video
  85. octEncounters = readmatrix(octName);
  86. wbData(f).octanol_events = octEncounters; % this is loops where it went on/off the octanol
  87. wbData(f).octanol_idx = zeros(1,size(wbData(f).velocity,1));
  88. for i = 1:size(octEncounters, 1)
  89. wbData(f).octanol_idx(octEncounters(i, 1):octEncounters(i, 2)) = 1; % this is a 0/1 matrix where 1 is on octanol
  90. end
  91. wbData(f).nonoctanol_reversal_events = [];
  92. wbData(f).octanol_reversal_events = [];
  93. for r = 1:length(wbData(f).reversal_events)
  94. is_oct = sum(wbData(f).octanol_idx(wbData(f).reversal_events(r,1):wbData(f).reversal_events(r,2)));
  95. if is_oct >= 1 % if the worm is on octanol for any part of this reversal
  96. wbData(f).octanol_reversal_events = [wbData(f).octanol_reversal_events; wbData(f).reversal_events(r,:)];
  97. elseif is_oct == 0 % if the worm is NOT on octanol for any part of this reversal
  98. wbData(f).nonoctanol_reversal_events = [wbData(f).nonoctanol_reversal_events; wbData(f).reversal_events(r,:)];
  99. end
  100. end
  101. wbData(f).avoid_events = []; % all reversals where the animal successfully avoids octanol
  102. for r = 1:length(wbData(f).reversal_events)
  103. if wbData(f).octanol_idx(wbData(f).reversal_events(r,1)) == 1 && wbData(f).octanol_idx(wbData(f).reversal_events(r,2)) == 0
  104. % if the worm starts the reversal on octanol and ends the reversal on NGM
  105. wbData(f).avoid_events = [wbData(f).avoid_events; wbData(f).reversal_events(r,:)];
  106. end
  107. end
  108. wbData(f).not_avoid_events = []; % all reversals where the animal revereses and stays on octanol
  109. for u = 1:length(wbData(f).reversal_events)
  110. if wbData(f).octanol_idx(wbData(f).reversal_events(u,1)) == 1 && wbData(f).octanol_idx(wbData(f).reversal_events(u,2)) == 1
  111. % if the worm starts the reversal on octanol and ends the reversal on octanol
  112. wbData(f).not_avoid_events = [wbData(f).not_avoid_events; wbData(f).reversal_events(u,:)];
  113. end
  114. end
  115. else % if it's not an octanol encounter
  116. wbData(f).octanol_idx = zeros(1,length(wbData(f).velocity));
  117. wbData(f).nonoctanol_reversal_events = wbData(f).reversal_events; % all reversals are non octanol reversals
  118. end
  119. % other things you can add here: /behavior /angular_velocity, body_angle,
  120. % body_angle_absoloute, body_angle_all, head_angle, pumping,
  121. % worm_curvature
  122. % /gcamp : idx_splits, match_org_to_skip, match_skip_to_org,
  123. % trace_array_original (not Z score), traces_array_F_F20,
  124. % traces_array_F_Fmean
  125. end
  126. % Save the WB data file (with a new name if it already exists)
  127. savename = strcat(conditionName,'.wbData.mat');
  128. counter = 1;
  129. while true
  130. if exist(savename,"file") % don't overwrite
  131. savename = strcat(conditionName,'_version',num2str(counter),'.wbData.mat');
  132. counter = counter+1;
  133. else
  134. try
  135. save(savename,'wbData')
  136. catch
  137. warning('Error saving as a v7 file, probably due to large size. Trying v7.3.')
  138. save(savename,'wbData','-v7.3')
  139. end
  140. break;
  141. end
  142. end

make_WB_struct.m, under MIT · at the source

Overview

Authors: Talya S Kramer1,2, Flossie K Wan1, Sarah M Pugliese1, Adam A Atanas1, Sreeparna Pradhan1, Alex W Hiser1, Lillie M Godinez1, Jinyue Luo1, Eric Bueno1, Thomas Felt1, Steven W Flavell1
  1. Howard Hughes Medical Institute, Picower Institute for Learning and Memory, Department of Brain & Cognitive Sciences, Massachusetts Institute of Technology, Cambridge, MA USA
  2. Department of Biology, Massachusetts Institute of Technology, Cambridge, MA USA
Institutions: Howard Hughes Medical Institute (United States); Massachusetts Institute of Technology (United States)
Journal: Nature neuroscience, volume 29, issue 6, pages 1408-1424
Dates: received 4 December 2024; accepted 5 March 2026; published online 10 April 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41593-026-02257-5 · PMID 41963559 · PMCID PMC13246447 · OpenAlex W7153222014
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: C. elegans (organism), systems (subfield)
Methods: Statistics, Machine learning, Evoked potentials, fMRI & imaging
Keywords: Sensorimotor processing, Neural circuits
MeSH: Brain*, Neurons*, Spatial Navigation*, Animals, Animals, Genetically Modified, Caenorhabditis elegans, Smell, Tyramine (* major topic)
Topic: Genetics, Aging, and Longevity in Model Organisms (Aging, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: NINDS NIH HHS (R01 NS131457); Alfred P. Sloan Foundation (research fellowship); Howard Hughes Medical Institute (HHMI) (investigator award); National Science Foundation (NSF) (1845663); U.S. Department of Health & Human Services | NIH | National Institute of Neurological Disorders and Stroke (NINDS) (NS131457); McKnight Foundation (scholar award)
Citations: cited by 8 papers (Europe PMC); 75 references in the paper

Abstract

Complex behaviors, such as navigation, rely on sequenced motor outputs that combine to generate effective movement. The brain-wide organization of the circuits that integrate sensory signals to select appropriate motor sequences remains poorly understood. Here we characterize the architecture of neural circuits that control Caenorhabditis elegans olfactory navigation. We identify error-correcting turns during navigation and use whole-brain calcium imaging and cell-specific perturbations to determine their neural underpinnings. These turns occur as motor sequences accompanied by neural sequences, in which defined neurons activate in a stereotyped order during each turn. Distinct neurons in this sequence respond to the spatial distribution of attractive and aversive olfactory cues, anticipate upcoming turn directions and drive movement, linking key features of this sensorimotor behavior across time. The neuromodulator tyramine coordinates these sequential brain dynamics. Our results illustrate how neuromodulation can act on a defined neural architecture to link sensory cues to motor actions.

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 5 matches between paragraphs and lines of code.

flavell-lab/SAAV_Decoding

License: GPL-3.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: c7e7e18a84cde5dc02df9d63492293b38402eb2c, 24 February 2026
Languages: Python (5), Jupyter (1)
Size: 15 files, 6 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, 1 notebook
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: JAX (5 files), NumPy (2 files), Matplotlib (1 file), pandas (1 file), seaborn (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
8 files

flavell-lab/preprocess_videos

License: GPL-3.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: d4eaa181c1a4feafd3e40bce1c032f8b2fcab945, 24 February 2026
Languages: Python (5), Shell (1)
Size: 9 files, 6 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: JAX (3 files), tifffile (3 files), NumPy (2 files)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
8 files

flavell-lab/head_detector_unet2d

License: GPL-3.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: a91b162f1fd97ed0e5e33da0b66e137b8036d301, 24 February 2026
Languages: Python (16), Jupyter (7)
Size: 38 files, 23 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (environment.yaml, unet2d/setup.py), 7 notebooks
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (11 files), NumPy (8 files), Matplotlib (6 files), h5py (4 files), Plots.jl (3 files), pandas (2 files), Pillow (1 file), SciPy (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
25 files

Zenodo 12611760

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Languages: MATLAB (2)
Size: 2 files, 2 scripts
Software Heritage: not checked
Found in: the Zenodo software companion of the Dryad dataset
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
2 files

Code availability

Original code used to decode upcoming D/V turn direction from SAAV activity is available on GitHub: https://github.com/flavell-lab/SAAV_Decoding.

The Python code used for post hoc binning of pixel intensities is available on GitHub: https://github.com/flavell-lab/preprocess_videos.

The code for retraining and evaluation of the ANTSUN model performance is available on GitHub: https://github.com/flavell-lab/head_detector_unet2d.

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:

  • 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 37 scripts, each with its path and the digest of its content;
  • 5 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

Datasets cited

Data availability

All brain-wide imaging data from this study is available at the following Dryad link: 10.5061/dryad.8sf7m0cz2.

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, 11 authors, 2 keywords, 8 MeSH terms, 6 funders, 71 references.

Cite

This paper

Kramer, T. S., Wan, F. K., Pugliese, S. M., Atanas, A. A., Pradhan, S., Hiser, A. W., Godinez, L. M., Luo, J., Bueno, E., Felt, T., & Flavell, S. W. (2026). Neural sequences underlying directed turning in Caenorhabditis elegans. Nature neuroscience, 29(6), 1408-1424. https://doi.org/10.1038/s41593-026-02257-5

BibTeX

@article{kramer2026neural,
author = {Kramer, Talya S and Wan, Flossie K and Pugliese, Sarah M and Atanas, Adam A and Pradhan, Sreeparna and Hiser, Alex W and Godinez, Lillie M and Luo, Jinyue and Bueno, Eric and Felt, Thomas and Flavell, Steven W},
title = {{Neural sequences underlying directed turning in Caenorhabditis elegans}},
journal = {Nature neuroscience},
year = {2026},
month = apr,
volume = {29},
number = {6},
pages = {1408--1424},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/s41593-026-02257-5},
url = {https://doi.org/10.1038/s41593-026-02257-5},
pmid = {41963559},
pmcid = {PMC13246447}
}

RIS

TY - JOUR
AU - Kramer, Talya S
AU - Wan, Flossie K
AU - Pugliese, Sarah M
AU - Atanas, Adam A
AU - Pradhan, Sreeparna
AU - Hiser, Alex W
AU - Godinez, Lillie M
AU - Luo, Jinyue
AU - Bueno, Eric
AU - Felt, Thomas
AU - Flavell, Steven W
TI - Neural sequences underlying directed turning in Caenorhabditis elegans
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/04/10
VL - 29
IS - 6
SP - 1408
EP - 1424
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/s41593-026-02257-5
UR - https://doi.org/10.1038/s41593-026-02257-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41593-026-02257-5",
"type": "article-journal",
"title": "Neural sequences underlying directed turning in Caenorhabditis elegans",
"container-title": "Nature neuroscience",
"author": [
{
"family": "Kramer",
"given": "Talya S"
},
{
"family": "Wan",
"given": "Flossie K"
},
{
"family": "Pugliese",
"given": "Sarah M"
},
{
"family": "Atanas",
"given": "Adam A"
},
{
"family": "Pradhan",
"given": "Sreeparna"
},
{
"family": "Hiser",
"given": "Alex W"
},
{
"family": "Godinez",
"given": "Lillie M"
},
{
"family": "Luo",
"given": "Jinyue"
},
{
"family": "Bueno",
"given": "Eric"
},
{
"family": "Felt",
"given": "Thomas"
},
{
"family": "Flavell",
"given": "Steven W"
}
],
"container-title-short": "Nat Neurosci",
"volume": "29",
"issue": "6",
"page": "1408-1424",
"DOI": "10.1038/s41593-026-02257-5",
"PMID": "41963559",
"PMCID": "PMC13246447",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41593-026-02257-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
10
]
]
}
}

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-58478-y [code]
Pathogen infection induces sickness behaviors through neuromodulators linked to stress and satiety in C. elegans.
Journal: Nature communications
In common: PyTorch, NumPy, C. elegans, systems, 9 references, 4 authors
[2] doi:10.7554/elife.108159 [code]
Deep neural networks to register and annotate cells in moving and deforming nervous systems.
Journal: eLife
In common: tifffile, h5py, PyTorch, 4 other tools, C. elegans, 15 references, author Steven W Flavell
[3] doi:10.7554/elife.62889 [code]
A neural circuit for flexible control of persistent behavioral states.
Journal: eLife
In common: C. elegans, systems, 14 references, 2 authors
[4] doi:10.7554/elife.74434 [code]
Principles for coding associative memories in a compact neural network.
Journal: eLife
In common: seaborn, pandas, SciPy, 2 other tools, C. elegans, 15 references
[5] doi:10.1038/s41467-026-69392-2 [code]
Efficient pheromone navigation via antagonistic detectors in Caenorhabditis elegans male.
Journal: Nature communications
In common: C. elegans, 16 references
[6] doi:10.7554/elife.67723 [code]
Behavioral control by depolarized and hyperpolarized states of an integrating neuron.
Journal: eLife
In common: C. elegans, 15 references
[7] doi:10.1038/s41467-025-59668-4 [code]
Hierarchical competing inhibition circuits govern motor stability in C. elegans.
Journal: Nature communications
In common: C. elegans, systems, 14 references
[8] doi:10.1038/s41586-023-06683-4 [code]
Neural signal propagation atlas of Caenorhabditis elegans.
Journal: Nature
In common: seaborn, pandas, SciPy, 2 other tools, C. elegans, 13 references
[9] doi:10.7554/elife.79557 [code]
Diverse states and stimuli tune olfactory receptor expression levels to modulate food-seeking behavior.
Journal: eLife
In common: C. elegans, 7 references, 2 authors
[10] doi:10.1073/pnas.2410789121 [code]
Hierarchical behavior control by a single class of interneurons.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: C. elegans, 13 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-02257-5.svg)](https://openscicode.org/badge/doi/10.1038/s41593-026-02257-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

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

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