bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.09.28.755102

Agent-optimized GPU polygenic scoring at cohort scale

Abstract

A polygenic score (PGS) is a unitless weighted sum of allele dosages, interpretable only as a percentile within a reference distribution. Evaluating risk across models requires scoring each individual against a whole reference panel, but current CPU pipelines process targets or models sequentially, making full cross-product calculations prohibitively expensive. We reformulated PGS calculation as a cohort-wide sparse matrix product on a GPU and optimized it via an autonomous coding agent under read-only inputs, cold starts, and strict numerical validation against pgsc_calc. The scorer was "trained" by the agent accessing synthetic data and real 1000 Genomes data. On a synthetic benchmark, the scorer achieved a 10.6-fold speedup during the training course (184.9 s to 17.4 s) and ran 71-fold faster than pgsc_calc. However, on held-out real genomes, the synthetic-trained scorer was 15.3-fold slower than the real-data-trained version and diverged significantly from pgsc_calc (maximum absolute difference of 3.7x10-1 vs. 3.1x10-4). Three replications of the synthetic loop from an identical prompt showed that agent optimization trajectory variance explains 91 to 96% of total wall-clock variance, against 0 to 2.6% for the data sampled and 0.2 to 3.3% for repeated execution. A memory-bounded rebuild then scored all the 3,202 1000 Genome genotypes against all 5,385 models in 6.5 h within a 72 GB memory cap, released here as a frozen scoring manifest with ancestry-stratified reference distributions for the whole PGS Catalog

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Afyouni, A., Yang, B., Liu, C.. 2026-10-03. Agent-optimized GPU polygenic scoring at cohort scale. https://doi.org/10.64898/2026.09.28.755102

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Network analysis reveals converging molecular mechanisms in genetic epilepsies

Background: Rare genetic epilepsies are often difficult to diagnose and treat. They can arise from changes in many different genes, and the molecular basis linking these changes to epilepsy remains poorly understood. This complexity makes it difficult to select effective treatments and develop new therapies, leaving many patients with poorly controlled seizures and reduced quality of life Methods: To address this gap, we first identified epilepsy-associated genes and conducted a network-based analysis of biomolecular interactions in genetic epilepsy to identify converging pathways with high translational relevance and potential therapeutic targets. To run the analysis, we constructed a human brain-specific molecular interaction network by integrating all human pathways from the WikiPathways database. HotNet2 was then applied to identify highly perturbed clusters through evidence-based weight diffusion of EAGs in the human brain network. Results: We identified 2,496 epilepsy-associated genes (EAGs) from multiple resources. These genes encode coding for metabolite interconversion enzymes (20%), transporters (15%), and protein-modifying enzymes (11%). Furthermore, the network analysis identified 19 subnetworks with more than two nodes and 125 unique genes. Gene enrichment analysis revealed convergence of processes including action potential, synaptic function, nervous system development, TOR signaling, cilium organization, DNA repair, and cell fate specification. We identified 44 first-order neighbors connecting the subnetworks. By integrating drug-target interactions from DrugBank using CyTargetLinker, we highlighted potential therapeutic targets within the S4 subnetwork, associated with cerebral cortex development, as well as CREB1, a connector between subnetworks. Conclusion: Network analysis organized heterogeneous epilepsy-associated genes into biologically related subnetworks and generated hypotheses for further research.

bioinformatics↗

GaussF: An Unbiased Gaussian Framework for High-Precision Transcript Quantification with a Programmable Self-Benchmark Model

Short-read RNA sequencing has revolutionized transcriptome analysis, but accurate isoform-level quantification faces substantial challenges from overlapping sequences among complex isoforms and inherent sequencing biases, leading to uneven coverage. Current alignment-based and alignment-free methods, while valuable, largely rely on empirical, data-derived factors for bias correction and isoform resolution. This dependency limits their capacity to fully capture the intricate spectrum of sequencing data. We introduce GaussF, a novel alignment-free methodology specifically designed for precise isoform quantification by directly addressing these biases and the isoform recognition problem without relying on empirical data. GaussF is predicated on the observation that k-mer counts categorized by GC content across a natural transcript exhibit an intrinsic Gaussian distribution. It establishes a transcript-specific self-benchmarking workflow utilizing a theoretical Gaussian cumulative distribution function (CDF). Crucially, the parameters defining this CDF are derived independently of any empirical sequencing data. This parameter-fixed theoretical CDF serves as an unbiased benchmark, capturing only the genuine contribution of abundance while systematically excluding all bias-related data. To improve isoform resolution despite shared regions, GaussF characterizes isoforms through identifying minimal-shared regions and restructures the k-mer reference accordingly. This approach simplifies complexity and enhances accuracy. Rigorous validation using artificial and real RNA samples, alongside comparative analysis with leading quantification tools like Kallisto, Salmon, Cufflinks, StringTie, and RSEM, demonstrates GaussF's superior performance in accurate isoform detection and quantification. GaussF is available on GitHub and PyPI, representing a significant advancement in RNA-seq analysis.

bioinformatics↗

Predicting Differential Protein-Protein Interactions

Motivation Analysis of context-specific protein-protein interactions (PPIs) provides deeper insight into protein function, revealing how cellular pathway components interact in certain perturbation conditions. However, identifying such interactions experimentally often requires combining affinity purification with mass spectrometry, proving costly and time-consuming. On the other hand, it has been shown that an increase in protein abundance does not always correspond to an increase in protein interaction, making it an unsuitable surrogate for interaction studies. Results To address this, a random forest model was created using PPI-specific MINT embeddings and condition-specific mass spectrometry protein abundance information to predict differential interactions across two experimental conditions. The model was trained and tested on validated context-specific PPIs from eight distinct cell-lines, demonstrating proficiency in predicting differential PPIs for both novel proteins and cell lines. To our knowledge, we provide the first computational model that predicts differential PPIs between experimental conditions. Availability and implementation The code is available on GitHub and backed up on Zenodo (DOI: 10.5281/zenodo.23758127). The model is freely available on Zenodo (DOI: 10.5281/zenodo.23757927).

bioinformatics↗