Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression.
The 2 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods and materials › Cerebellar processing ↔ src/cersuit_main.m, the whole file · a weak match · score 0.69 · native space, SUIT atlas, isolation, pre, reslicing, isolated
- [2] § Methods and materials › Cerebellar processing ↔ src/transform_SUIT_to_native.m, the whole file · a weak match · score 0.57 · original native space, SUIT atlas, transformation, reslicing
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 · 120 lines · 3.8 KB · no license · 1 match
- function cersuit_main(inp)
- % Work in the output directory
- cd(inp.out_dir);
- % We need SPM running
- spm_jobman('initcfg');
- % Initial coreg of T1 to atlas via gray matter segmentation
- disp('Init coreg')
- coreg_txt = init_coreg_translation_only('gm.nii',inp.out_dir);
- apply_init_coreg(coreg_txt,'t1.nii',inp.out_dir);
- % Segment the cerebellum
- disp('Segment cerebellum')
- suit_isolate_seg({'rt1.nii'},'maskp',str2double(inp.maskp),'keeptempfiles',1);
- % Apply ACAPULCO mask if present (following
- % https://pubmed.ncbi.nlm.nih.gov/35188124/)
- isomask = 'c_rt1_pcereb.nii';
- if ~isempty(inp.use_acapulco)
- disp('Using ACAPULCO mask')
- apply_init_coreg(coreg_txt,'acapulco.nii',inp.out_dir);
- clear matlabbatch
- matlabbatch{1}.spm.util.imcalc.input = {
- 'racapulco.nii'
- 'c_rt1_seg1.nii'
- 'c_rt1_seg2.nii'
- };
- matlabbatch{1}.spm.util.imcalc.output = isomask;
- matlabbatch{1}.spm.util.imcalc.outdir = {inp.out_dir};
- matlabbatch{1}.spm.util.imcalc.expression = '(((i1>0).*i2)+i3)>0.1';
- matlabbatch{1}.spm.util.imcalc.var = struct('name', {}, 'value', {});
- matlabbatch{1}.spm.util.imcalc.options.dmtx = 0;
- matlabbatch{1}.spm.util.imcalc.options.mask = 0;
- matlabbatch{1}.spm.util.imcalc.options.interp = 1;
- matlabbatch{1}.spm.util.imcalc.options.dtype = 4;
- spm_jobman('run',matlabbatch);
- end
- % Estimate the atlas space warp
- disp('Estimate warp')
- job = struct();
- job.subjND(1).gray = {'c_rt1_seg1.nii'};
- job.subjND(1).white = {'c_rt1_seg2.nii'};
- job.subjND(1).isolation = {'c_rt1_pcereb.nii'};
- suit_normalize_dartel(job);
- % Create several images in SUIT atlas space, unmodulated, interpolated
- disp('Resample images')
- for m = {'c_rt1.nii','c_rt1_seg1.nii','c_rt1_seg2.nii'}
- job = struct();
- job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
- job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
- job.subj.mask = {'c_rt1_pcereb.nii'};
- job.subj.resample = m(1);
- job.interp = 1;
- job.jactransf = 0;
- suit_reslice_dartel(job);
- movefile(['wd' m{1}],['w' m{1}]);
- end
- % Create cer mask atlas space, unmodulated, not interpolated
- disp('Resample mask')
- job = struct();
- job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
- job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
- job.subj.mask = {'c_rt1_pcereb.nii'};
- job.subj.resample = {'c_rt1_pcereb.nii'};
- job.interp = 0;
- job.jactransf = 0;
- suit_reslice_dartel(job);
- movefile('wdc_rt1_pcereb.nii','wc_rt1_pcereb.nii');
- % Create modulated grey and white matter images in atlas space
- disp('Resample/modulate')
- for m = {'c_rt1_seg1.nii','c_rt1_seg2.nii'}
- job = struct();
- job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
- job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
- job.subj.resample = m(1);
- job.subj.mask = {'c_rt1_pcereb.nii'};
- job.interp = 1;
- job.jactransf = 1;
- suit_reslice_dartel(job);
- end
- % Resample the atlas to subject space
- disp('Resample atlases')
- job = struct();
- job.Affine = {'Affine_c_rt1_seg1.mat'};
- job.flowfield = {'u_a_c_rt1_seg1.nii'};
- job.subj.mask = {'c_rt1_pcereb.nii'};
- job.ref = {'c_rt1.nii'};
- job.interp = 0;
- for m = {'atl-Anatom','atl-Buckner7','atl-Buckner17','atl-Ji10','atl-MDTB10'}
- disp([' ' m{1}])
- job.resample = {which([m{1} '_sp-SUIT.nii'])};
- suit_reslice_dartel_inv(job);
- apply_reverse_coreg(coreg_txt,['iw_' m{1} '_sp-SUIT_u_a_c_rt1_seg1.nii']);
- end
- % Copy atlas space atlases
- disp('Copy atlases')
- for m = {'atl-Anatom','atl-Buckner7','atl-Buckner17','atl-Ji10','atl-MDTB10'}
- copyfile(which([m{1} '_sp-SUIT.nii']),inp.out_dir);
- copyfile(which([m{1} '.lut']),inp.out_dir);
- end
- % Get the native space output images back to pre-coreg native space
- % (original T1 space). Header is updated in place.
- disp('Resample to native')
- for m = {'c_rt1','c_rt1_pcereb','c_rt1_seg1','c_rt1_seg2'}
- apply_reverse_coreg(coreg_txt,[m{1} '.nii']);
- end
- % Regional voxel counts and volumes in subject space. suit_vol does not
- % compute the voxel volume correctly, so we use our own code.
- disp('Regional volumes')
- regional_volumes(inp.out_dir)
cersuit_main.m at commit ebcc8bb, no license · at the source
Overview
- Department of Psychiatry, Henan Mental Hospital, The Second Affiliated Hospital of Henan Medical University,No. 207 Qianjin Road, Xinxiang, 453002 China
- Henan Key Lab of Biological Psychiatry, International Joint Research Laboratory for Psychiatry and Neuroscience of Henan, Henan Medical University,Xinxiang, 453002 China
- Henan Collaborative Innovation Center of Prevention and Treatment of Mental Disorder, Xinxiang, 453002 China
- Brain Institute, Henan Academy of Innovations in Medical Science, Zhengzhou, 451163 China
- NHC Key Laboratory of Mental Health, Peking University Sixth Hospital, Peking University Institute of Mental Health, Peking University,Beijing, 100191 China
- National Clinical Research Center for Mental Disorders, Peking University Sixth Hospital,Beijing, 100191 China
- Peking-Tsinghua Center for Life Sciences and PKU-IDG/McGovern Institute for Brain Research, Peking University,Beijing, 100191 China
- Department of Psychiatry, Division Anxin Hospital, The Xinjiang Production and Construction Corps 13th,Hami, 839101 China
- Department of Psychiatry, Tianyou Hospital, Wuhan University of Science and Technology, Wuhan University of Science and Technology,Wuhan, 430063 China
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.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
baxpr/cersuit
ebcc8bbf429823c7ecca32484616f769c0f75122, 1 May 2023Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
19 files
- bin/
run_spm12.sh , Shell, 33 lines - build/
compile_matlab.sh , Shell, 32 lines - build/
spm_make_standalone_loca , MATLAB, 126 linesl.m - src/
apply_init_coreg.m , MATLAB, 10 lines - src/
apply_reverse_coreg.m , MATLAB, 10 lines - src/
cersuit.m , MATLAB, 32 lines - src/
cersuit.sh , Shell, 46 lines - src/
cersuit_main.m , MATLAB, 120 lines, 1 match - src/
find_center_of_mass.m , MATLAB, 11 lines - src/
init_coreg.m , MATLAB, 42 lines - src/
init_coreg_translation_o , MATLAB, 38 linesnly.m - src/
make_pdf.sh , Shell, 189 lines - src/
organize_outputs.sh , Shell, 13 lines - src/
preprocess.sh , Shell, 20 lines - src/
regional_volumes.m , MATLAB, 49 lines - src/
transform_SUIT_to_native , MATLAB, 94 lines, 1 match.m - src/
transform_native_to_SUIT , MATLAB, 100 lines.m - src/
xwrapper.sh , Shell, 4 lines - README.md, Text, 94 lines
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;
- 18 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
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 says that the data are available on request
Read it in the paper: doi.org/10.1186/s12888-026-08071-4.
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, 9 authors, 5 keywords, 15 MeSH terms, 7 funders, 62 references.
Cite
This paper
Han, Y., Sheng, L., Wang, S., Wen, X., Lu, W., Li, P., Zhou, Z., Guo, Z., & Gao, Y. (2026). Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression. BMC psychiatry, 26(1), 449. https://
BibTeX
@article{han2026cerebell
author = {Han, Yong and Sheng, Longyu and Wang, Sanwang and Wen, Xin and Lu, Wenjing and Li, Peng and Zhou, Zhilu and Guo, Zhanrui and Gao, Yujun},
title = {{Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression}},
journal = {BMC psychiatry},
year = {2026},
month = apr,
volume = {26},
number = {1},
pages = {449},
publisher = {BMC},
issn = {1471-244X},
doi = {10.1186/
url = {https://
pmid = {42021264},
pmcid = {PMC13245009}
}
RIS
TY - JOUR
AU - Han, Yong
AU - Sheng, Longyu
AU - Wang, Sanwang
AU - Wen, Xin
AU - Lu, Wenjing
AU - Li, Peng
AU - Zhou, Zhilu
AU - Guo, Zhanrui
AU - Gao, Yujun
TI - Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression
T2 - BMC psychiatry
J2 - BMC Psychiatry
PY - 2026
DA - 2026/
VL - 26
IS - 1
SP - 449
SN - 1471-244X
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression",
"container-title": "BMC psychiatry",
"author": [
{
"family": "Han",
"given": "Yong"
},
{
"family": "Sheng",
"given": "Longyu"
},
{
"family": "Wang",
"given": "Sanwang"
},
{
"family": "Wen",
"given": "Xin"
},
{
"family": "Lu",
"given": "Wenjing"
},
{
"family": "Li",
"given": "Peng"
},
{
"family": "Zhou",
"given": "Zhilu"
},
{
"family": "Guo",
"given": "Zhanrui"
},
{
"family": "Gao",
"given": "Yujun"
}
],
"container-title-short":
"volume": "26",
"issue": "1",
"page": "449",
"DOI": "10.1186/
"PMID": "42021264",
"PMCID": "PMC13245009",
"ISSN": "1471-244X",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
22
]
]
}
}
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.1162/imag.a.1323 [code]
- SUITPy: A Python-based toolbox for the analysis of cerebellar functional and anatomical imaging data across the human lifespan.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 8 references
- [2] doi:10.1038/s41467-026-72940-5 [code]
- Cerebellar growth is associated with domain-specific cerebral maturation and socio-linguistic behavior.Journal: Nature communicationsIn common: FSL, 6 references
- [3] doi:10.1016/j.neuroimage.2026.121930
- Quantifying cerebellar signal detectability in MEG and EEG in epilepsy using anatomically informed source modeling.Journal: NeuroImageIn common: structural MRI / diffusion, 5 references
- [4] doi:10.1002/hbm.70497 [code]
- A Digital Anatomical Atlas of the Human Cerebellum at Subfolial Resolution.Journal: Human brain mappingIn common: structural MRI / diffusion, 5 references
- [5] doi:10.1371/journal.pdig.0001665
- Inflammation is associated with altered functional connectivity of the cingulate cortex in individuals with subthreshold depression.Journal: PLOS digital healthIn common: depression, 3 references
- [6] doi:10.1093/psyrad/kkag015 [code]
- Neurocomputational mechanisms of reward-based online mood regulation in adolescents with bipolar disorder and major depressive disorder.Journal: PsychoradiologyIn common: FSL, SPM, bipolar, depression
- [7] doi:10.1038/s41593-026-02289-x [code]
- Cerebellar aging is spatially heterogeneous and supports cognitive resilience in later life.Journal: Nature neuroscienceIn common: structural MRI / diffusion, 3 references
- [8] doi:10.1038/s41467-026-71151-2 [code]
- Common and distinct neural correlates of social interaction processing and theory of mind in narratives.Journal: Nature communicationsIn common: FSL, SPM, 1 reference
- [9] doi:10.1017/s0033291726104565 [code]
- Integrative multi-omics identifies &
lt;i& gt;DOC2A& lt;/ i& gt; as a novel pharmacological target for bipolar disorder. Journal: Psychological medicineIn common: bipolar, 2 references - [10] doi:10.3389/fnagi.2026.1742371 [code]
- Cross-sectional and longitudinal functional network alterations associated with subthreshold depressive symptoms in healthy older adults.Journal: Frontiers in aging neuroscienceIn common: FSL, SPM, depression, clinical / translational
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: 1 repository of the authors' code, each at its verified commit and with its license, 18 scripts, and 2 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:7fe66a6fc435b6d7…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
