Population genetics hwe

From XuShuwenn/RedAct · View interactive version

Population genetics hwe is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Calculate Hardy-Weinberg equilibrium expected genotype counts and heterozygosity from allele counts.

How to use this skill

Skill file

Hardy-Weinberg Equilibrium Calculation

When to Use

Input Format

File /root/input.txt:

Output Format

To /root/output.txt:

Expected AA: X
Expected Aa: X
Expected aa: X
Expected heterozygosity: X.XXXX
Observed heterozygosity: X.XXXX

Round to 4 decimal places.

Tips

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.