Bioinformatics
Building a polygenic risk score pipeline: from genotypes to reports
A practical overview of a polygenic risk score pipeline: genotyping QC, imputation, scoring from GWAS summary statistics, ancestry calibration and reporting.
A polygenic risk score (PRS) looks simple: a weighted sum of genotypes. Producing one that is reliable, reproducible and responsibly reported takes a careful pipeline. This is an overview of the main stages.
1. Choose the score
Start from published genome-wide association study (GWAS) summary statistics or curated scores. The GWAS Catalog and the PGS Catalog are the main public resources. Evaluate:
- Sample size and ancestry of the discovery GWAS.
- Whether the score was validated in an independent cohort.
- Reported performance, such as AUC or odds ratio per standard deviation.
- Licensing for commercial or clinical use.
2. Genotype quality control
- Sample-level checks: call rate, sex concordance, heterozygosity and relatedness.
- Variant-level checks: call rate, Hardy-Weinberg equilibrium and minor allele frequency.
- Strand alignment and build harmonisation, such as GRCh37 vs GRCh38.
3. Imputation
Impute to a large, diverse reference panel to recover the variants the score needs. Filter on imputation quality, and track the share of score variants available for each sample.
4. Scoring
Methods range from clumping and thresholding to Bayesian approaches that model linkage disequilibrium. Tools such as PLINK and pgsc_calc are widely used. Record the exact variant list, weights and software versions for reproducibility.
5. Ancestry and calibration
Raw scores shift with ancestry. Estimate genetic ancestry, for example with principal components, and either compare individuals to ancestry-matched references or adjust scores for ancestry. Where possible, use multi-ancestry or ancestry-specific scores. Converting to absolute risk requires calibration with age- and sex-specific incidence.
6. Reporting
- Report percentile, relative risk and, where validated, absolute risk.
- State limitations, especially for ancestries with weaker evidence.
- Link to the source study.
- Include actionable next steps and clinical caveats.
7. Operations, security and governance
- Version every score and pipeline release.
- Keep audit logs of who accessed which results.
- Encrypt data in transit and at rest, minimise identifiable data in analysis environments, and document data residency for each provider.
- Re-validate when you change chips, reference panels or score versions.
LucyDNA builds and runs pipelines like this for its own health platform and for research partners. Contact us to discuss a project.
Frequently asked questions
What do I need to calculate a polygenic risk score?
Quality-controlled genotype data, typically imputed, plus validated variant weights from GWAS or the PGS Catalog, and an ancestry-appropriate reference for interpretation.
Why does ancestry matter for polygenic scores?
Allele frequencies and linkage patterns differ by ancestry, so scores built in one population often perform worse in others without calibration.