Deconstruction of a spino-brain-spinal cord circuit that drives chronic pain.
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 · 28 lines · 572 B · no license
- function blocks=getBlocks(state,tag)
- sLen = length(state);
- d1 = state*0;
- idx = (state==tag);
- d1(2:end) = idx(2:end) - idx(1:end-1);
- idx1 = find(d1==1);
- idx2 = find(d1 == -1);
- idx0 = find(d1 ~= 0);
- blocks = [];
- if isempty(idx0) || isempty(idx1) || isempty(idx2)
- return;
- end
- if idx0(1) == idx2(1)
- idx1 = [1;idx1];
- end
- if idx0(end) == idx1(end)
- idx2 = [idx2;sLen];
- end
- elen = max(length(idx1), length(idx2));
- blocks = zeros(elen, 4);
- blocks(:,1) = (1:elen)';
- blocks(:,2) = idx1';
- blocks(:,3) = idx2';
- blocks(:,4) = blocks(:,3) - blocks(:,2);
getBlocks.m at commit 38d7cc3, no license · at the source
Overview
- Department of Biology, Stanford University, Stanford, CA USA
- Department of Electrical Engineering, Stanford University, Stanford, CA USA
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above.
sites.google.com/view/brain-mapping
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
thepenglab/posTracker
38d7cc35360115cd73e6e463e748fcbd5e1caf1b, 18 December 2023Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- getBlocks.m, MATLAB, 28 lines
- mat2Track.m, MATLAB, 31 lines
- plotFreezing2.m, MATLAB, 19 lines
- posTracker.m, MATLAB, 2,857 lines
- resid.m, MATLAB, 132 lines
- resid2.m, MATLAB, 70 lines
- smallsegRemove.m, MATLAB, 14 lines
- README.md, Text, 29 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: thepenglab/
posTracker , sites.google.com/view/ brain-mapping
Read it in the paper: doi.org/10.1038/s41586-026-10296-y.
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;
- 7 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
Datasets cited
- zenodo:17110833, at Zenodo; found in “Data availability”
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: Zenodo 17110833
Read it in the paper: doi.org/10.1038/s41586-026-10296-y.
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
- Publisher: n/a → Nature Portfolio
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 2 keywords, 17 MeSH terms, 4 funders, 59 references.
Cite
This paper
Wang, Q., Lee, J. H., Nachtrab, G., Yuan, Y., Yuan, L., Qi, W., Mohr, M. A., Xiong, J., Horowitz, M. A., & Chen, X. (2026). Deconstruction of a spino-brain-spinal cord circuit that drives chronic pain. Nature, 654(8117), 142-151. https://
BibTeX
@article{wang2026deconst
author = {Wang, Qian and Lee, Joo Han and Nachtrab, Gregory and Yuan, Yuan and Yuan, Lei and Qi, Wei and Mohr, Manuel A and Xiong, Jing and Horowitz, Mark A and Chen, Xiaoke},
title = {{Deconstruction of a spino-brain-spinal cord circuit that drives chronic pain}},
journal = {Nature},
year = {2026},
month = apr,
volume = {654},
number = {8117},
pages = {142--151},
publisher = {Nature Portfolio},
issn = {0028-0836},
doi = {10.1038/
url = {https://
pmid = {41922770},
pmcid = {PMC13078944}
}
RIS
TY - JOUR
AU - Wang, Qian
AU - Lee, Joo Han
AU - Nachtrab, Gregory
AU - Yuan, Yuan
AU - Yuan, Lei
AU - Qi, Wei
AU - Mohr, Manuel A
AU - Xiong, Jing
AU - Horowitz, Mark A
AU - Chen, Xiaoke
TI - Deconstruction of a spino-brain-spinal cord circuit that drives chronic pain
T2 - Nature
J2 - Nature
PY - 2026
DA - 2026/
VL - 654
IS - 8117
SP - 142
EP - 151
SN - 0028-0836
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Deconstruction of a spino-brain-spinal cord circuit that drives chronic pain",
"container-title": "Nature",
"author": [
{
"family": "Wang",
"given": "Qian"
},
{
"family": "Lee",
"given": "Joo Han"
},
{
"family": "Nachtrab",
"given": "Gregory"
},
{
"family": "Yuan",
"given": "Yuan"
},
{
"family": "Yuan",
"given": "Lei"
},
{
"family": "Qi",
"given": "Wei"
},
{
"family": "Mohr",
"given": "Manuel A"
},
{
"family": "Xiong",
"given": "Jing"
},
{
"family": "Horowitz",
"given": "Mark A"
},
{
"family": "Chen",
"given": "Xiaoke"
}
],
"container-title-short":
"volume": "654",
"issue": "8117",
"page": "142-151",
"DOI": "10.1038/
"PMID": "41922770",
"PMCID": "PMC13078944",
"ISSN": "0028-0836",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}
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-026-71289-z
- Descending inhibitory rostral ventromedial medulla neurons cause widespread antinociception and contribute to the pain-inhibits-pain phenomenon.Journal: Nature communicationsIn common: pain, systems, mouse, 8 references
- [2] doi:10.7554/elife.78689
- Targeted anatomical and functional identification of antinociceptive and pronociceptive serotonergic neurons that project to the spinal dorsal horn.Journal: eLifeIn common: pain, mouse, 8 references
- [3] doi:10.1016/j.celrep.2025.116248 [code]
- The dorsal column nuclei encode and transmit the network signatures of mechanical allodynia.Journal: Cell reportsIn common: Statistics and Machine Learning Toolbox, pain, systems, mouse, 8 references
- [4] doi:10.1038/s41586-024-07816-z [code]
- Neural circuit basis of placebo pain relief.Journal: NatureIn common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, pain, systems, mouse, 5 references
- [5] doi:10.1038/s41467-025-57050-y [code]
- Intra-somatosensory cortical circuits mediating pain-induced analgesia.Journal: Nature communicationsIn common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, pain, systems, mouse, 4 references
- [6] doi:10.1016/j.celrep.2024.113718
- Nerve injury disrupts temporal processing in the spinal cord dorsal horn through alterations in PV<sup>+</
sup> interneurons. Journal: Cell reportsIn common: pain, mouse, 6 references - [7] doi:10.1038/s41467-025-61164-8 [code]
- Descending projection neurons in the primary sensorimotor cortex regulate neuropathic pain and locomotion in mice.Journal: Nature communicationsIn common: pain, systems, mouse, 5 references
- [8] doi:10.1016/j.isci.2023.106764
- Involvement of Mrgprd-expressing nociceptors-recruited spinal mechanisms in nerve injury-induced mechanical allodynia.Journal: iScienceIn common: pain, 6 references
- [9] doi:10.1016/j.celrep.2022.111333
- Activation of VIP interneurons in the prefrontal cortex ameliorates neuropathic pain aversiveness.Journal: Cell reportsIn common: pain, systems, mouse, 5 references
- [10] doi:10.1038/s41467-024-52243-3 [code]
- A distinct neuronal ensemble of prelimbic cortex mediates spontaneous pain in rats with peripheral inflammation.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, pain, systems, 4 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 7 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:9e2e985077179990…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1038/s41586-026-10296-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41586-026-10296-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s41586-026-10296-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41586-026-10296-y"><img src="https://openscicode.org/badge/doi/10.1038/s41586-026-10296-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.
