bioRxiv : the preprint server for biologyOpen accessbioinformatics

Whole-catalog reference distributions for reading one person's polygenic scores, built by an agent-optimized GPU scorer.

Adam Afyouni, Boyuan Yang, Cong Liu

Key points

From the paper's conclusion
  • Conclusion: We release ancestry-stratified reference distributions for the whole PGS Catalog, so a new person's score can be read without rescoring the reference panel.

Abstract

OBJECTIVE: A polygenic score (PGS) is interpretable only as a percentile within a reference distribution, so a person who wants their risk across many diseases/traits needs every candidate model calibrated against a reference distribution. A precalculated frozen reference scoring every genome in a reference panel against every PGS model requires extensive computing resources using current software. MATERIALS AND METHODS: We reformulated PGS calculation as a sparse matrix product on a GPU and had an autonomous coding agent optimize it under strict numerical validation against pgsc_calc, once on a frozen synthetic training set and once on a 1000 Genomes (1000G) training set, and reran the synthetic training loop three times to assess the variances. RESULTS: On its synthetic training set the scorer sped up 10.6-fold and ran 71-fold faster than pgsc_calc. On 10 genomes and 10 models from the 1000G validation set, the synthetic-trained scorer was 15.3-fold slower than the 1000G-trained version and diverged from pgsc_calc (maximum absolute difference 3.7×10 -1 vs. 3.1×10 -4 ). Across three reruns, agent trajectory variance explained 91 to 96% of wall-clock variance. A memory-bounded rebuild then scored all 3,202 individuals' genotypes against all 5,385 models in 6.5 h within a 72 GB memory cap. DISCUSSION: Checking an agent's code only on the data it was tuned on cannot catch overfitting, and reruns of the same prompt differ widely. CONCLUSION: We release ancestry-stratified reference distributions for the whole PGS Catalog, so a new person's score can be read without rescoring the reference panel.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Whole-catalog reference distributions for reading one person's polygenic scores, built by an agent-optimized GPU scorer — Science Skim