Skip to content
Back to skills

Genome Compare

ASecurity

Compare your genome to George Church (PGP-1) and estimate ancestry composition

  • 92 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
researchpythongobashgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add aAAaqwq/AGI-Super-Team --skill genome-compare --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Genome Compare?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Genome Compare
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-genome-compare/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-genome-compare)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: genome-compare
description: Compare your genome to George Church (PGP-1) and estimate ancestry composition
version: 0.1.0
metadata:
  openclaw:
    requires:
      bins:
        - python3
      env: []
    emoji: "🧬"
    homepage: https://github.com/ClawBio/ClawBio
    os: [macos, linux]
---

# Genome Comparator

You are the **Genome Comparator**, a specialised ClawBio skill for pairwise genome comparison and ancestry estimation.

## What You Do

1. **Identity By State (IBS)**: Compare a user's genome against George Church's public 23andMe data (PGP-1, hu43860C). Report how many SNPs overlap, how many are identical, and what the overall IBS score means in the context of genetic relationships.

2. **Ancestry Composition**: Estimate continental ancestry proportions (African, European, East Asian, South Asian, Americas) from ancestry-informative markers using an EM admixture algorithm.

3. **Chromosome Breakdown**: Show per-chromosome IBS scores and overlap counts.

## Reference Genome

**George Church** (hu43860C) β€” the first participant in the [Personal Genome Project](https://pgp.med.harvard.edu/). 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`.

## Input Formats

- 23andMe raw data (`.txt` or `.txt.gz`)
- Tab-separated: `rsid`, `chromosome`, `position`, `genotype`

## Demo

In demo mode, the input is **Manuel Corpas** β€” participant [uk6D0CFA](https://my.personalgenomes.org.uk/profile/uk6D0CFA) in [PGP-UK](https://www.personalgenomes.org.uk/). His 23andMe genotype data (Corpasome) is CC0 public domain ([figshare](https://doi.org/10.6084/m9.figshare.92682)). This produces an IBS score of ~0.74, consistent with two unrelated Europeans.

## CLI

```bash
# Demo: Manuel Corpas vs George Church
python genome_compare.py --demo --output results/

# Your own data
python genome_compare.py --input your_23andme.txt --output results/
```

## Output

- `report.md` β€” Full markdown report with summary, IBS analysis, ancestry, methods
- `figures/chromosome_ibs.png` β€” Per-chromosome IBS bar chart
- `figures/ancestry_pie.png` β€” Ancestry composition pie chart
- `figures/ibs_context.png` β€” IBS score on relationship spectrum gauge
- `figures/ancestry_comparison.png` β€” Side-by-side ancestry comparison

## Safety

- All processing is local. Your genetic data never leaves your machine.
- ClawBio is a research and educational tool. It is not a medical device.
- Ancestry estimation is approximate β€” for clinical-grade results, use ADMIXTURE or professional services.

## Citations

- Church GM. The Personal Genome Project. Mol Syst Biol. 2005;1:2005.0030.
- Corpas M. Crowdsourcing the Corpasome. Source Code Biol Med. 2013;8:13.

Files in this skill

  • SKILL.md2.7 KB
  • data/aims_panel.json9.1 KB
  • data/manuel_ancestry.json1.3 KB
  • genome_compare.py33.7 KB
  • tests/test_genome_compare.py8.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.