OSCR

Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features.

Code ↔ Paper

1 match 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.

The 1 match
  1. [1] § Methods › Colocalization of SFC patterns and brain tissue biological properties ↔ abagen/datasets/fetchers.py, lines 163–229 · score 0.62 · RNA sequencing, Allen Human Brain, Atlas, gene

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

Python · 546 lines · 19 KB · BSD-3-Clause · 1 match

  1. # -*- coding: utf-8 -*-
  2. """
  3. Functions for downloading the Allen Brain Atlas human microarray dataset.
  4. """
  5. from collections import namedtuple
  6. from functools import partial
  7. import multiprocessing as mp
  8. import os
  9. from pkg_resources import resource_filename
  10. import nibabel as nib
  11. import pandas as pd
  12. from .. import io
  13. from ..utils import load_gifti, first_entry
  14. from .utils import _get_dataset_dir, _fetch_files
  15. WELL_KNOWN_IDS = nib.volumeutils.Recoder(
  16. (('9861', 'H0351.2001', '178238387', '157722636', '157722638'),
  17. ('10021', 'H0351.2002', '178238373', '157723301', '157723303'),
  18. ('12876', 'H0351.1009', '178238359', '157722290', '157722292'),
  19. ('15496', 'H0351.1015', '178238266', '162021642', '162021644'),
  20. ('14380', 'H0351.1012', '178238316', '157721937', '157721939'),
  21. ('15697', 'H0351.1016', '178236545', '157682966', '157682968')),
  22. fields=('subj', 'uid', 'url', 't1w', 't2w')
  23. )
  24. VALID_DONORS = sorted(WELL_KNOWN_IDS.value_set('subj')
  25. | WELL_KNOWN_IDS.value_set('uid'))
  26. RESOURCE = partial(resource_filename, 'abagen')
  27. def check_donors(donors, default='12876', valid=VALID_DONORS):
  28. """
  29. Checks that provided `donors` are valid
  30. Parameters
  31. ----------
  32. donors : list of str
  33. List of donors to download; can be either donor number or UID. Can also
  34. specify 'all' to download all available donors. If 'None' is provided
  35. then `default` will be used.
  36. default : str, optional
  37. Default donor to use if `donors` is None. Default: '12876'
  38. valid : list of str, optional
  39. List of valid donnor numbers and UIDs. Default: :obj:`VALID_DONORS`
  40. Returns
  41. -------
  42. donors : list of str
  43. Donor subject IDs
  44. """
  45. if donors is None:
  46. donors = [default]
  47. elif donors == 'all':
  48. donors = valid
  49. elif isinstance(donors, str):
  50. donors = [donors]
  51. donors = list(donors).copy()
  52. for n, sub_id in enumerate(donors):
  53. if sub_id not in valid:
  54. raise ValueError('Invalid subject id: {0}. Subjects must in: {1}.'
  55. .format(sub_id, valid))
  56. donors[n] = WELL_KNOWN_IDS[sub_id] # convert to ID system
  57. donors = sorted(set(donors), key=lambda x: int(x))
  58. return donors
  59. def fetch_microarray(data_dir=None, donors=None, resume=True, verbose=1,
  60. convert=True, n_proc=1):
  61. """
  62. Downloads the Allen Human Brain Atlas microarray expression dataset
  63. Parameters
  64. ----------
  65. data_dir : str, optional
  66. Directory where data should be downloaded and unpacked. Default: $HOME/
  67. abagen-data
  68. donors : list, optional
  69. List of donors to download; can be either donor number or UID. Can also
  70. specify 'all' to download all available donors. Default: 12876
  71. resume : bool, optional
  72. Whether to resume download of a partly-downloaded file. Default: True
  73. verbose : int, optional
  74. Verbosity level (0 means no message). Default: 1
  75. convert : bool, optional
  76. Whether to convert downloaded CSV files into parquet format for faster
  77. loading in the future; only available if ``fastparquet`` and ``python-
  78. snappy`` are installed. Default: True
  79. n_proc : int, optional
  80. Number of processes to parallelize download if multiple donors are
  81. specified. Default: 1
  82. Returns
  83. -------
  84. data : dict
  85. Two-level nested dictionary, where top-level keys are donor IDs and
  86. second-level keys are ['microarray', 'ontology', 'pacall', 'probes',
  87. 'annotation'], where corresponding values are lists of filepaths to
  88. downloaded CSV files.
  89. References
  90. ----------
  91. Hawrylycz, M. J., Lein, E. S., Guillozet-Bongaarts, A. L., Shen, E. H., Ng,
  92. L., Miller, J. A., ... & Abajian, C. (2012). An anatomically comprehensive
  93. atlas of the adult human brain transcriptome. Nature, 489(7416), 391.
  94. """
  95. url = "https://human.brain-map.org/api/v2/well_known_file_download/{}"
  96. dataset_name = 'microarray'
  97. data_dir = _get_dataset_dir(dataset_name, data_dir=data_dir,
  98. verbose=verbose)
  99. sub_files = ('MicroarrayExpression.csv',
  100. 'Ontology.csv', 'PACall.csv',
  101. 'Probes.csv', 'SampleAnnot.csv')
  102. n_files = len(sub_files)
  103. donors = check_donors(donors)
  104. if n_proc < 0:
  105. n_proc = mp.cpu_count() + n_proc + 1
  106. files = [
  107. [(os.path.join('normalized_microarray_donor{}'.format(sub), fname),
  108. url.format(WELL_KNOWN_IDS.url[sub]),
  109. dict(uncompress=True,
  110. move=os.path.join('normalized_microarray_donor{}'.format(sub),
  111. 'donor{}.zip'.format(sub))))
  112. for fname in sub_files]
  113. for sub in donors
  114. ]
  115. if n_proc > 1:
  116. with mp.Pool(n_proc) as pool:
  117. results = [pool.apply_async(_fetch_files,
  118. (data_dir, f),
  119. dict(resume=resume, verbose=verbose))
  120. for f in files]
  121. # flatten outputs into single list
  122. files = [fn for res in results for fn in res.get()]
  123. else:
  124. # flatten list of lists into single list
  125. files = [fn for f in files for fn in f]
  126. files = _fetch_files(data_dir, files, resume=resume, verbose=verbose)
  127. # if we want to convert files to parquet format it's good to do that now
  128. # this step is _already_ super long, so an extra 1-2 minutes is negligible
  129. if convert and io.use_parq:
  130. for fn in files[0::n_files] + files[2::n_files]:
  131. io._make_parquet(fn, convert_only=True)
  132. keys = ['microarray', 'ontology', 'pacall', 'probes', 'annotation']
  133. return {
  134. donor: dict(zip(keys, files[k:k + n_files]))
  135. for k, donor in zip(range(0, len(files), n_files), donors)
  136. }
  137. def fetch_rnaseq(data_dir=None, donors=None, resume=True, verbose=1):
  138. """
  139. Downloads RNA-sequencing data from the Allen Human Brain Atlas
  140. Parameters
  141. ----------
  142. data_dir : str, optional
  143. Directory where data should be downloaded and unpacked. Default:
  144. current directory
  145. donors : list, optional
  146. List of donors to download; can be either donor number or UID. Can also
  147. specify 'all' to download all available donors (two). Default: 9861
  148. resume : bool, optional
  149. Whether to resume download of a partly-downloaded file. Default: True
  150. verbose : int, optional
  151. Verbosity level (0 means no message). Default: 1
  152. Returns
  153. -------
  154. data : dict
  155. Two-level nested dictionary, where top-level keys are donor IDs and
  156. second-level keys are ['counts', 'tpm', 'ontology', 'genes',
  157. 'annotation'], where corresponding values are lists of filepaths to
  158. downloaded CSV files.
  159. References
  160. ----------
  161. Hawrylycz, M. J., Lein, E. S., Guillozet-Bongaarts, A. L., Shen, E. H., Ng,
  162. L., Miller, J. A., ... & Abajian, C. (2012). An anatomically comprehensive
  163. atlas of the adult human brain transcriptome. Nature, 489(7416), 391.
  164. """
  165. url = "https://human.brain-map.org/api/v2/well_known_file_download/{}"
  166. well_known_ids = {
  167. '9861': '278447594',
  168. '10021': '278448166'
  169. }
  170. dataset_name = 'rnaseq'
  171. data_dir = _get_dataset_dir(dataset_name, data_dir=data_dir,
  172. verbose=verbose)
  173. sub_files = ('Genes.csv', 'Ontology.csv',
  174. 'RNAseqCounts.csv', 'RNAseqTPM.csv', 'SampleAnnot.csv')
  175. n_files = len(sub_files)
  176. valid = ['9861', '10021', 'H0351.2001', 'H0351.2002']
  177. donors = sorted(set(check_donors(donors, default=valid[0])) & set(valid),
  178. key=lambda x: int(x))
  179. files = [
  180. [(os.path.join('rnaseq_donor{}'.format(sub), fname),
  181. url.format(well_known_ids[sub]),
  182. dict(uncompress=True,
  183. move=os.path.join('rnaseq_donor{}'.format(sub),
  184. 'donor{}.zip'.format(sub))))
  185. for fname in sub_files]
  186. for sub in donors
  187. ]
  188. files = [fn for f in files for fn in f]
  189. files = _fetch_files(data_dir, files, resume=resume, verbose=verbose)
  190. keys = ['genes', 'ontology', 'counts', 'tpm', 'annotation']
  191. return {
  192. donor: dict(zip(keys, files[k:k + n_files]))
  193. for k, donor in zip(range(0, len(files), n_files), donors)
  194. }
  195. def fetch_raw_mri(data_dir=None, donors=None, resume=True, verbose=1):
  196. """
  197. Downloads the "raw" Allen Human Brain Atlas T1w/T2w MRI images
  198. Parameters
  199. ----------
  200. data_dir : str, optional
  201. Directory where data should be downloaded and unpacked. Default: $HOME/
  202. abagen-data
  203. donors : list, optional
  204. List of donors to download; can be either donor number or UID. Can also
  205. specify 'all' to download all available donors. Default: 12876
  206. resume : bool, optional
  207. Whether to resume download of a partly-downloaded file. Default: True
  208. verbose : int, optional
  209. Verbosity level (0 means no message). Default: 1
  210. Returns
  211. -------
  212. mris : dict
  213. Two-level nested dictionary, where top-level keys are donor IDs and
  214. second-level keys are ['t1w', 't2w'], where corresponding values are
  215. lists of filepaths to downloaded Nifti files
  216. """
  217. url = "https://human.brain-map.org/api/v2/well_known_file_download/{}"
  218. dataset_name = 'mri'
  219. data_dir = _get_dataset_dir(dataset_name, data_dir=data_dir,
  220. verbose=verbose)
  221. sub_files = dict(t1w='T1.nii.gz', t2w='T2.nii.gz')
  222. n_files = len(sub_files)
  223. donors = check_donors(donors)
  224. files = [
  225. (os.path.join('mri_donor{}'.format(sub), fname),
  226. url.format(getattr(WELL_KNOWN_IDS, img)[sub]),
  227. dict(move=os.path.join('mri_donor{}'.format(sub),
  228. fname)))
  229. for sub in donors
  230. for img, fname in sub_files.items()
  231. ]
  232. files = _fetch_files(data_dir, files, resume=resume, verbose=verbose)
  233. return {
  234. donor: dict(zip(sub_files.keys(), files[k:k + n_files]))
  235. for k, donor in zip(range(0, len(files), n_files), donors)
  236. }
  237. def fetch_freesurfer(data_dir=None, donors=None, resume=True, verbose=1):
  238. """
  239. Downloads FreeSurfer reconstructions of the Allen Human Brain Atlas MRIs
  240. Parameters
  241. ----------
  242. data_dir : str, optional
  243. Directory where data should be downloaded and unpacked. Default: $HOME/
  244. abagen-data
  245. donors : list, optional
  246. List of donors to download; can be either donor number or UID. Can also
  247. specify 'all' to download all available donors. Default: 12876
  248. resume : bool, optional
  249. Whether to resume download of a partly-downloaded file. Default: True
  250. verbose : int, optional
  251. Verbosity level (0 means no message). Default: 1
  252. Returns
  253. -------
  254. freesurfer : dict
  255. Dictionary where keys are donor IDs and values are paths to FreeSurfer
  256. directories for requested `donors`
  257. References
  258. ----------
  259. Romero-Garcia, R., Whitaker, K., Vasa, F., Seidlitz, J., Shinn, M., Fonagy,
  260. P., Jones, P., et al. (2017). Data supporting NSPN publication "Structural
  261. covariance networks are coupled to expression of genes enriched in
  262. supragranular layers of the human cortex " [Dataset].
  263. https://doi.org/10.17863/CAM.11392
  264. """
  265. url = "https://www.repository.cam.ac.uk/bitstream/handle/1810/265272/" \
  266. "donor{}.zip"
  267. dataset_name = 'freesurfer'
  268. data_dir = _get_dataset_dir(dataset_name, data_dir=data_dir,
  269. verbose=verbose)
  270. donors = check_donors(donors)
  271. files = [
  272. ('donor{}'.format(sub),
  273. url.format(sub),
  274. dict(uncompress=True,
  275. move=os.path.join('freesurfer.tar.gz')))
  276. for sub in donors
  277. ]
  278. files = _fetch_files(data_dir, files, resume=resume, verbose=verbose)
  279. return {
  280. donor: files[k]
  281. for k, donor in enumerate(donors)
  282. }
  283. def fetch_desikan_killiany(native=False, surface=False, *args, **kwargs):
  284. """
  285. Fetches Desikan-Killiany atlas shipped with `abagen`
  286. Parameters
  287. ----------
  288. native : bool, optional
  289. Whether to return individualized atlases in donor native space.
  290. Default: False
  291. surface : bool, optional
  292. Whether to return surface instead of volumetric parcellation. This
  293. option is currently incompatible with ``native=True``; instead, refer
  294. to :func:`abagen.datasets.fetch_freesurfer` for donor-specific surface
  295. atlases. Default: False
  296. Returns
  297. -------
  298. atlas : dict
  299. Dictionary with keys ['image', 'info'] pointing to atlas image and
  300. information files. If ``native`` then 'image' is a dictionary where
  301. keys are donor IDs and values are image paths. If ``surface`` then
  302. 'image' is a tuple of GIFTI files (.label.gii.gz)
  303. References
  304. ----------
  305. Desikan, R. S., Ségonne, F., Fischl, B., Quinn, B. T., Dickerson, B. C.,
  306. Blacker, D., ... & Albert, M. S. (2006). An automated labeling system
  307. for subdividing the human cerebral cortex on MRI scans into gyral based
  308. regions of interest. Neuroimage, 31(3), 968-980.
  309. Examples
  310. --------
  311. >>> import abagen
  312. >>> atlas = abagen.fetch_desikan_killiany()
  313. >>> print(atlas['image']) # doctest: +ELLIPSIS
  314. /.../abagen/data/atlas-desikankilliany.nii.gz
  315. >>> print(atlas['info']) # doctest: +ELLIPSIS
  316. /.../abagen/data/atlas-desikankilliany.csv
  317. When fetching native-space atlases, `atlas['image']` will be a dictionary
  318. where the keys are donor IDs and the values are paths to the donor-specific
  319. atlases:
  320. >>> atlas = abagen.fetch_desikan_killiany(native=True)
  321. >>> print(atlas['image'].keys())
  322. dict_keys(['9861', '10021', '12876', '14380', '15496', '15697'])
  323. >>> print(atlas['image']['9861']) # doctest: +ELLIPSIS
  324. /.../abagen/data/native_dk/9861/atlas-desikankilliany.nii.gz
  325. """
  326. # grab resource filenames
  327. img = dict()
  328. for donor in check_donors('all'):
  329. fp = 'data' if not native else os.path.join('data', 'native_dk', donor)
  330. if surface:
  331. impath = tuple([
  332. RESOURCE(
  333. os.path.join(fp, f'atlas-desikankilliany-{h}.label.gii.gz')
  334. )
  335. for h in ('lh', 'rh')
  336. ])
  337. else:
  338. impath = RESOURCE(os.path.join(fp, 'atlas-desikankilliany.nii.gz'))
  339. img[donor] = impath
  340. if not native:
  341. img = first_entry(img)
  342. info = RESOURCE('data/atlas-desikankilliany.csv')
  343. return dict(image=img, info=info)
  344. def fetch_gene_group(group):
  345. """
  346. Return list of gene acronyms belonging to provided `group`
  347. Groups are defined as in [DS1]_
  348. Parameters
  349. ----------
  350. group : {'brain', 'neuron', 'oligodendrocyte', 'synaptome', 'layers'}
  351. Desired gene group
  352. Returns
  353. -------
  354. genes : list of str
  355. List of gene acronyms
  356. References
  357. ----------
  358. .. [DS1] Burt, J. B., Demirtaş, M., Eckner, W. J., Navejar, N. M., Ji, J.
  359. L., Martin, W. J., ... & Murray, J. D. (2018). Hierarchy of
  360. transcriptomic specialization across human cortex captured by
  361. structural neuroimaging topography. Nature neuroscience, 21(9), 1251.
  362. """
  363. groups = ['brain', 'neuron', 'oligodendrocyte', 'synaptome', 'layers']
  364. if group.lower() not in groups:
  365. raise ValueError('Provided group {} not one of the available gene '
  366. 'groups: {}'.format(group, groups))
  367. group = group.lower()
  368. fn = RESOURCE(os.path.join('data', 'burt2018_natneuro.csv.gz'))
  369. genes = pd.read_csv(fn).query('group == "{}"'.format(group))['acronym']
  370. return sorted(list(genes))
  371. def fetch_donor_info():
  372. """
  373. Returns dataframe with donor demographic information
  374. Returns
  375. -------
  376. info : pandas.DataFrame
  377. With columns ['donor', 'age', 'sex', 'ethnicity', 'medical_conditions',
  378. 'post_mortem_interval_hours'] detailing basic demographic info about
  379. donors
  380. """
  381. fn = RESOURCE(os.path.join('data', 'donor_info.csv'))
  382. donors = pd.read_csv(fn)
  383. return donors
  384. Brain = namedtuple('Brain', ('lh', 'rh'))
  385. Surface = namedtuple('Surface', ('vertices', 'faces'))
  386. def fetch_fsaverage5(load=True):
  387. """
  388. Fetches and optionally loads fsaverage5 surface
  389. Parameters
  390. ----------
  391. load : bool, optional
  392. Whether to pre-load files. Default: True
  393. Returns
  394. -------
  395. brain : namedtuple ('lh', 'rh')
  396. If `load` is True, a namedtuple where each entry in the tuple is a
  397. hemisphere, represented as a namedtuple with fields ('vertices',
  398. 'faces'). If `load` is False, a namedtuple where entries are filepaths.
  399. """
  400. hemispheres = []
  401. for hemi in ('lh', 'rh'):
  402. fn = RESOURCE(
  403. os.path.join('data', f'fsaverage5-pial-{hemi}.surf.gii.gz')
  404. )
  405. if load:
  406. hemispheres.append(Surface(*load_gifti(fn).agg_data()))
  407. else:
  408. hemispheres.append(fn)
  409. return Brain(*hemispheres)
  410. def fetch_fsnative(donors, surf='pial', load=True, data_dir=None, resume=True,
  411. verbose=1):
  412. """
  413. Fetches and optionally loads fsnative surface of `donor`
  414. Parameters
  415. ----------
  416. donors : str or list-of-str
  417. Donor(s) to download; can be either donor number or UID. Can also
  418. specify 'all' to download all available donors.
  419. surf : {'orig', 'white', 'pial', 'inflated', 'sphere'}, optional
  420. Which surface to load. Default: 'pial'
  421. load : bool, optional
  422. Whether to pre-load files. Default: True
  423. data_dir : str, optional
  424. Directory where data should be downloaded and unpacked. Default: $HOME/
  425. abagen-data
  426. resume : bool, optional
  427. Whether to resume download of a partly-downloaded file. Default: True
  428. verbose : int, optional
  429. Verbosity level (0 means no message). Default: 1
  430. Returns
  431. -------
  432. brain : namedtuple ('lh', 'rh')
  433. If `load` is True, a namedtuple where each entry in the tuple is a
  434. hemisphere, represented as a namedtuple with fields ('vertices',
  435. 'faces'). If `load` is False, a namedtuple where entries are filepaths.
  436. If multiple donors are requested a dictionary is returned where keys
  437. are donor IDs.
  438. """
  439. donors = check_donors(donors)
  440. if len(donors) > 1:
  441. return {donor: fetch_fsnative(donor, surf, data_dir, resume, verbose)
  442. for donor in donors}
  443. donors = donors[0]
  444. fpath = fetch_freesurfer(donors=donors, data_dir=data_dir, resume=resume,
  445. verbose=verbose)[donors]
  446. hemispheres = []
  447. for hemi in ('lh', 'rh'):
  448. fn = os.path.join(fpath, 'surf', f'{hemi}.{surf}')
  449. if load:
  450. hemispheres.append(Surface(*nib.freesurfer.read_geometry(fn)))
  451. else:
  452. hemispheres.append(fn)
  453. return Brain(*hemispheres)

