Agent skill

bio-clinical-databases-polygenic-risk

Calculate polygenic risk scores using PRSice-2, LDpred2, or PRS-CS from GWAS summary statistics. Use when predicting disease risk from genome-wide genetic variants.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-polygenic-risk --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 8 KB
Bundled scripts: yes
Path: skills/bio-clinical-databases-polygenic-risk/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: LDpred2 1.14+, PRSice-2 2.3+, numpy 1.26+, scipy 1.12+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters - CLI: `<tool> --version` then `<tool> --help` to confirm flags If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Polygenic Risk Scores **"Calculate polygenic risk scores for my cohort"** → Compute genome-wide risk scores from GWAS summary statistics and individual genotypes to predict disease susceptibility. - CLI: `PRSice_linux --base gwas.txt --target genotypes --out prs_results` - R: `bigsnpr::snp_ldpred2_auto()` for LDpred2 Bayesian PRS ## PRSice-2 Workflow **Goal:** Calculate polygenic risk scores from GWAS summary statistics using clumping and thresholding. **Approach:** Run PRSice-2 with GWAS summary stats and target genotypes, applying LD clumping and multiple p-value thresholds. ### Basic PRS Calculation ```bash # PRSice-2

What's inside
Steps it walks through
  1. Version Compatibility
  2. PRSice-2 Workflow
  3. Basic PRS Calculation
  4. PRSice-2 with Covariates
  5. GWAS Summary Statistics Format
  6. LDpred2 (R)
  7. Setup and Run
  8. LDpred2 Grid Model
  9. PRS-CS
  10. Score Normalization
  11. Risk Stratification
  12. PGS Catalog Integration
  13. Validation Metrics
  14. Related Skills
Ships with 3 files
  • examples/ldpred2_analysis.R
  • examples/prsice2_workflow.sh
  • usage-guide.md
Commands it runs
PRSice-2 with clumping and thresholding
PRSice_linux \
PRS-CS with external LD reference
python PRScs.py \
Score with plink
plink --bfile target \
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-clinical-databases-polygenic-risk skill do?

Calculate polygenic risk scores using PRSice-2, LDpred2, or PRS-CS from GWAS summary statistics. Use when predicting disease risk from genome-wide genetic variants.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-polygenic-risk --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going