genome-compare

Compute identity-by-state similarity between 23andMe genotype files and reference genomes.

1.1k|238|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ClawBio/ClawBio --skill genome-compare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genome-compare
Source: https://github.com/ClawBio/ClawBio/tree/main/skills/genome-compare
Command: npx skills add https://github.com/ClawBio/ClawBio --skill genome-compare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comparing personal genotype files to public references and estimating ancestry typically requires multiple bioinformatics tools, reference panels, and custom scripts; this skill collapses that workflow into a single reproducible pipeline that runs locally and preserves user privacy.

Core Features & Use Cases

  • Pairwise IBS comparison: Compute identity-by-state (IBS) between a user's 23andMe genotype and George Church's public PGP-1 23andMe data, including SNP overlap counts and concordance.
  • Per-chromosome breakdown: Report IBS statistics and overlap counts for each chromosome with visual summaries.
  • Ancestry estimation: Estimate continental ancestry proportions (AFR, EUR, EAS, SAS, AMR) using an EM admixture algorithm on ancestry-informative markers (AIMs).
  • Reproducible reporting: Produce a markdown report, structured JSON results, figures, and reproducibility bundle (commands and checksums) for auditability.
  • Use Case: Rapidly assess how similar your 23andMe data is to a public reference and obtain an interpretable ancestry composition for research or demo purposes.

Quick Start

Compare my 23andMe file to George Church's reference and generate a reproducible report with IBS metrics, per-chromosome plots, and ancestry estimates.

Frequently Asked Questions about genome-compare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare my 23andMe genotype file to a reference genome for similarity?

Compute pairwise identity-by-state similarity between your 23andMe file and a reference genome to quantify genetic relatedness via SNP overlap counts and concordance metrics across all chromosomes.

Can I estimate continental ancestry proportions from 23andMe data using ancestry-informative markers?

Estimate continental ancestry proportions (AFR, EUR, EAS, SAS, AMR) from 23andMe genotype data by applying an EM admixture algorithm to an ancestry-informative markers frequency panel.

What is identity-by-state (IBS) and how does it measure genetic relatedness?

Identity-by-state (IBS) is a metric that quantifies genetic relatedness by comparing shared SNP alleles between two genomes, outputting concordance statistics and per-chromosome breakdowns.

Does this genome comparison workflow require parsed rsID genotype inputs in 23andMe format?

Yes, the workflow requires parsed rsID genotype inputs in 23andMe format, a reference 23andMe file, and an AIMs frequency panel to output IBS metrics, per-chromosome stats, and ancestry proportions.

How do I generate a reproducible report with IBS metrics and ancestry estimates?

Run the genome comparison pipeline to produce a markdown report, structured JSON results, figures, and a reproducibility bundle containing commands and checksums for full auditability.

Are there limitations when comparing personal genotype files to public references like PGP-1?

Comparing personal genotype files to public references like PGP-1 is limited to research and demo workflows, requiring overlapping rsID markers and relying on local execution to preserve user privacy.