From clawbio
Compares a user's 23andMe genome against George Church's PGP-1 reference and estimates ancestry composition using IBS and EM admixture. Useful for genomic data analysis.
How 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.
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 profilenpx claudepluginhub clawbio/clawbio --plugin clawbioSearches 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.
Queries 20+ bioinformatics databases via gget CLI or Python — gene info (Ensembl), BLAST, AlphaFold structures, Enrichr enrichment, and more. Useful for quick interactive lookups of genes, sequences, structures, or pathways.
Generates a personalised nutrition report from consumer genetic data (23andMe, AncestryDNA, VCF) by interrogating nutritionally-relevant SNPs and producing actionable dietary guidance, all computed locally.