Statistical Power
spacering-net/codeg
Sample-size and statistical power calculations for planning studies.
Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.
$ npx skills add ClawBio/ClawBio --skill dnasp -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ClawBio/ClawBio dnasp --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dnasp .claude/skills/dnasp && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .claude/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ClawBio/ClawBio/tree/main/skills/dnaspType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ClawBio/ClawBio --skill dnasp -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ClawBio/ClawBio dnasp --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/dnasp .agents/skills/dnasp && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .agents/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ClawBio/ClawBio --skill dnasp -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ClawBio/ClawBio dnasp --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/dnasp .cursor/skills/dnasp && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .cursor/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ClawBio/ClawBio.git --path skills/dnasp--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ClawBio/ClawBio --skill dnasp -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ClawBio/ClawBio dnasp --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/dnasp .gemini/skills/dnasp && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .gemini/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ClawBio/ClawBio dnaspInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ClawBio/ClawBio --skill dnasp -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/dnasp .github/skills/dnasp && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .github/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ClawBio/ClawBio --skill dnasp -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ClawBio/ClawBio dnasp --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/dnasp .opencode/skills/dnasp && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dnasp" agent skill from https://github.com/ClawBio/ClawBio/tree/main/skills/dnasp into .opencode/skills/dnasp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dnasp", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dnaspPopulation genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.
Dnasp is an agent skill from ClawBio/ClawBio. Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods. Use for diversity, neutrality statistics, linkage disequilibrium, InDel polymorphism, divergence, MK, Ka/Ks and codon usage; not alignment, phasing or clinical interpretation.
Its SKILL.md is about 5.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 55 other files (for example `CONTRIBUTORS.md`, `INTENTS.json` and `dnasp.py`).
It sits in Data & Analytics, covering Statistics. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit cea08d1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dnasp loads about 5.1k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 1,717 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ClawBio/ClawBio at commit cea08d1, republished under its MIT licence (© ClawBio). 1,717 words, ~5,097 tokens.
.claude/skills/dnasp/SKILL.md (or your agent's skills folder). This skill also uses 50 other files; get the full folder from GitHub.Fire when a user requests population-genetic analysis of aligned DNA, a supported
VCF, or a DnaSP-compatible statistic listed below. Do NOT fire for sequence
alignment, read mapping, haplotype phasing, clinical advice, or significance
tests other than the coalescent P-values --n-sim gives for D, R2 and Fs.
Analyse genetic variation in supplied alignments using 16 selected DnaSP methods. This is not a complete replacement for the DnaSP GUI or all its analysis modes. Read the statistical reference for definitions, exclusions, source conventions, file formats, examples and release validation evidence.
--n-sim) for Tajima's D, R2 and Fu's Fs under a
null with no recombination. A statistic whose simulated null takes one value
(R2 with two sequences; Fu's Fs with two sequences given S; Tajima's D below
four, its variance being zero at three) is reported without a P-value. A seed
replays only on the same Python.Fu and Li D*/F* and outgroup D/F mirror Data > Segregating Sites/Mutations =
Segregating sites, using DnaSP's v5-style panels. The rp49 Eta-setting D*/F*
figures can be reproduced by substituting eta for S, but this is not a general
conversion: FULI.vb also changes singleton and external-mutation capping
(SingleMut and ExternaMut subtraction). No Eta-mode switch is implemented.
--input; for VCF
use --vcf; for two-locus HKA alone use --hka-file --analysis hka.--analysis. Supply --outgroup,
--input2 or --pop-file when needed. Use --genetic-code vertebrate-mitochondrial for the matching mitochondrial table. The default is
standard. Coding intervals must be preselected and divisible by three.--analysis all is opportunistic: inspect its completed/skipped manifest.report.md and reproducibility/manifest.json.
Distinguish a failed analysis, an undefined statistic and an excluded site.--n-sim P-values
assess significance, and a rejection does not by itself identify its cause.commands.sh replays on the recorded host/code path into a new output folder;
moving a run requires the code and dependencies as well as its input archive.python skills/dnasp/dnasp.py --demo --output new_demo_run
python skills/dnasp/dnasp.py --input alignment.fas --analysis polymorphism,ld --output new_run
python skills/dnasp/dnasp.py --input coding.fas --outgroup OutSeq --genetic-code vertebrate-mitochondrial --analysis mk,kaks,codon --output new_coding_run
python skills/dnasp/dnasp.py --vcf samples.vcf --analysis polymorphism,sfs,fufs --output new_vcf_runThe synthetic demo contains 10 ingroup sequences, one outgroup and 300 sites:
| Quantity | Demo value |
|---|---|
| S / haplotypes | 5 / 8 |
| Hd / Tajima D | 0.9556 / 0.6789 |
| MK Pn / Ps / Dn / Ds | 2 / 3 / 2 / 1 |
| MK alpha | 0.6667 |
| Ka / Ks / omega | 0.010239 / 0.030291 / 0.3380 |
| Ts / Tv | 4 / 1 |
The demo runs 15 modules; HKA uses a separate two-locus input. The regression suite, rather than the printed banner alone, checks the expected figures.
output/
report.md
results.tsv # polymorphism and windows
summary.json # module summaries, window midpoints, named ENC/null
result.json # ClawBio envelope: headline summary, summary.json payload, artifacts
ld_pairs.tsv # when LD pairs exist
figures/ # when matplotlib is available
reproducibility/
inputs/
commands.sh
environment.yml
manifest.json
checksums.sha256Python 3.10 or later. Core estimators use the standard library. Plotting uses
matplotlib; the repository's shared reproducibility package also imports NumPy,
pandas and OpenTelemetry. Use environment.yml or the validation package's
pinned requirements. The Windows validation runner targets Python 3.12.
Four values compared with DnaSP 6.12.03 are unresolved. They come from the DnaSP
VCF examples with a single variant site: the phased diploid Scaffold_2
(n = 20) and the haploid Region_MSA_2 (n = 10). The skill follows the DnaSP 6
source code and the result files shipped with DnaSP 6.0.60; the captures cannot
tell whether DnaSP's build or its analysis route changed.
| Statistic | Skill | DnaSP 6.0.60 | DnaSP 6.12.03 |
|---|---|---|---|
| Pi, Scaffold_2 | 0.1 | 0.1 | n.a. |
| R2, Scaffold_2 | 0.217945 | 0.217945 | 0.259808 |
| Pi, Region_MSA_2 | 0.2 | 0.2 | n.a. |
| R2, Region_MSA_2 | 0.3 | 0.3 | 0.346410 |
Differences of setting or definition, not errors:
--n-sim): the null has no recombination, so for a
recombining region a low Fu's Fs P-value may reflect recombination rather than
growth (Tajima's D and R2 are conservative there). DnaSP 6 offers a
recombination setting; DnaSP 6's own one-locus module conditions on theta only,
fixed S being its v5 routine; and DnaSP reports the one-tailed P(Sim <= Obs),
where this skill reports twice the smaller tail for Tajima's D.Current version 0.6.1. Every change that alters a result, and the version compared
with DnaSP 6.12.03 (0.5.2), is recorded in docs/version_history.md.
All sequence analysis and output remain local. ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions.
The agent selects documented inputs/options, executes the skill and explains reported results. The code computes the statistics. Neither the agent nor the skill may fabricate GUI validation, P-values or missing results.
CLI alias: dnasp. Use --analysis for module selection, not invented flags
such as --pi, --kaks or --tajima. The repository dispatcher permits the
implemented options, including VCF, populations and genetic-code selection.
Route here when the user asks for a statistic this skill computes (for example
nucleotide or haplotype diversity, Tajima's D, Fu and Li's tests, Fu's Fs,
McDonald-Kreitman, Ka/Ks, HKA, the mismatch distribution, InDel polymorphism or
codon usage bias) on an aligned FASTA or NEXUS file or a multi-sample VCF.
INTENTS.json publishes the dnasp aliases to ClawBio's intent planner and
plans the demo only when the user explicitly asks for a demo; a real analysis
needs the user's file, and --analysis selects modules other than the default
polymorphism summary.
phylogenetics-builder aligns with MAFFT, MUSCLE and other aligners. Versions
of that skill that save their alignment write alignment/aligned.fasta; use
that untrimmed file rather than the trimAl output, because trimming removes
gapped or poorly aligned columns and so changes S, pi and the InDel results.
Otherwise align the sequences separately and pass the aligned FASTA.fastreer. Builds distance trees from the same multi-sample VCF: run this
skill for diversity and neutrality statistics, then fastreeR for sample
relationships.claw-ancestry-pca. Gives population-structure context before samples are
grouped in a --pop-file for Fst or divergence.equity-scorer. Reports HEIM heterozygosity and Fst from VCF or ancestry
data with its own estimators; this skill's Hudson Fst and diversity statistics
follow DnaSP 6, so the two sets of values are not interchangeable.report.md, summary.json, result.json and
the TSV files; the TSV does not contain every module's results.Recheck source/help-derived regression cases and the 170 historical comparison fixtures after changes to formulas, masks or parsers. Review GUI differences when the target DnaSP build or analysis mode changes. Keep this file, the method reference, CLI metadata, version and catalogue consistent. New Windows GUI observations must be reviewed before changing published concordance counts.
© ClawBio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 50 other files in skills/dnasp of ClawBio/ClawBio.
Open the folder on GitHubat commit cea08d1
Dnasp next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dnasp this skillClawBio/ClawBio | 1.2k | — | ~5.1k | Automated safety check: Pass | MIT | |
| Statistical Powerspacering-net/codeg | 3.8k | 1 repos | ~3.6k | Automated safety check: Notes | MIT | |
| Statistical Data Analysislingzhi227/agent-research-skills | 383 | — | ~886 | Automated safety check: Pass | None | |
| Q-EDA Exploratory AnalysisTyrealQ/q-skills | 108 | — | ~1.1k | Automated safety check: Pass | MIT | |
| RoundingRConsortium/pharma-skills | 117 | — | ~3.8k | Automated safety check: Pass | MIT | |
| PyMC Bayesian Modelingdavila7/claude-code-templates | 32k | 12 repos | ~3.9k | Automated safety check: Pass | MIT |
spacering-net/codeg
Sample-size and statistical power calculations for planning studies.
lingzhi227/agent-research-skills
Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.
TyrealQ/q-skills
Runs exploratory data analysis on tabular data after you confirm each column's measurement level, then writes CSV tables and a narrative summary.
RConsortium/pharma-skills
Audit R code that prepares CSR/TLF statistics for SAS-compatible rounding compliance (ties away from zero, round-once-at-display, fixed trailing-zero precision).
davila7/claude-code-templates
Builds, fits, checks and compares Bayesian models in PyMC, from priors and NUTS sampling to variational inference, LOO and WAIC comparison, and diagnostics.
davila7/claude-code-templates
Fits and evaluates survival models with scikit-survival: Cox models, Random Survival Forests, boosting, survival SVMs, concordance index, Brier score and competing risks.
ClawBio/ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
ClawBio/ClawBio
Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.
ClawBio/ClawBio
Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.
ClawBio/ClawBio
Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.
ClawBio/ClawBio
Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.
ClawBio/ClawBio
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
Categories
Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods. Dnasp is an agent skill from ClawBio/ClawBio. Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.
Dnasp fits situations like: neutrality statistics; linkage disequilibrium; inDel polymorphism; ka/Ks and codon usage.
Run `npx skills add ClawBio/ClawBio --skill dnasp -a claude-code`. Or copy the skill folder (skills/dnasp in ClawBio/ClawBio) into .claude/skills/dnasp in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ClawBio/ClawBio --skill dnasp -a codex`. Or copy the skill folder (skills/dnasp in ClawBio/ClawBio) into .agents/skills/dnasp in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClawBio/ClawBio --skill dnasp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dnasp, .gemini/skills/dnasp, .github/skills/dnasp and .opencode/skills/dnasp in your project.
Going by SKILL.md and its folder, Dnasp needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dnasp is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.1k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dnasp: Statistical Power (spacering-net/codeg, 3.8k stars), Statistical Data Analysis (lingzhi227/agent-research-skills, 383 stars), Q-EDA Exploratory Analysis (TyrealQ/q-skills, 108 stars) and Rounding (RConsortium/pharma-skills, 117 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,152 GitHub stars. The repository holds 99 skills in this directory. The repository was last updated on October 6, 2026.
Source: ClawBio/ClawBio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.