How GigaPRS works
GigaPRS estimates SNP effect sizes from the summary statistics of one or many GWAS, spanning multiple traits and ancestries, then turns them into polygenic risk scores for individuals of any ancestry. This page summarises what is new and how it works.
Key innovations
1Combined summary statistics
Instead of fitting a joint model with one set of effect sizes per GWAS, GigaPRS merges all GWAS into a single weighted set of summary statistics (and a matching combined LD matrix), then fits one model. Weights come from a multi-ancestry generalisation of MTAG, and a stepwise algorithm admits a secondary GWAS only if it raises the effective sample size by at least 5%.
Why it matters: run time grows only linearly with the number of ancestries, and dozens of correlated traits can be used without a tuning dataset.
2Scaled test statistics
Each GWAS's Z-statistics are rescaled, Z = \lambda Z', with \lambda estimated from the data using SumHer. Low \lambda flags inflated statistics or overstated sample sizes (e.g. relatedness, population structure, or a mismatched LD reference).
Why it matters: for MVP quantitative traits the average \lambda was 0.81, and scaling improved PRS accuracy by 5.8% on average.
3Multi-ancestry effect size file
Step 1 writes a single file with effect sizes and allele frequencies for every ancestry. In Step 2, GigaPRS infers each target individual's ancestry proportions from these frequencies and weights the ancestry-specific scores accordingly.
Why it matters: no need to assign target individuals to ancestry groups. It works for unknown, mixed and admixed ancestry, where it gives the largest gains.
Also built in
A heritability-informed prior. Each SNP's prior variance is proportional to its expected heritability under the BLD model (86 functional annotations, with the MAF dependence estimated from the data), rather than assuming every SNP contributes equally. Quality control and imputation of summary statistics are done automatically. Fine-mapping uses the same machinery, giving posterior inclusion probabilities and credible sets.
Pipeline
Inputs: summary statistics from one or more GWAS (each labelled focal, primary or secondary and matched to an LD matrix), LD matrices for one or more ancestries, and genotypes of the target individuals. Step 1 runs the six operations below once per focal ancestry; Step 2 runs once.
Step 1 · estimate SNP effect sizes (per focal ancestry)
- O1a Quality control and imputation. Checks that each GWAS's allele frequencies match its assigned LD matrix best (catching mis-assigned ancestries), drops SNPs whose frequencies differ by more than 0.2, and imputes missing summary statistics within LD blocks.
- O1b Scale the summary statistics. Estimates the inflation \gamma of each GWAS with SumHer and sets \lambda = 1/\sqrt{\hat\gamma}.
- O1c Per-SNP heritabilities. Fits the BLD heritability model to the focal GWAS to obtain \hat h^2_j for every SNP.
- O1d Combine the GWAS. Selects informative GWAS by stepwise selection, then builds the combined summary statistics and combined LD matrix.
- O1e Prior parameters. Chooses the mixture proportions by pseudo cross-validation (no individual-level data needed).
- O1f Effect sizes. Variational Bayes, one LD block at a time.
Step 2 · compute scores
- O2a Ancestry-specific scores. One PRS per ancestry, P^d = \sum_j X_j \hat\beta^d_j.
- O2b Ancestry weighting. Infers each individual's ancestry proportions and combines the scores.
Operations in red are new in GigaPRS
Statistical model
Prior. By default each SNP effect follows a BayesR-type four-component mixture whose scale is set by the SNP's expected heritability:
The components hold SNPs with zero, small, medium and large effects. Setting \pi_1=\pi_2=\pi_3=0 gives ridge regression; \pi_2=\pi_3=0 gives an LDpred-type prior.
Heritability model. Expected per-SNP heritability is
where B_k are SNP annotations, f_j is allele frequency, and \tau_k, \alpha are estimated with SumHer. The default BLD model uses the 86 non-MAF annotations of Baseline LD v2.2 and estimates \alpha; most other PRS tools assume a uniform model, \mathbb E[h^2_j]=\tau_1.
Likelihood and inference. GigaPRS works as if Y\sim\mathcal N(X\beta, I), but everything depends on X and Y only through X_j^TY\approx n_j\rho_j and X_j^TX_k\approx n_jR_{jk}, so only summary statistics and an LD matrix are needed. Variational Bayes approximates the posterior by independent per-SNP factors, updating each SNP from its conditional posterior given the current means of the others. Because the LD matrix is block-diagonal (591 blocks), each block is solved separately, which keeps memory low. Iteration stops when the explained sum of squares changes by less than 10^{-5}\,\bar n_B. An MCMC solver (Gibbs sampling, 4 chains × 250 iterations) is available and can help with in-sample LD.
Combining GWAS of different traits and ancestries
For each SNP, GigaPRS forms a weighted average of the standardised effect estimates \rho^c_j = Z^c_j/\sqrt{n^c_j} from the C GWAS:
As in MTAG, the weights come from two C\times C matrices: \Omega (covariance of the genetic contributions, built from SNP heritabilities and coheritabilities) and \Sigma (covariance of the estimation errors, built from sample sizes and bivariate intercepts). Both are estimated with SumHer. GigaPRS extends MTAG in two ways:
- Multiple ancestries. GWAS of different ancestries are allowed; their error covariance is set to zero (no sample overlap), and each GWAS is used with its own ancestry's LD.
- Stepwise selection. Starting from the primary GWAS, GigaPRS repeatedly adds the secondary GWAS that most increases the effective sample size, considering only traits with |genetic correlation| ≥ 0.5 and stopping when the gain falls below 5% of the focal sample size.
A combined LD matrix, the matching weighted average of the ancestry-specific LD matrices, describes the covariance of the combined statistics. Effect sizes are then estimated exactly as for a single GWAS, which is why a 55-GWAS, 3-ancestry analysis costs little more than three single-GWAS runs.
Example (manuscript Fig. 1b): for African type 2 diabetes effect sizes, the four primary GWAS raise the effective sample size from 116k to 277k; adding glycated haemoglobin and HDL cholesterol brings it to 333k, after which no secondary trait adds 5%.
Ancestry-aware scores
Step 1 produces one set of effect sizes per focal ancestry, stored together with each ancestry's allele frequencies in a single .combined.effects file. In Step 2, GigaPRS regresses each target individual's genotypes on the ancestry-specific allele frequencies to estimate ancestry proportions, then combines the scores. For example, an individual inferred to be 50% African and 50% European receives
This uses global rather than local ancestry, so it needs no reference panel or phasing and runs in seconds. Local-ancestry methods can, in principle, do better for admixed individuals, but cost on the order of 100 CPU hours per 100 individuals.
Performance
Speed and memory (single CPU, 1.2M HapMap3 SNPs, one GWAS)
| Tool | CPU hours | Memory |
|---|---|---|
| GigaPRS | 0.06 | 4 GB |
| SBayesRC | 1.4 | 8 GB |
| LDpred | 2.3 | 12 GB |
| PRS-CSx | 4.5 | 1 GB |
| JointPRS | 3.7 | 1 GB |
With three GWAS of different ancestries, GigaPRS takes about 20 minutes; PRS-CSx and JointPRS each take over 25 hours.
Accuracy from a single GWAS
Mean PRS accuracy (correlation with residual phenotype) relative to GigaPRS, across 18 quantitative and 12 binary traits.
| Scenario | GigaPRS | SBayesRC | LDpred | PRS-CSx | JointPRS |
|---|---|---|---|---|---|
| A · MVP European → UK (quantitative) | 1.00 | 0.97 | 0.94 | 0.96 | 0.96 |
| B · MVP African → Caribbean (quantitative) | 1.00 | 0.97 | 0.92 | 0.74 | 0.74 |
| C · Biobank Japan → China/Hong Kong (quantitative) | 1.00 | 1.02 | 0.95 | 0.90 | 0.91 |
| D · MVP European → UK (binary) | 1.00 | 1.01 | 0.95 | 0.98 | 0.98 |
| E · FinnGen → UK (binary) | 1.00 | 0.99 | 0.99 | 0.95 | 0.94 |
| F · Taiwan PMI → UK (binary) | 1.00 | 0.93 | 0.82 | 0.95 | 0.93 |
Across all 90 trait × scenario analyses, GigaPRS was most accurate 47 times and SBayesRC 34 times; LDpred, PRS-CSx and JointPRS 6, 2 and 1 times.
Combining GWAS
- Multiple ancestries (European + African + East Asian GWAS, 18 traits): GigaPRS was best in 67 of 90 analyses, with PRS 10% and 12% more accurate than PRS-CSx for Caribbean and admixed individuals, and 8–14% more accurate than single-ancestry PRS for Caribbean, Indian and admixed individuals.
- Multiple traits (51 UK Biobank secondary traits): average AUC rose from 62.6% to 63.7% (P < 10−6) for the traits where secondary GWAS were selected, close to a tuned linear combination (63.9%) but with no tuning data. The largest gains were for obesity (via BMI) and depression (via neuroticism and age at first birth).
Fine-mapping
Run in fine-mapping mode, GigaPRS fits a SuSiE-type model (up to ten causal SNPs per window) to the combined summary statistics, with each SNP's prior inclusion probability proportional to \hat h^2_j. It reports posterior inclusion probabilities and 95% credible sets. In simulations its calibration and power were comparable to SuSiE, GWFM and SuSiEx, and multi-ancestry fine-mapping gave higher power and smaller credible sets when architectures were shared.
Feeding fine-mapping results back into the heritability model closes the loop: adding 18 PIP vectors to the BLD model (the BLD-MVP model) significantly improved model fit (P < 10−16) and raised PRS accuracy by 3.9% for FinnGen and 19% for Taiwan PMI GWAS.
Further detail
Quality control and imputation of missing statistics
--check-assignments YES). SNPs with frequency differences above 0.2 are removed. Missing statistics are imputed from observed SNPs in the same LD block (only in blocks where at least half the SNPs are observed); imputed values are excluded from the SumHer analyses.Estimating λ
Choosing prior parameters without a tuning dataset
--save-all-models YES reports every model.Options exposed in LDAK
--model (bayesr, lasso, ridge, bolt, elastic, mega), --MCMC-solve YES, --PRS-variance YES (score uncertainty, with MCMC), --use-annotations NO (uniform model), --summary-imputation NO, --fix-residual-variance YES, --bulk-summaries (many secondary traits in one file). See the LDAK documentation.Based on the GigaPRS manuscript and supplementary material (Speed et al., in preparation); numbers may change before publication.