Brain patterns linked to neuropsychiatric genetic risk mirror those seen in disease.
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 · 120 lines · 4.9 KB · MIT
- #!/usr/bin/env python
- """
- PRS-CS: a polygenic prediction method that infers posterior SNP effect sizes under continuous shrinkage (CS) priors
- using GWAS summary statistics and an external LD reference panel.
- Reference: T Ge, CY Chen, Y Ni, YCA Feng, JW Smoller. Polygenic Prediction via Bayesian Regression and Continuous Shrinkage Priors.
- Nature Communications, 10:1776, 2019.
- Usage:
- python PRScs.py --ref_dir=PATH_TO_REFERENCE --bim_prefix=VALIDATION_BIM_PREFIX --sst_file=SUM_STATS_FILE --n_gwas=GWAS_SAMPLE_SIZE --out_dir=OUTPUT_DIR
- [--a=PARAM_A --b=PARAM_B --phi=PARAM_PHI --n_iter=MCMC_ITERATIONS --n_burnin=MCMC_BURNIN --thin=MCMC_THINNING_FACTOR
- --chrom=CHROM --write_psi=WRITE_PSI --write_pst=WRITE_POSTERIOR_SAMPLES --seed=SEED]
- """
- import os
- import sys
- import getopt
- import parse_genet
- import mcmc_gtb
- import gigrnd
- def parse_param():
- long_opts_list = ['ref_dir=', 'bim_prefix=', 'sst_file=', 'a=', 'b=', 'phi=', 'n_gwas=',
- 'n_iter=', 'n_burnin=', 'thin=', 'out_dir=', 'chrom=', 'beta_std=', 'write_psi=', 'write_pst=', 'seed=', 'help']
- param_dict = {'ref_dir': None, 'bim_prefix': None, 'sst_file': None, 'a': 1, 'b': 0.5, 'phi': None, 'n_gwas': None,
- 'n_iter': 1000, 'n_burnin': 500, 'thin': 5, 'out_dir': None, 'chrom': range(1,23),
- 'beta_std': 'FALSE', 'write_psi': 'FALSE', 'write_pst': 'FALSE', 'seed': None}
- print('\n')
- if len(sys.argv) > 1:
- try:
- opts, args = getopt.getopt(sys.argv[1:], "h", long_opts_list)
- except:
- print('Option not recognized.')
- print('Use --help for usage information.\n')
- sys.exit(2)
- for opt, arg in opts:
- if opt == "-h" or opt == "--help":
- print(__doc__)
- sys.exit(0)
- elif opt == "--ref_dir": param_dict['ref_dir'] = arg
- elif opt == "--bim_prefix": param_dict['bim_prefix'] = arg
- elif opt == "--sst_file": param_dict['sst_file'] = arg
- elif opt == "--a": param_dict['a'] = float(arg)
- elif opt == "--b": param_dict['b'] = float(arg)
- elif opt == "--phi": param_dict['phi'] = float(arg)
- elif opt == "--n_gwas": param_dict['n_gwas'] = int(arg)
- elif opt == "--n_iter": param_dict['n_iter'] = int(arg)
- elif opt == "--n_burnin": param_dict['n_burnin'] = int(arg)
- elif opt == "--thin": param_dict['thin'] = int(arg)
- elif opt == "--out_dir": param_dict['out_dir'] = arg
- elif opt == "--chrom": param_dict['chrom'] = arg.split(',')
- elif opt == "--beta_std": param_dict['beta_std'] = arg.upper()
- elif opt == "--write_psi": param_dict['write_psi'] = arg.upper()
- elif opt == "--write_pst": param_dict['write_pst'] = arg.upper()
- elif opt == "--seed": param_dict['seed'] = int(arg)
- else:
- print(__doc__)
- sys.exit(0)
- if param_dict['ref_dir'] == None:
- print('* Please specify the directory to the reference panel using --ref_dir\n')
- sys.exit(2)
- elif param_dict['bim_prefix'] == None:
- print('* Please specify the directory and prefix of the bim file for the target dataset using --bim_prefix\n')
- sys.exit(2)
- elif param_dict['sst_file'] == None:
- print('* Please specify the summary statistics file using --sst_file\n')
- sys.exit(2)
- elif param_dict['n_gwas'] == None:
- print('* Please specify the sample size of the GWAS using --n_gwas\n')
- sys.exit(2)
- elif param_dict['out_dir'] == None:
- print('* Please specify the output directory using --out_dir\n')
- sys.exit(2)
- for key in param_dict:
- print('--%s=%s' % (key, param_dict[key]))
- print('\n')
- return param_dict
- def main():
- param_dict = parse_param()
- for chrom in param_dict['chrom']:
- print('##### process chromosome %d #####' % int(chrom))
- if '1kg' in os.path.basename(param_dict['ref_dir']):
- ref_dict = parse_genet.parse_ref(param_dict['ref_dir'] + '/snpinfo_1kg_hm3', int(chrom))
- elif 'ukbb' in os.path.basename(param_dict['ref_dir']):
- ref_dict = parse_genet.parse_ref(param_dict['ref_dir'] + '/snpinfo_ukbb_hm3', int(chrom))
- vld_dict = parse_genet.parse_bim(param_dict['bim_prefix'], int(chrom))
- sst_dict = parse_genet.parse_sumstats(ref_dict, vld_dict, param_dict['sst_file'], param_dict['n_gwas'])
- ld_blk, blk_size = parse_genet.parse_ldblk(param_dict['ref_dir'], sst_dict, int(chrom))
- mcmc_gtb.mcmc(param_dict['a'], param_dict['b'], param_dict['phi'], sst_dict, param_dict['n_gwas'], ld_blk, blk_size,
- param_dict['n_iter'], param_dict['n_burnin'], param_dict['thin'], int(chrom), param_dict['out_dir'], param_dict['beta_std'],
- param_dict['write_psi'], param_dict['write_pst'], param_dict['seed'])
- print('\n')
- if __name__ == '__main__':
- main()
PRScs.py at commit 5330390, under MIT · at the source
Overview
- Department of Radiology, University of California, San Diego, CA, United States
- Department of Bioengineering, University of California, San Diego, CA, United States
- Department of Psychiatry, Harvard Medical School, Boston, MA, United States
- Department of Psychology, University of Oslo, Oslo, Norway
- Division of Biostatistics, University of Minnesota School of Public Health, Minneapolis, MN, United States
Abstract
Analyzing brain morphological changes across individuals with varying genetic risk scores may reveal patterns of brain alterations from health to disease. This study investigates gray matter structural alterations in individuals with clinical diagnoses compared with those with genetic risk alone. UK Biobank MRI and genotypes (N = 34,720) were used to derive brain measures and polygenic risk scores, creating genetic risk brain maps for 14 neuropsychiatric disorders. Eight disorders from ENIGMA were used to construct disease brain maps. Brain maps of genetic risk and clinical diagnosis show overall alignment for ADHD, schizophrenia, bipolar disorder, and autism. Other conditions, including Alzheimer’s disease, show specific brain regions linked to genetic risk aligning with established patient patterns. Incomplete data for some conditions limit analyses. ADHD and PTSD polygenic burden was associated with smaller global brain sizes, while Parkinson’s disease was linked to larger brain volume. Mendelian randomization analyses revealed unidirectional relationships where the brain influences ADHD and Parkinson’s disease, while a bidirectional causal association was observed for schizophrenia. Focusing on schizophrenia and bipolar disorder, we found that individuals with high genetic risk combined with smaller brain structures were more likely to have these diagnoses. Overall, the study demonstrates marked similarities in brain changes between clinical diagnoses and genetic risk for several disorders, albeit with mild effect sizes in the latter. These findings underscore the importance of genetic risk in influencing brain anatomy and the progression of neuropsychiatric disorders.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
getian107/PRScs
53303906784c3360b9a1a7fa000b32c73eda9d5a, 21 November 2024Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
6 files
- PRScs.py, Python, 120 lines
- gigrnd.py, Python, 122 lines
- mcmc_gtb.py, Python, 129 lines
- parse_genet.py, Python, 196 lines
- LICENSE, License, 21 lines
- README.md, Text, 215 lines
jianyang-lab/gsmr
53f5034f4ebde2d149930a924449b57f6a36cb85, 13 September 2023Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
6 files
- R/
GSMR-package.r , R, 11 lines - R/
gsmr.R , R, 542 lines - inst/
doc/ , R, 125 linesGSMR-intro.R - inst/
doc/ , R, 223 linesGSMR-intro.Rmd - vignettes/
GSMR-intro.Rmd , R, 223 lines - README.md, Text, 47 lines
The paper's code and data availability statement is in the Data section.
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;
- 9 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
No dataset and no data link were found in the paper.
Data and Code Availability
The individual-level genetic and neuroimaging data used in this study were obtained from the UK Biobank (https://
All analyses were conducted using publicly available software, including FreeSurfer for neuroimaging processing, PRS-CS for polygenic risk score estimation (https://
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 9 authors, 6 keywords, 1 funder, 96 references.
Cite
This paper
Chou, C.-J., del Re, E. C., Wang, H., Hamada, K., Tian, X., Iakunchykova, O., Wang, Y., Fiecas, M., & Chen, C.-H. (2026). Brain patterns linked to neuropsychiatric genetic risk mirror those seen in disease. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1152. https://
BibTeX
@article{chou2026brain,
author = {Chou, Chun-Ju and del Re, Elisabetta C. and Wang, Hao and Hamada, Kareem and Tian, Xiaoguang and Iakunchykova, Olena and Wang, Yunpeng and Fiecas, Mark and Chen, Chi-Hua},
title = {{Brain patterns linked to neuropsychiatric genetic risk mirror those seen in disease}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = mar,
volume = {4},
pages = {IMAG.a.1152},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/
url = {https://
pmid = {41821829},
pmcid = {PMC12977089}
}
RIS
TY - JOUR
AU - Chou, Chun-Ju
AU - del Re, Elisabetta C.
AU - Wang, Hao
AU - Hamada, Kareem
AU - Tian, Xiaoguang
AU - Iakunchykova, Olena
AU - Wang, Yunpeng
AU - Fiecas, Mark
AU - Chen, Chi-Hua
TI - Brain patterns linked to neuropsychiatric genetic risk mirror those seen in disease
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/
VL - 4
SP - IMAG.a.1152
SN - 2837-6056
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "Brain patterns linked to neuropsychiatric genetic risk mirror those seen in disease",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Chou",
"given": "Chun-Ju"
},
{
"family": "del Re",
"given": "Elisabetta C."
},
{
"family": "Wang",
"given": "Hao"
},
{
"family": "Hamada",
"given": "Kareem"
},
{
"family": "Tian",
"given": "Xiaoguang"
},
{
"family": "Iakunchykova",
"given": "Olena"
},
{
"family": "Wang",
"given": "Yunpeng"
},
{
"family": "Fiecas",
"given": "Mark"
},
{
"family": "Chen",
"given": "Chi-Hua"
}
],
"container-title-short":
"volume": "4",
"page": "IMAG.a.1152",
"DOI": "10.1162/
"PMID": "41821829",
"PMCID": "PMC12977089",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
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.1002/hbm.70635 [code]
- Cerebral Cortical Structural Variation and General Cognitive Ability: Evidence From Mendelian Randomization.Journal: Human brain mappingIn common: structural MRI / diffusion, genetics / omics, 10 references, 4 authors
- [2] doi:10.1038/s41380-026-03497-4 [code]
- Transcriptome-informed brain cartography of polygenic risk and association with brain structure in major psychiatric disorders.Journal: Molecular psychiatryIn common: SciPy, NumPy, ADHD, schizophrenia / psychosis, genetics / omics, 15 references
- [3] doi:10.1371/journal.pcbi.1014422 [code]
- Deciphering cell type-specific causal genetic effects on brain imaging-derived phenotypes and disorders with single-cell Mendelian randomization.Journal: PLoS computational biologyIn common: genetics / omics, 11 references
- [4] doi:10.1038/s41467-026-73996-z [code]
- Genetic architecture of white matter microstructure captured by unsupervised deep representation learning of fractional anisotropy maps.Journal: Nature communicationsIn common: h5py, SciPy, NumPy, structural MRI / diffusion, genetics / omics, 7 references
- [5] doi:10.1038/s42003-026-10045-x [code]
- Spatiotemporal brain transcriptomics reveal risk gene hot-spots in major neuropsychiatric disorders.Journal: Communications biologyIn common: genetics / omics, 8 references
- [6] doi:10.1038/s41467-026-73714-9 [code]
- The genetic architecture of cortical similarity networks.Journal: Nature communicationsIn common: SciPy, NumPy, structural MRI / diffusion, genetics / omics, 7 references
- [7] doi:10.1007/s00406-026-02302-1 [code]
- Exploring the genetic correlation between inflammatory bowel disease and psychiatric disorders: insights from genome-wide association studies.Journal: European archives of psychiatry and clinical neuroscienceIn common: ADHD, genetics / omics, 7 references
- [8] doi:10.1186/s12920-026-02354-1
- Shared genetic architecture between Alzheimer's disease and psychiatric disorders revealed by multi-trait genome-wide analyses.Journal: BMC medical genomicsIn common: genetics / omics, 6 references
- [9] doi:10.1038/s41593-026-02247-7 [code]
- Transcriptomic and phenotypic convergence of neurodevelopmental disorder risk genes in vitro and in vivo.Journal: Nature neuroscienceIn common: genetics / omics, 6 references
- [10] doi:10.1038/s41588-026-02646-3 [code]
- Co-expression-based models improve eQTL predictions for transcriptome-wide association studies and highlight new schizophrenia-associated
genes. Journal: Nature geneticsIn common: h5py, SciPy, NumPy, schizophrenia / psychosis, genetics / omics, 3 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, 9 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:6de5b7e55d0eb593…
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.
