dnasp
БесплатноЗапускает вложенные скриптыНе проверенPopulation genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods. Use for diversity, neutrality statistics, linkage…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
DnaSP
Trigger
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.
Scope
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.
Core Capabilities
- Polymorphism: S, Eta, haplotypes, Hd, VarHd, pi, k, theta-W, G+C, Tajima's D, Fu and Li D*/F*, Ramos-Onsins and Rozas R2.
- LD: D, D', R2, ZnS, Za, ZZ and original-column pair labels; recombination Rm.
- Mismatch distribution with unbiased variance over unordered pairs and Sokal & Rohlf corrected CV; Harpending (1994) raggedness; Model 1 diallelic InDel diversity.
- Divergence and Hudson Fst between populations; outgroup Fu and Li D/F.
- Two-locus HKA, McDonald-Kreitman, Nei-Gojobori Ka/Ks, Fu's Fs and SFS.
- Opt-in coalescent P-values (
--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. - Ts/Tv, codon counts/RSCU including stops, named per-sequence ENC and its synonymous-codon-weighted summary.
- Sliding windows mirror DnaSP's Gaps in Sliding Window = considered mode: starts advance from 1 by the step, capped at alignment length; ends are capped there too, and the first window reaching the end terminates the loop. Empty windows are retained. The not-considered mode is not implemented.
- Window midpoints are the alignment position of the ceil(net/2)-th gap-free column, or the window start if none exists; exported in TSV, JSON and report and used for the plot. VCF windows use retained SNP indices, including the final partial window.
- Raw per-site Fay-Wu H and theta-L minus theta-W; normalised Hn/ZE are absent.
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.
Workflow
- Confirm the input is pre-aligned and identify the scientific comparison: ingroup, explicit outgroup, populations, coding interval and genetic code. Do not infer an outgroup from record order or silently select a code.
- Use the full repository checkout or supplied validation code snapshot so the shared reproducibility helpers are available. Install the declared dependencies.
- Choose an empty output directory. For alignment input use
--input; for VCF use--vcf; for two-locus HKA alone use--hka-file --analysis hka. - Select actual implemented names with
--analysis. Supply--outgroup,--input2or--pop-filewhen needed. Use--genetic-code vertebrate-mitochondrialfor the matching mitochondrial table. The default is standard. Coding intervals must be preselected and divisible by three. - Execute the CLI. An explicit analysis that cannot run returns a non-zero code.
--analysis allis opportunistic: inspect its completed/skipped manifest. - Read stderr diagnostics,
report.mdandreproducibility/manifest.json. Distinguish a failed analysis, an undefined statistic and an excluded site. - Interpret the chosen statistic within its documented assumptions. Do not turn
a signed value or a threshold into a significance claim; only
--n-simP-values assess significance, and a rejection does not by itself identify its cause. - Retain the input archive, settings, hashes and environment with the report.
commands.shreplays 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. - For Windows GUI comparison, follow the separate validation checklist and capture raw DnaSP output. Source-derived expectations are not GUI observations.
Example Output
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_run
The synthetic demo contains 10 ingroup sequenc
Установить dnasp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dnasp?
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.
Как установить скилл dnasp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dnasp запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic