Hardy weinberg hwe

From XuShuwenn/RedAct · View interactive version

Hardy weinberg hwe is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Compute expected genotype counts and heterozygosity under Hardy–Weinberg equilibrium from biallelic genotype counts and produce a correctly formatted result.

How to use this skill

Skill file

Hardy–Weinberg Equilibrium (HWE) from Genotype Counts

Skill for computing expected genotype counts and heterozygosity under HWE given genotype counts for a biallelic locus.

When to Use

Core Workflow

  1. Parse Inputs
  1. Compute Allele Frequencies
  1. Compute HWE Expectations
  1. Compute Heterozygosity
  1. Rounding and Output

Verification

Common Pitfalls

Optional Script Usage

Success Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.