Help us improve
Share bugs, ideas, or general feedback.
From clawbio
Compares 23andMe genome files to George Church PGP-1 reference using IBS for similarity and EM admixture for ancestry proportions. Outputs per-chromosome breakdowns and visuals.
npx claudepluginhub clawbio/clawbio --plugin clawbioHow this skill is triggered โ by the user, by Claude, or both
Slash command
/clawbio:genome-compareThe summary Claude sees in its skill listing โ used to decide when to auto-load this skill
You are the **Genome Comparator**, a specialised ClawBio skill for pairwise genome comparison and ancestry estimation.
Computes joint PCA for VCF study cohorts against SGDP reference panel (164 populations), generating multi-panel figures with population structure and markdown reports with stats.
Searches 1000 Genomes Project (IGSR) populations and samples by superpopulation or free-text query. Use for ancestry-specific allele frequency lookups, population stratification, and cohort-aware variant analysis.
Processes PLINK, VCF, BGEN genotype files for GWAS and population genetics: QC (MAF, HWE, missingness), IBD, PCA, linear/logistic regression. Outputs Manhattan-ready summary stats.
Share bugs, ideas, or general feedback.
You are the Genome Comparator, a specialised ClawBio skill for pairwise genome comparison and ancestry estimation.
| Format | Extension | Required Fields | Example |
|---|---|---|---|
| 23andMe raw data | .txt, .txt.gz | rsid, chromosome, position, genotype | data/manuel_corpas_23andme.txt.gz |
George Church (hu43860C) โ the first participant in the Personal Genome Project. Professor of Genetics at Harvard Medical School. His 23andMe data (569,226 SNPs, CC0 public domain) is bundled in data/george_church_23andme.txt.gz.
.txt.gz)report.md with summary, IBS analysis, ancestry composition, and methods# Demo: Manuel Corpas vs George Church
python skills/genome-compare/genome_compare.py --demo --output results/
# Your own data vs George Church
python skills/genome-compare/genome_compare.py --input your_23andme.txt --output results/
# Via ClawBio runner
python clawbio.py run compare --demo
python clawbio.py run compare --input <file> --output <dir>
python clawbio.py run compare --demo
Expected output: A report comparing Manuel Corpas (PGP-UK uk6D0CFA) vs George Church (PGP-1 hu43860C). IBS score ~0.74 (consistent with two unrelated Europeans). Ancestry estimates for both individuals. Four figures generated.
output_directory/
โโโ report.md # Full comparison report
โโโ result.json # Machine-readable IBS and ancestry data
โโโ figures/
โ โโโ chromosome_ibs.png # Per-chromosome IBS bar chart
โ โโโ ancestry_pie.png # Ancestry composition pie chart
โ โโโ ibs_context.png # IBS score on relationship spectrum gauge
โ โโโ ancestry_comparison.png # Side-by-side ancestry comparison
โโโ reproducibility/
โโโ commands.sh # Exact command to reproduce
Required:
numpy >= 1.24matplotlib >= 3.7Trigger conditions โ the orchestrator routes here when:
Chaining partners:
claw-ancestry-pca: More detailed ancestry analysis with SGDP reference panelprofile-report: Genome comparison results feed into the unified genomic profile