Compare your genome to George Church (PGP-1) and estimate ancestry composition via IBS and EM admixture
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