Agent skill

claw-ancestry-pca

Ancestry decomposition PCA against the Simons Genome Diversity Project

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
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.

Facts
Files in the skill folder: 4
SKILL.md size: 5 KB
Bundled scripts: yes
Version: 0.1.0
Declared author: Manuel Corpas
Path: skills/claw-ancestry-pca/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

# 🦖 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's inside
Steps it walks through
  1. What it does
  2. Why this exists
  3. Reference Panel
  4. Usage
  5. Demo (works out of the box)
  6. Example Output
  7. Interpretation Guide
  8. Citation
Ships with 3 files
  • ancestry_pca.py
  • tests/__init__.py
  • tests/test_ancestry_pca.py
Commands it runs
python ancestry_pca.py \
python ancestry_pca.py --demo --output demo_report
More from OpenClaw-Medical-Skills
All skills →
About this skill
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.

Keep going