OSCR

Characteristics of brain structural damage related to cerebral small vessel disease in general population with intracranial artery stenosis.

Code ↔ Paper

2 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 2 matches
  1. [1] § Patients and methods › Assessment of WMH ↔ orientation_alignment.sh, lines 44 to 85 · score 0.64 · probability mapping, WMH masks, applywarp, alignment, MNI, FLAIR · block oscr:b:EB511XY166ZZ1-A · Report a mismatch
  2. [2] § Patients and methods › Statistical image analysis ↔ ICAS_glmfit.sh, lines 187 to 242 · score 0.59 · mri_glmfit, FreeSurfer, cortex, Cluster, volume, threshold · block oscr:b:9NK04QMJZD3CK-R · 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

Shell · 93 lines · 3.3 KB · MIT · 1 match

  1. #!/bin/bash
  2. # ---------------
  3. # Instructions
  4. # ---------------
  5. # 1. Align orientation and match to MNI152 space with FSL and Freesurfer
  6. # 2. Pre-require:
  7. # 1. WMH series(nii.gz)
  8. # 2. WMH mask series(nii.gz)
  9. # 3. Fundation brain MRI in MNI space: T2_FLAIR_brain_to_MNI.nii.gz
  10. # 4. Fundation brain MRI to MNI space transform matrix: T2_FLAIR_orig_to_MNI_warp.nii.gz
  11. # 3. Results:
  12. # 1. WMH series in MNI space
  13. # 2. WMH mask series in MNI space
  14. # 3. WMH probability map in MNI space
  15. # ---------------
  16. # 参数设置
  17. # ---------------
  18. INITDIR="" # 初始工作文件夹
  19. BASE_DIR="${INITDIR}"data # 数据文件夹
  20. WMH_MASK_NAME="WMH_FLAIR_orig_ud_mask.nii.gz" # 工作mask序列名称
  21. WMH_NAME="WMH_FLAIR_orig_ud.nii.gz" #工作序列名称
  22. WM_MASK_NAME="T2_FLAIR_orig_ud_bianca_mask.nii.gz"
  23. WMH_CUT_MASK_NAME="CUTTED_WMH_FLAIR_orig_ud_mask.nii.gz"
  24. WMH_CUT_NAME="CUTTED_WMH_FLAIR_orig_ud.nii.gz"
  25. PROBMAP_WMH_NAME="PROBMAP_WMH_FLAIR_orig_ud.nii.gz"
  26. WMH_MERGED_PATH="$INITDIR/result" # 合并后的序列输出路径
  27. LOG_FILE="$INITDIR/ICAS_analysis.log" # 工作输出记录
  28. RESULT_DIR="$INITDIR/ICAS_res/" # 结果输出目录
  29. # ---------------
  30. # 初始化配置
  31. # ---------------
  32. set_SYSPATH(){
  33. export FREESURFER_HOME="/PATH/TO/FREESURFER"
  34. export SUBJECTS_DIR=$1
  35. export FSLDIR="/PATH/TO/FSL"
  36. export FS_LICENSE="FREESURFER/LICENSE.txt"
  37. source $FREESURFER_HOME/SetUpFreeSurfer.sh
  38. source $FSLDIR/etc/fslconf/fsl.sh
  39. }
  40. orientation_align(){
  41. echo "---------------------Align WMH mask...---------------------"
  42. for subpath in ${SUBJECTS_DIR}/*/ ; do
  43. if [ ! -d "$subpath" ]; then
  44. continue
  45. fi
  46. subfolder_name=$(basename "$subpath")
  47. # Skip hidden directories
  48. if [[ "$subfolder_name" == .* ]]; then
  49. continue
  50. fi
  51. # Skip directories that don't contain the substring "sub-"
  52. if [[ ! "$subfolder_name" == *"sub-"* ]]; then
  53. continue
  54. fi
  55. echo "Aligning $subfolder_name"
  56. # generate WMH_mask remove area outside white matter
  57. fslmaths ${subpath}/${WMH_MASK_NAME} -mul ${subpath}/${WM_MASK_NAME} -thr 0.5 -bin ${subpath}/${WMH_CUT_MASK_NAME}
  58. # generate WMH image remove area outside white matter
  59. fslmaths ${subpath}/${WMH_NAME} -mul ${subpath}/${WM_MASK_NAME} ${subpath}/${WMH_CUT_NAME}
  60. # generate WMH probability map by mask WMH mask on WMH image
  61. fslmaths ${subpath}/${WMH_CUT_NAME} -mas ${subpath}/${WMH_CUT_MASK_NAME} ${subpath}/${PROBMAP_WMH_NAME}
  62. # mapping to MNI152
  63. applywarp -i ${subpath}/${WMH_CUT_MASK_NAME}\
  64. -r ${subpath}/T2_FLAIR_brain_to_MNI.nii.gz \
  65. -w ${subpath}/T2_FLAIR_orig_to_MNI_warp.nii.gz \
  66. -o ${subpath}aligned_${WMH_MASK_NAME}
  67. applywarp -i ${subpath}/${WMH_CUT_NAME}\
  68. -r ${subpath}/T2_FLAIR_brain_to_MNI.nii.gz \
  69. -w ${subpath}/T2_FLAIR_orig_to_MNI_warp.nii.gz \
  70. -o ${subpath}aligned_${WMH_NAME}
  71. applywarp -i ${subpath}/${PROBMAP_WMH_NAME}\
  72. -r ${subpath}/T2_FLAIR_brain_to_MNI.nii.gz \
  73. -w ${subpath}/T2_FLAIR_orig_to_MNI_warp.nii.gz \
  74. -o ${subpath}aligned_${PROBMAP_WMH_NAME}
  75. done
  76. }
  77. main() {
  78. set_SYSPATH "$BASE_DIR" #设定环境变量
  79. orientation_align
  80. }
  81. main

orientation_alignment.sh at commit 1a70330, under MIT · at the source

Overview

Authors: Zi-Ang Pan1,2, Zi-Yue Liu1,2, Xing-Qi Pan1,2, Fei-Fei Zhai1,2, Ding-Ding Zhang2,3, Ming Yao1,2, Li-Xin Zhou1,2, Jun Ni1,2, Zheng-Yu Jin2,4, Shu-Yang Zhang2,5, Li-Ying Cui1,2, Fei Han1,2, Yi-Cheng Zhu1,2
  1. Department of Neurology, Peking Union Medical College Hospital, Beijing, China
  2. Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China
  3. Medical Research Center, State Key Laboratory of Complex Severe and Rare Diseases, Peking Union Medical College Hospital, Beijing, China
  4. Department of Radiology, Peking Union Medical College Hospital, Beijing, China
  5. Department of Cardiology, Peking Union Medical College Hospital, Beijing, China
Journal: Stroke and vascular neurology, volume 11, issue 3, article e004471
Dates: received 11 June 2025; accepted 3 September 2025; published online 16 September 2025
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1136/svn-2025-004471 · PMID 40957669 · PMCID PMC13347908 · OpenAlex W4414266468
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), other (modality), human (organism), stroke (population), clinical / translational (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, fMRI & imaging
Keywords: Atherosclerosis, Magnetic Resonance Imaging, Stroke, Magnetic Resonance Angiography, Arteries
MeSH: Brain*, Cerebral Hemorrhage*, Cerebral Small Vessel Diseases*, Leukoencephalopathies*, Magnetic Resonance Angiography*, Magnetic Resonance Imaging*, Stroke, Lacunar*, Adult, Aged, Atrophy, Cerebral Angiography, China, Constriction, Pathologic, Cross-Sectional Studies, Female, Humans, Male, Middle Aged, Predictive Value of Tests, Risk Assessment, Risk Factors (* major topic)
Topic: Intracerebral and Subarachnoid Hemorrhage Research (Clinical Neurology, Medicine), according to OpenAlex
Funding: CAMS Innovation Fund for Medical Sciences (CIFMS #2021-I2M-1-025); National High Level Hospital Clinical Research Funding (2022-PUMCH-D-007); National Natural Science Foundation of China (82271368)
Citations: not cited yet (Europe PMC); 31 references in the paper

Abstract

Background and aims: Covert MRI markers of cerebral small vessel disease (CSVD) can coexist with large artery atherosclerosis. We aimed to explore whether the spatial distributions of these markers were diverse in people with or without intracranial artery stenosis (ICAS).

Methods: This cross-sectional analysis included 1206 stroke-free participants (aged 55.69±9.27, 62.94% female) with brain MRI and MR angiography from community-based Shunyi cohort. We analysed the relationships between ICAS and CSVD markers. We also compared the probability maps of lacunes, cerebral microbleeds (CMB), white matter hyperintensities (WMH) and cortex morphology at a voxel/vertex-wise level in groups with and without ICAS.

Results: ICAS increased the risk of lacunes by 2.99-fold (95% CI 1.99 to 4.50, p<0.001), lacunes ≥3 by 5.32 times (95% CI 2.76 to 10.28, p<0.001), correlated with WMH volume (β=0.332, SE=0.059, p<0.001), WMH Fazekas scores ≥5 (OR 4.50, 95% CI 2.44 to 8.29, p<0.001) and brain parenchymal fraction (β=−0.012, SE=0.002, p<0.001), but not with CMB. ICAS is associated with lacunes in the corresponding blood supply area. Lacunes that coexist with ICAS were prone in basal ganglia, while the lacunes without ICAS appeared in centrum semiovale more often. WMH with ICAS was prone to present in deep white matter involving the bilateral pyramidal tracts and superior thalamic radiation. People with ICAS were susceptible to worse cortical atrophy of right superior frontal and left rostral anterior cingulate. No obvious distributional differences were found for CMB between the two groups.

Conclusions: Since ICAS may be involved in the upstream pathogenesis of lacunes, white matter lesions and cortical atrophy, the impact of ICAS should not be ignored when evaluating MRI markers of CSVD.

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

Repository

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

anniepan-pumc/TBSS-ICAS

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 1a7033092c68736230fe17007d332626915dfa70, 23 July 2025
Languages: Shell (5)
Size: 11 files, 5 scripts
Software Heritage: not archived
Found in: the text, “Statistical image analysis”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: FreeSurfer (5 files), FSL (5 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
7 files

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;
  • 5 scripts, each with its path and the digest of its content;
  • 2 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 statement

Data are available on reasonable request.

Reproduced under the paper's license (CC BY-NC), 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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 13 authors, 5 keywords, 21 MeSH terms, 3 funders, 31 references.

Cite

This paper

Pan, Z.-A., Liu, Z.-Y., Pan, X.-Q., Zhai, F.-F., Zhang, D.-D., Yao, M., Zhou, L.-X., Ni, J., Jin, Z.-Y., Zhang, S.-Y., Cui, L.-Y., Han, F., & Zhu, Y.-C. (2026). Characteristics of brain structural damage related to cerebral small vessel disease in general population with intracranial artery stenosis. Stroke and vascular neurology, 11(3), e004471. https://doi.org/10.1136/svn-2025-004471

BibTeX

@article{pan2026characteristics,
author = {Pan, Zi-Ang and Liu, Zi-Yue and Pan, Xing-Qi and Zhai, Fei-Fei and Zhang, Ding-Ding and Yao, Ming and Zhou, Li-Xin and Ni, Jun and Jin, Zheng-Yu and Zhang, Shu-Yang and Cui, Li-Ying and Han, Fei and Zhu, Yi-Cheng},
title = {{Characteristics of brain structural damage related to cerebral small vessel disease in general population with intracranial artery stenosis}},
journal = {Stroke and vascular neurology},
year = {2026},
month = jun,
volume = {11},
number = {3},
pages = {e004471},
publisher = {BMJ Publishing Group},
issn = {2059-8688},
doi = {10.1136/svn-2025-004471},
url = {https://doi.org/10.1136/svn-2025-004471},
pmid = {40957669},
pmcid = {PMC13347908}
}

RIS

TY - JOUR
AU - Pan, Zi-Ang
AU - Liu, Zi-Yue
AU - Pan, Xing-Qi
AU - Zhai, Fei-Fei
AU - Zhang, Ding-Ding
AU - Yao, Ming
AU - Zhou, Li-Xin
AU - Ni, Jun
AU - Jin, Zheng-Yu
AU - Zhang, Shu-Yang
AU - Cui, Li-Ying
AU - Han, Fei
AU - Zhu, Yi-Cheng
TI - Characteristics of brain structural damage related to cerebral small vessel disease in general population with intracranial artery stenosis
T2 - Stroke and vascular neurology
J2 - Stroke Vasc Neurol
PY - 2026
DA - 2026/06/29
VL - 11
IS - 3
SP - e004471
SN - 2059-8688
PB - BMJ Publishing Group
DO - 10.1136/svn-2025-004471
UR - https://doi.org/10.1136/svn-2025-004471
LA - en
ER -

CSL-JSON

{
"id": "10.1136/svn-2025-004471",
"type": "article-journal",
"title": "Characteristics of brain structural damage related to cerebral small vessel disease in general population with intracranial artery stenosis",
"container-title": "Stroke and vascular neurology",
"author": [
{
"family": "Pan",
"given": "Zi-Ang"
},
{
"family": "Liu",
"given": "Zi-Yue"
},
{
"family": "Pan",
"given": "Xing-Qi"
},
{
"family": "Zhai",
"given": "Fei-Fei"
},
{
"family": "Zhang",
"given": "Ding-Ding"
},
{
"family": "Yao",
"given": "Ming"
},
{
"family": "Zhou",
"given": "Li-Xin"
},
{
"family": "Ni",
"given": "Jun"
},
{
"family": "Jin",
"given": "Zheng-Yu"
},
{
"family": "Zhang",
"given": "Shu-Yang"
},
{
"family": "Cui",
"given": "Li-Ying"
},
{
"family": "Han",
"given": "Fei"
},
{
"family": "Zhu",
"given": "Yi-Cheng"
}
],
"container-title-short": "Stroke Vasc Neurol",
"volume": "11",
"issue": "3",
"page": "e004471",
"DOI": "10.1136/svn-2025-004471",
"PMID": "40957669",
"PMCID": "PMC13347908",
"ISSN": "2059-8688",
"publisher": "BMJ Publishing Group",
"URL": "https://doi.org/10.1136/svn-2025-004471",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
29
]
]
}
}

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.1016/j.nicl.2024.103569 [code]
Characterizing upper extremity fine motor function in the presence of white matter hyperintensities: A 7 T MRI cross-sectional study in older adults.
Journal: NeuroImage. Clinical
In common: FreeSurfer, stroke, structural MRI / diffusion, clinical / translational, 5 references
[2] doi:10.1093/braincomms/fcag080 [code]
Synergistic effects of cerebral small vessel disease burden and plasma phosphorylated tau 181 on white matter microstructure and cognition in a Chinese cohort.
Journal: Brain communications
In common: FreeSurfer, FSL, stroke, other, structural MRI / diffusion, 2 references
[3] doi:10.1007/s00415-023-11831-x
A typology of cerebral small vessel disease based on imaging markers.
Journal: Journal of neurology
In common: stroke, structural MRI / diffusion, clinical / translational, 4 references
[4] doi:10.1126/sciadv.adr3757 [code]
Genetically supported targets and drug repurposing for brain aging: A systematic study in the UK Biobank.
Journal: Science advances
In common: structural MRI / diffusion, author Yi-Cheng Zhu
[5] doi:10.1016/j.nicl.2026.103987 [code]
Remote cortical degeneration related to structural connectivity following recent small subcortical infarcts.
Journal: NeuroImage. Clinical
In common: FreeSurfer, FSL, stroke, structural MRI / diffusion, clinical / translational, 2 references
[6] doi:10.1038/s43587-026-01081-7 [code]
Identification of distinct and shared biomarker panels in different manifestations of cerebral small-vessel disease through proteomic profiling.
Journal: Nature aging
In common: stroke, clinical / translational, 4 references
[7] doi:10.1038/s41598-024-83559-1
Volume and distribution of white matter hyperintensities in rheumatoid arthritis and ulcerative colitis patients.
Journal: Scientific reports
In common: stroke, structural MRI / diffusion, clinical / translational, 4 references
[8] doi:10.1177/0271678x211058803
White matter damage due to pulsatile versus steady blood pressure differs by vascular territory: A cross-sectional analysis of the UK Biobank cohort study.
Journal: Journal of cerebral blood flow and metabolism : official journal of the International Society of Cerebral Blood Flow and Metabolism
In common: stroke, structural MRI / diffusion, 4 references
[9] doi:10.1162/imag_a_00444 [code]
Arterial spin labelling perfusion MRI analysis for the Human Connectome Project Lifespan Ageing and Development studies.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: FreeSurfer, FSL, structural MRI / diffusion, 2 references
[10] doi:10.1002/hbm.25646 [code]
The regional effect of serum hormone levels on cerebral blood flow in healthy nonpregnant women.
Journal: Human brain mapping
In common: FSL, stroke, other, structural MRI / diffusion, 2 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.1136/svn-2025-004471.svg)](https://openscicode.org/badge/doi/10.1136/svn-2025-004471)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1136/svn-2025-004471.svg
   :target: https://openscicode.org/badge/doi/10.1136/svn-2025-004471
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1136/svn-2025-004471"><img src="https://openscicode.org/badge/doi/10.1136/svn-2025-004471.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.