claw-ancestry-pca
Ancestry decomposition PCA against the Simons Genome Diversity Project
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill claw-ancestry-pca --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 🦖 Ancestry Decomposition PCA Place your study cohort in global genetic context by computing a joint PCA against the Simons Genome Diversity Project (SGDP) — 345 samples from 164 populations spanning every inhabited continent. ## What it does 1. Takes your VCF + population map as input 2. Finds common variants between your cohort and the SGDP reference panel (bundled) 3. Runs PLINK PCA on the merged dataset 4. Separates your cohort from SGDP reference samples 5. Matches SGDP samples to their population labels (164 populations) 6. Generates a publication-quality multi-panel figure: - **Panel A**: PC1 vs PC2 — main population structure of your cohort - **Panel B**: PC3 vs PC2 with regional groupings and confidence ellipses - **Panel C**: PC3 vs PC1 with language/cultural groupings - **Panel D**: Global context — your samples (circles) vs SGDP (triangles) 7. Produces a markdown report with variance explained, population assignments, and reproducibility bundle ## Why this exists If you ask ChatGPT to "run a PCA against a global reference panel," it will: - Not know which reference panel to use - Hallucinate PLINK flags for merging datasets with different variant sets - Skip IBD remov
- What it does
- Why this exists
- Reference Panel
- Usage
- Demo (works out of the box)
- Example Output
- Interpretation Guide
- Citation
python ancestry_pca.py \ python ancestry_pca.py --demo --output demo_report
What does the claw-ancestry-pca skill do?
Ancestry decomposition PCA against the Simons Genome Diversity Project
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill claw-ancestry-pca --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.