fetchers.py at commit dc4a007, under BSD-3-Clause · at the source

Overview

Authors: Yujie Song1,2,3,4, Bin Huang5, Jiayu Wu1,2, Jinping Lin1, Kaiqi Xin6, Bo Gao5, Graham J Kemp7, Bin Guo1,8, Qiyong Gong1,2,3
  1. Xiamen Key Lab of Psychoradiology and Neuromodulation, Department of Radiology, West China Hospital, West China Xiamen Hospital, Sichuan University, Xiamen, China
  2. Department of Radiology, Huaxi MR Research Center (HMRRC), Institute of Radiology and Medical Imaging, Psychoradiology Key Laboratory of Sichuan Province, West China Hospital of Sichuan University, Chengdu, China
  3. Research Unit of Psychoradiology, Chinese Academy of Medical Sciences, Chengdu, China
  4. Department of Radiology, Peking Union Medical College Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China
  5. Department of Radiology, Affiliated Hospital of Guizhou Medical University, Guiyang, China
  6. Mental Health Center, West China Hospital, West China Xiamen Hospital, Sichuan University, Xiamen, China
  7. Liverpool Magnetic Resonance Imaging Centre (LiMRIC) and Institute of Life Course and Medical Sciences, University of Liverpool, Liverpool, United Kingdom
  8. Department of Big Data, Clinical Oncology School of Fujian Medical University, Fujian Cancer Hospital, Fuzhou, China
