gwas-prs

Calculate polygenic risk scores from 23andMe or AncestryDNA genotype files.

1.1k|238|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ClawBio/ClawBio --skill gwas-prs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gwas-prs
Source: https://github.com/ClawBio/ClawBio/tree/main/skills/gwas-prs
Command: npx skills add https://github.com/ClawBio/ClawBio --skill gwas-prs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the calculation and interpretation of polygenic risk scores (PRS) from direct-to-consumer genotype files, removing manual matching, weighting, and statistical conversion steps so users can quickly obtain trait-level risk estimates with provenance and reproducibility.

Core Features & Use Cases

  • PGS Catalog integration: Search the PGS Catalog, download harmonised scoring files, and use curated offline scores for fast demo runs.
  • Genotype parsing & matching: Parse 23andMe and AncestryDNA formats (including gzipped files), match rsIDs to scoring files, and compute dosage-weighted PRS.
  • Percentile estimation & safety: Estimate percentiles using curated reference mean/SD or allele-frequency-based variance, annotate risk categories, warn on low coverage or ancestry mismatch, and always keep genotype data local.
  • Reporting & reproducibility: Emit a structured report directory with a Markdown narrative, CSV score table, optional figures, commands.sh, environment.yml, and checksums for reproducible review.
  • Use cases: Individual risk checks for type 2 diabetes or BMI from a 23andMe file, batch scoring of curated traits for research demos, and integration with ancestry or pharmacogenomics skills for contextualised genomic reports.

Quick Start

Calculate my Type 2 diabetes PRS from this 23andMe file and save a Markdown report, CSV scores, and optional figures to the specified output directory.

Frequently Asked Questions about gwas-prs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate polygenic risk scores from my 23andMe raw data file?

You can calculate polygenic risk scores from 23andMe data by matching your genotypes to PGS Catalog harmonised scoring files and computing dosage-weighted PRS. The skill parses 23andMe formats and estimates trait percentiles against reference distributions.

Can I use AncestryDNA genotype files to compute polygenic risk scores?

Yes, you can use AncestryDNA genotype files to compute polygenic risk scores. The skill parses AncestryDNA formats, matches rsIDs to PGS Catalog scoring files, and calculates dosage-weighted scores to estimate trait-level risk percentiles.

What is a polygenic risk score and how does percentile estimation work?

A polygenic risk score aggregates genetic effects across variants to estimate trait-level risk. Percentile estimation maps your dosage-weighted score against curated reference mean/SD or allele-frequency-derived distributions to annotate your risk category.

How do I generate a reproducible PRS report with CSV scores and figures?

You generate a reproducible PRS report by emitting a structured directory containing a Markdown narrative, CSV score table, optional figures, commands.sh, and environment.yml. The skill also includes checksums to ensure reproducible review.

Does computing PRS from DTC genetic data require uploading my genotype file to a server?

No, computing PRS from DTC genetic data does not require uploading your file to a server. The skill always keeps genotype data local, performs offline scoring using curated files, and respects API rate limits only when searching the PGS Catalog.

What happens if my genotype file has low coverage or an ancestry mismatch with the PGS Catalog score?

If your genotype file has low coverage or an ancestry mismatch, the skill annotates risk categories and issues warnings. It estimates percentiles using curated reference distributions or allele-frequency-based variance to flag potential accuracy limitations.