genome-match

Score genetic compatibility across all male-female pairings in a Genomebook generation

658 stars

Best use case

genome-match is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Score genetic compatibility across all male-female pairings in a Genomebook generation

Teams using genome-match should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/genome-match/SKILL.md --create-dirs "https://raw.githubusercontent.com/ClawBio/ClawBio/main/skills/genome-match/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/genome-match/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How genome-match Compares

Feature / Agentgenome-matchStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Score genetic compatibility across all male-female pairings in a Genomebook generation

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 💞 GenomeMatch

## Purpose

Score genetic compatibility between all male-female pairings in a Genomebook
generation. The engine evaluates heterozygosity advantage, disease carrier risk,
and trait complementarity to rank optimal mating pairs for the next generation.

## How It Works

1. **Load genomes** for a target generation from `GENOMEBOOK/DATA/GENOMES/`.
2. **Compute pairwise compatibility** for every M x F combination:
   - **Heterozygosity score (40%)**: fraction of loci where offspring would be
     heterozygous (genetic diversity advantage).
   - **Trait complementarity (40%)**: reward balanced trait combinations and high
     average trait values across the pair.
   - **Disease risk penalty (20%)**: flag pairs where both parents carry recessive
     disease alleles (25% affected offspring risk per flagged condition).
3. **Rank all pairings** by composite score (0.0 to 1.0).
4. **Select non-overlapping mating pairs** via greedy selection from the top of
   the ranked list (each individual mates at most once per generation).

## Input

- `GENOMEBOOK/DATA/GENOMES/*.genome.json`
- `GENOMEBOOK/DATA/disease_registry.json`

## Output

- Ranked compatibility table (all M x F pairings)
- Selected mating pairs for the next generation

## CLI Usage

```bash
# Score all pairings for generation 0
python skills/genome-match/genome_match.py

# Score a specific generation
python skills/genome-match/genome_match.py --generation 1

# Demo mode
python skills/genome-match/genome_match.py --demo

# Limit output to top N pairings
python skills/genome-match/genome_match.py --top 10
```

## Output Format

```
Rank          Male x Female              Score   Het   Comp   Risk  Flags
   1      einstein-g0 x curie-g0         0.8234  0.650  0.821  0.000  --
   2      darwin-g0   x franklin-g0      0.7891  0.600  0.790  0.000  --
...

SELECTED MATING PAIRS (generation 0 -> 1):
  Albert Einstein x Marie Curie  (compat: 0.8234)
  Charles Darwin x Rosalind Franklin  (compat: 0.7891)
```

Related Skills

genome-compare

658
from ClawBio/ClawBio

Compare your genome to George Church (PGP-1) and estimate ancestry composition via IBS and EM admixture

wes-clinical-report-es

658
from ClawBio/ClawBio

Generates professional clinical PDF reports in Spanish from WES (Whole Exome Sequencing) data with clinical interpretation, pharmacogenomic alerts, and follow-up recommendations.

wes-clinical-report-en

658
from ClawBio/ClawBio

Generates professional clinical PDF reports in English from WES (Whole Exome Sequencing) data with clinical interpretation summary, pharmacogenomic alerts, and follow-up recommendations.

vcf-annotator

658
from ClawBio/ClawBio

Annotate VCF variants with VEP, ClinVar, gnomAD frequencies, and ancestry-aware context. Generates prioritised variant reports.

variant-annotation

658
from ClawBio/ClawBio

Annotate VCF variants with Ensembl VEP REST, ClinVar significance, gnomAD/population frequency context, and prioritized variant ranking.

ukb-navigator

658
from ClawBio/ClawBio

Semantic search across UK Biobank's 12,000+ data fields and publications — find the right variables for your research question.

target-validation-scorer

658
from ClawBio/ClawBio

Evidence-grounded target validation scoring with GO/NO-GO decisions for drug discovery campaigns

struct-predictor

658
from ClawBio/ClawBio

Protein structure prediction with Boltz-2. Accepts YAML inputs (single protein or multi-chain complex), runs boltz predict, extracts per-residue pLDDT and PAE confidence, and writes a markdown report with figures.

soul2dna

658
from ClawBio/ClawBio

Compile SOUL.md character profiles into synthetic diploid genomes (.genome.json) via trait-to-allele mapping

seq-wrangler

658
from ClawBio/ClawBio

Sequence QC, alignment, and BAM processing. Wraps FastQC, BWA/Bowtie2, SAMtools for automated read-to-BAM pipelines.

scrna-orchestrator

658
from ClawBio/ClawBio

Local Scanpy pipeline for single-cell RNA-seq QC, optional doublet detection, clustering, marker discovery, optional CellTypist annotation, optional latent downstream mode from integrated.h5ad/X_scvi, and optional dataset-level plus within-cluster contrastive marker analysis from raw-count .h5ad or 10x Matrix Market input.

scrna-embedding

658
from ClawBio/ClawBio

Local scVI/scANVI-based single-cell latent embedding and batch-aware integration from raw-count .h5ad or 10x Matrix Market input, with stable integrated AnnData export for downstream latent analysis.