PRS macro [code] [publication] [notebook] [playbutton tutorial]
Individual polygenic risk score calculation (PRS) for 23andme reports, using the PGS Catalog.
This version of the prsCalculator will automate calling individual PGS catalog entries and individual 23andme files made public by the personal genome project.

Macro

Identify list of PGS catalog entries and list of 23andme results you want to tabulate:

List of PGS catalog entries:

List of 23andme files:

...



Scope/Limitations:This calculator was devised as an implementation proof of concept. It has a number of important limitations for epidemiology research and it does not meet criteria for clinical use. The current tool uses pre-imputation genotype data and thus results in a low number of SNP matches. Most important, only the relative risk model (Box 1, eq 2) is calculated, with no effort to determine absolute risk of disease. Finally, the risk calculation will only be attempted for PGS catalog entries reporting effects as beta values under "effect_weight".