Bio Population Genetics Selection Statistics

Scans genomes for natural selection with SFS tests (Tajima's D, Fay & Wu H, Zeng E, SweepFinder2 CLR), haplotype tests (iHS, nSL, XP-EHH, Rsb, H12), and differentiation (FST, PBS) using scikit-allel, selscan, and SweepFinder2. No single statistic separates selection from demography at one locus, so the deliverable is empirical genome-wide outliers plus multiple orthogonal signals, not an absolute cutoff. iHS detects incomplete sweeps and collapses to zero at fixation while XP-EHH catches fixed sweeps; iHS/nSL standardize within derived-allele-frequency bins but XP-EHH gets a genome-wide z-scor

9 stars 3 forksData & Analytics Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add hackernoon/cuttlefish-agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hackernoon/cuttlefish-agent-skills --skill bio-population-genetics-selection-statistics
Manual install
git clone --depth 1 https://github.com/hackernoon/cuttlefish-agent-skills.git /tmp/cuttlefish-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cuttlefish-agent-skills/plugins/data-science/skills/bio-population-genetics-selection-statistics ~/.claude/skills/bio-population-genetics-selection-statistics

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

## Version Compatibility

Reference examples tested with: scikit-allel 1.3+, numpy 1.26+, selscan 2.0+, SweepFinder2 1.0+.

Before using code patterns, verify installed versions match. If versions differ:
- Python: `pip show <package>` then `help(module.function)` to check signatures
- CLI: `<tool> --version` then `<tool> --help` to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed
package and adapt the example to match the actual API rather than retrying.

Version traps that change results, not just syntax: `allel.standardize_by_allele_count(score, aac, ...)` is for iHS and nSL (it bins by derived-allele count), while XP-EHH and iHH12 use plain genome-wide `allel.standardize(score)`; conflating them is a real bug. `allel.nsl(h)` takes no `pos`/`map_pos` (nSL is map-free by construction) whereas `allel.ihs(h, pos, map_pos=...)` distorts without a genetic map. selscan 2.0 adds `--unphased` for multilocus genotypes; selscan 1.x requires phased haplotypes. The single source of truth for versions is this block, not headings.

# Selection Statistics

**"Scan my population for signatures of natural selection"** -> Contrast each locus against the genome-wide neutral expectation that already carries the demographic history, using statistics that read complementary features of a sweep.
- Python: `allel.ihs()`, `allel.xpehh()`, `allel.nsl()`, `allel.garud_h()`, `allel.windowed_tajima_d()`, `allel.hudson_fst()` (scikit-allel)
Read the full skill on GitHub

Details

Skill name
bio-population-genetics-selection-statistics
Path
plugins/data-science/skills/bio-population-genetics-selection-statistics/SKILL.md
License
MIT
Repo updated
4 November 2026

FAQ

What does the Bio Population Genetics Selection Statistics skill do?

Scans genomes for natural selection with SFS tests (Tajima's D, Fay & Wu H, Zeng E, SweepFinder2 CLR), haplotype tests (iHS, nSL, XP-EHH, Rsb, H12), and differentiation (FST, PBS) using scikit-allel, selscan, and SweepFinder2. No single statistic separates selection from demography at one locus, so the deliverable is empirical genome-wide outliers plus multiple orthogonal signals, not an absolute cutoff. iHS detects incomplete sweeps and collapses to zero at fixation while XP-EHH catches fixed sweeps; iHS/nSL standardize within derived-allele-frequency bins but XP-EHH gets a genome-wide z-scor

How do I install the Bio Population Genetics Selection Statistics skill?

Claude Code plugin: /plugin marketplace add hackernoon/cuttlefish-agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bio Population Genetics Selection Statistics popular?

It lives in hackernoon/cuttlefish-agent-skills, which has 9 GitHub stars and 3 forks.

Related skills

AI Traffic Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for AI assistant referrals and generative search visibility; maintained in Open Analytics.

AI, LLMs & Agents

Analytics Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for GA4 event, key-event and User-ID tracking; maintained in Open Analytics.

Data & Analytics

Bio Admet Prediction

9

hackernoon/cuttlefish-agent-skills

Predicts ADMET properties using ADMETlab 3.0 (119 platform features, including 77 prediction models with modeled-endpoint uncertainty), ADMET-AI, DeepChem MolNet, and chemprop D-MPNN with explicit handling of OECD QSAR principles, applicability domain assessment, calibration, hERG/CYP/AMES endpoints, and PAINS / Lipinski / Ro5 / Veber / BBB druglikeness filters. Use when filtering compounds for drug-likeness, prioritizing leads by predicted safety, or building an in-house ADMET QSAR model.

AI, LLMs & Agents

Aeo Report

9

Lord1Egypt/RA-Skills

Fetch an AEO (Answer Engine Optimization) ranking / AI-visibility report for a user-supplied website from crawlproof.com. As of 2026-05-19 the target domain is a parked Railway deployment returning 404 on all paths, so the skill currently emits a service_unavailable result and…

Data & Analytics

Bio Population Genetics Linkage Disequilibrium

9

hackernoon/cuttlefish-agent-skills

Computes linkage disequilibrium (r2, D', composite Rogers-Huff r2), prunes correlated variants, clumps GWAS summary statistics to lead SNPs, and defines haplotype blocks with PLINK 1.9/2.0 and scikit-allel. r2 and D' answer different questions - r2 (= chi2/N) is the tagging and GWAS-power currency, D' marks observed recombination and is upward-biased for rare variants. PLINK 2.0 has no bare --r2 (split into --r2-phased and --r2-unphased); pruning (--indep-pairwise, genotype-blind) and clumping (--clump, p-value-aware) are distinct operations that are constantly confused. The clumping or fine-m

Data & Analytics

Amplitude Product Analytics MCP

9

Lord1Egypt/RA-Skills

Connect an MCP client to Amplitude's hosted MCP server for product analytics, charts, dashboards, experiments, cohorts, feature flags, Session Replay, feedback, and AI agent analytics with OAuth, US/EU region selection, progressive tool discovery, and safe write workflows.

Data & Analytics

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.