Journal: Psychological medicine, volume 56, article e196
Dates: received 22 October 2025; accepted 10 May 2026; published online 18 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1017/s0033291726104838 · PMID 42312348 · PMCID PMC13280688 · OpenAlex W7165198467
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), other condition (population), cellular / molecular (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Preprocessing, fMRI & imaging, Smoothing, state filtering, decompositions
Keywords: magnetic resonance imaging, post-traumatic stress disorder, psychoradiology, structural–functional coupling
MeSH: Brain*, Nerve Net*, Stress Disorders, Post-Traumatic*, Adult, Earthquakes, Female, Humans, Magnetic Resonance Imaging, Male, Middle Aged, Survivors (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Natural Science Foundation of China (82027808, 82572325); Fujian Provincial Health Technology Project (2023QNB020)
Citations: not cited yet (Europe PMC); 108 references in the paper

Abstract

Background: Post-traumatic stress disorder (PTSD) is a growing health problem whose neurobiology remains incompletely understood. Neuroimaging is useful in probing PTSD-related brain dysfunction, and techniques continue to evolve. Structural–functional coupling (SFC) offers a novel integrated perspective on PTSD neurobiology. We sought to define unique SFC alterations in PTSD and explore their associations with clinical symptoms, brain molecular architecture, and gene expression.

Methods: We studied 61 PTSD patients and 62 trauma-exposed non-PTSD controls (TENC) recruited from earthquake survivors. We compared SFC constructed from multimodal MRI data by an eigendecomposition method between the two groups. We explored the spatial correlation of SFC with molecular maps, used partial least squares (PLS) regression to associate them with Allen Human Brain Atlas gene data, and conducted enrichment analysis on the identified genes.

Results: PTSD patients showed significant regional SFC alterations in multiple regions: lower SFC in PTSD versus TENC in the default mode network (DMN), frontoparietal network (FPN), dorsal attention network, sensorimotor network, visual network, and thalamus, and higher SFC in PTSD versus TENC in the DMN, FPN, and ventral attention network. Some changes were correlated with clinical symptom severity. In both groups, the spatial distribution of SFC was similarly correlated with molecular architectures. The second component of the PLS regression genes were linked to PTSD-specific SFC variations, enriched mainly in molecular functions and pathways related to synapses and neurotransmitter signaling.

Conclusions: This study yields new insights into PTSD pathophysiology by connecting macroscale SFC changes with their microscale molecular and transcriptional basis.

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

Repository

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

rmarkello/abagen

License: BSD-3-Clause
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: dc4a007e4e902e51f97251390c8d1bbf7e58c6d3, 29 September 2023
Languages: Python (52), Shell (1)
Size: 130 files, 53 scripts
Software Heritage: archived
Found in: the text, “Relation of cortical gene expression to SFC alte”
Holds: README, license file, environment (requirements.txt, setup.cfg, setup.py, docs/requirements.txt), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: NumPy (23 files), pandas (22 files), abagen (20 files), NiBabel (11 files), SciPy (7 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
55 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;
  • 53 scripts, each with its path and the digest of its content;
  • 1 match 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 data supporting the findings of this study are available on reasonable request from the corresponding author.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 9 authors, 4 keywords, 11 MeSH terms, 2 funders, 105 references.

Cite

This paper

Song, Y., Huang, B., Wu, J., Lin, J., Xin, K., Gao, B., Kemp, G. J., Guo, B., & Gong, Q. (2026). Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features. Psychological medicine, 56, e196. https://doi.org/10.1017/s0033291726104838

BibTeX

@article{song2026variations,
author = {Song, Yujie and Huang, Bin and Wu, Jiayu and Lin, Jinping and Xin, Kaiqi and Gao, Bo and Kemp, Graham J and Guo, Bin and Gong, Qiyong},
title = {{Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features}},
journal = {Psychological medicine},
year = {2026},
month = jun,
volume = {56},
pages = {e196},
publisher = {Cambridge University Press},
issn = {0033-2917},
doi = {10.1017/s0033291726104838},
url = {https://doi.org/10.1017/s0033291726104838},
pmid = {42312348},
pmcid = {PMC13280688}
}

RIS

TY - JOUR
AU - Song, Yujie
AU - Huang, Bin
AU - Wu, Jiayu
AU - Lin, Jinping
AU - Xin, Kaiqi
AU - Gao, Bo
AU - Kemp, Graham J
AU - Guo, Bin
AU - Gong, Qiyong
TI - Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features
T2 - Psychological medicine
J2 - Psychol Med
PY - 2026
DA - 2026/06/18
VL - 56
SP - e196
SN - 0033-2917
PB - Cambridge University Press
DO - 10.1017/s0033291726104838
UR - https://doi.org/10.1017/s0033291726104838
LA - en
ER -

CSL-JSON

{
"id": "10.1017/s0033291726104838",
"type": "article-journal",
"title": "Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features",
"container-title": "Psychological medicine",
"author": [
{
"family": "Song",
"given": "Yujie"
},
{
"family": "Huang",
"given": "Bin"
},
{
"family": "Wu",
"given": "Jiayu"
},
{
"family": "Lin",
"given": "Jinping"
},
{
"family": "Xin",
"given": "Kaiqi"
},
{
"family": "Gao",
"given": "Bo"
},
{
"family": "Kemp",
"given": "Graham J"
},
{
"family": "Guo",
"given": "Bin"
},
{
"family": "Gong",
"given": "Qiyong"
}
],
"container-title-short": "Psychol Med",
"volume": "56",
"page": "e196",
"DOI": "10.1017/s0033291726104838",
"PMID": "42312348",
"PMCID": "PMC13280688",
"ISSN": "0033-2917",
"publisher": "Cambridge University Press",
"URL": "https://doi.org/10.1017/s0033291726104838",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
18
]
]
}
}

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/s42003-025-09444-3 [code]
Decoupling of neurophysiological activity from structure mirrors global microarchitectural and neuromodulatory trends.
Journal: Communications biology
In common: abagen, NiBabel, pandas, 2 other tools, cellular / molecular, 14 references
[2] doi:10.1038/s43856-026-01707-2 [code]
Decreased amyloid-related structure-function coupling in preclinical Alzheimer's disease.
Journal: Communications medicine
In common: abagen, NiBabel, pandas, 2 other tools, 14 references
[3] doi:10.1038/s41467-026-71719-y [code]
Brain functional-structural gradient coupling reflects development, behavior and genetic influences.
Journal: Nature communications
In common: abagen, NiBabel, pandas, 2 other tools, 8 references
[4] doi:10.7554/elife.103097 [code]
Canonical neurodevelopmental trajectories of structural and functional manifolds.
Journal: eLife
In common: NiBabel, pandas, SciPy, 1 other tool, structural MRI / diffusion, 10 references
[5] doi:10.1371/journal.pbio.3003927 [code]
Brain structural and functional connectivity converge prenatally but diverge after birth.
Journal: PLoS biology
In common: structural MRI / diffusion, 10 references
[6] doi:10.1186/s10194-026-02419-7 [code]
Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations.
Journal: The journal of headache and pain
In common: structural MRI / diffusion, cellular / molecular, 10 references
[7] doi:10.1038/s41467-026-74153-2 [code]
Regional, functional and transcriptomic decoding of multidimensional brain structure alterations in obsessive-compulsive disorder.
Journal: Nature communications
In common: abagen, NiBabel, pandas, 2 other tools, other condition, cellular / molecular, 4 references
[8] doi:10.1038/s41467-026-76812-w [code]
Assessing molecular, cellular and transcriptomic bases of laminar perfusion and cytoarchitecture coupling in the human cortex.
Journal: Nature communications
In common: NiBabel, pandas, SciPy, 1 other tool, structural MRI / diffusion, cellular / molecular, 6 references
[9] doi:10.1038/s41531-026-01354-3 [code]
Neuromodulation-induced normalization of cortical metastable dynamics signatures in Parkinson's disease.
Journal: NPJ Parkinson's disease
In common: abagen, NiBabel, pandas, 2 other tools, other condition, 5 references
[10] doi:10.1155/da/8792696 [code]
Connectome Gradient-Based Subtyping of Major Depressive Disorder Reveals Distinct Neurobiological and Transcriptomic Signatures.
Journal: Depression and anxiety
In common: NiBabel, pandas, SciPy, 1 other tool, 6 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.

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.