phylogenetics
Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree…
Skill by K-Dense-AI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/k-dense-ai-phylogenetics
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/phylogenetics
What's inside
- Skill name
phylogenetics- Description
- Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein families, and cautiously interpreted dated phylogenies.
- License
- MIT
- Compatibility
- Requires MAFFT and IQ-TREE 3 or FastTree executables. Optional tree summaries use Python 3.12 and ete3 3.1.3; rendering also needs PyQt5. Optional trimming needs trimAl. Network access is required for installation, not local inference.
- Metadata
- version: 1.5 · skill-author: Kuan-lin Huang · last-reviewed: 2026-10-01
- Instructions
- 168 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- iqtree_inference.md · references/
- phylogenetic_analysis.py · scripts/
SKILL.md (first lines)
# Phylogenetics ## When to use Use this workflow for an alignment of homologous loci or proteins, a gene tree, branch support, and an interpretable tree figure. Multi-locus partitioning, concordance factors, ancestral states and dating are covered in [IQ-TREE reference](references/iqtree_inference.md). A gene tree does not establish a species tree, transmission direction, or horizontal transfer by itself. Sampling dates alone do not justify a molecular clock. ## Versions and installation Reviewed against current official documentation on 2026-10-01. The executed smoke workflow used MAFFT **7.526**, IQ-TREE **3.1.4**, FastTree **2.2.0** and ETE3 **3.1.3** on Python 3.12. ETE3 remains deliberate for this helper; ETE4 is a separate API and is not a drop-in replacement. ETE3 imports `cgi`, removed in Python 3.13. The native executables are not Python packages. Illustrative installation commands; verify executable versions after installation: ```bash conda create -n phylo -c conda-forge -c bioconda mafft iqtree fasttree trimal conda activate phylo uv venv --python 3.12 .venv-phylo uv pip install --python .venv-phylo/bin/python ete3==3.1.3 numpy six # Optional rendering backend; it can require a working Qt platform plugin. uv pip install --python .venv-phylo/bin/python PyQt5 ``` The helper defaults to `iqtree3` and `FastTree`; use `--iqtree-bin iqtree2` for an existing IQ-TREE 2 installation, or `--fasttree-bin fasttree` if that is the installed name. Version 2 compatibility is source-checked, not runtime-tested in this refresh. All analyses are local; this skill invokes no HTTP API or remote inference endpoint. ## Workflow ### 1. Establish the biological input - Select homologs with appropriate taxon coverage; investigate paralogs, contamination and recombination before assuming one history describes all sites. - Use unique, whitespace-free FASTA IDs and keep a separate sample metadata table. The helper rejects empty/all-missing records and Newick punctuation in IDs. - Specify `--type nt` or `--type aa`. The helper sends `-st DNA` or `-st AA` to IQ-TREE and selects nucleotide/protein FastTree flags explicitly. - Coding DNA needs codon-aware alignment if using a codon model. Ordinary MAFFT nucleotide alignment does not preserve reading frames automatically. - Keep the original sequences, accession versions, filters, alignment and exact commands. Inspect alignment lengths, gaps, composition and taxon identities. ### 2. Align and inspect These MAFFT commands were exercised on small synthetic FASTA data: ```bash mafft --auto --thread 1 --inputorder sequences.fasta > aligned.fasta # L-INS-i: locally alignable homologs, typically small datasets. mafft --localpair --maxiterate 1000 --thread 1 --inputorder sequences.fasta > linsi.fasta # E-INS-i: homologs with large internal gaps. mafft --genafpair --maxiterate 1000 --thread 1 --inputorder sequences.fasta > einsi.fasta # FFT-NS-i (two refinement cycles), then FFT-NS-2 (progressive). mafft --retree 2 --maxiterate 2 --thread 1 --inputorder sequences.fasta > fftnsi.fasta mafft --retree 2 --maxiterate 0 --thread 1 --inputorder sequences.fasta > fftns.fasta ``` `auto` delegates the choice to MAFFT. Sequence count alone is not an accuracy criterion. Single-thread runs simplify reproducibility; MAFFT iterative refinement with multiple threads can produce different results between runs. Trimming is optional and must be justified by alignment quality, not assumed to improve every tree. The following trimAl command is documentation-checked and illustrative; trimAl was not installed for this review: ```bash trimal -in aligned.fasta -out trimmed.fasta -automated1 -fasta ``` Record retained columns/taxa and compare sensitivity to trimming. A failed trim must stop the trimming step; do not silently copy the untrimmed input under a “trimmed” filename. The bundled helper does not trim automatically. ### 3. Infer a tree Use the maintained helper instead of recreating subprocess wrappers. From the skill directory, with the executable names on `PATH`: ```bash python scripts/phylogenetic_analysis.py sequences.fasta --type nt --threads 1 \ --bootstrap 1000 --seed 42 --output-dir results --no-visualization # Use a reviewed alignment (including any explicit trimming) without realigning. python scripts/phylogenetic_analysis.py aligned.fasta --aligned --type nt \ --threads 1 --output-dir reviewed --no-visualization # Protein FastTree alternative; --threads applies to MAFFT/IQ-TREE, not FastTree. python scripts/phylogenetic_analysis.py proteins.fasta --type aa --fasttree \ --threads 1 --output-dir fast_protein --no-visualization ``` The standard IQ-TREE command uses `-m MFP` (ModelFinder including FreeRate models), `-B 1000` (UFBoot) and `--alrt 1000`. `-m TEST` remains supported but searches a narrower model set. Use `--model` for a scientifically justified fixed model. IQ-TREE checkpoints are preserved; `--redo` explicitly restarts and replaces results. Use a new output prefix when data or model assumptions change. FastTree uses `-nt -gtr -gamma` for DNA and `-lg -gamma` for proteins. Its search uses the CAT approximation before Gamma20 rescaling; it is not a full Gamma-model ML search. JTT is FastTree's protein default (no `-jtt` flag); nucleotide JC is selected by `-nt` without `-gtr`. FastTree defaults to **SH-like local support** in the **0–1** range, not UFBoot percentages. Use workload-based benchmarking, not a universal taxon threshold, to decide between inference tools. ### 4. Interpret support, rooting and outputs Read `.iqtree` and `.log`, not only the image. In the default combined test, IQ-TREE writes slash-delimited SH-aLRT/UFBoot labels; verify their order in the report. UFBoot >=95 and SH-aLRT >=80 are common screening thresholds, not proof of correctness or posterior probabilities. Do not apply a standard-bootstrap 70% rule to UFBoot. Model misspecification, alignment error and sampling can
From K-Dense-AI/scientific-agent-skills, MIT.
More from K-Dense-AI/scientific-agent-skills
- 0.699score
13c-metabolic-flux
K-Dense-AI
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
adaptyv
K-Dense-AI
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences, monitor laboratory progress…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
exploratory-data-analysis
K-Dense-AI
Performs bounded, local exploratory analysis of explicitly supported scientific files.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
openpiv
K-Dense-AI
Performs Particle Image Velocimetry (PIV) analysis with OpenPIV.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
citation-management
K-Dense-AI
Comprehensive citation management for academic research.
SkillAFreshness: A★ 54.4KClaude Code - 0.699score
parallel-web
K-Dense-AI
Uses Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
scientific-schematics
K-Dense-AI
Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
glycoengineering
K-Dense-AI
Analyzes and engineers protein glycosylation by scanning canonical N-glycosylation sequons, describing S/T-rich regions, checking curated glycan evidence, and…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
venue-templates
K-Dense-AI
Prepares journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
uncertainty-and-units
K-Dense-AI
Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
ginkgo-cloud-lab
K-Dense-AI
Guides protocol selection, input preparation, pricing checks, and browser ordering on Ginkgo Bioworks Cloud Lab (cloud.ginkgo.bio).
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
alphagenome
K-Dense-AI
Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18 SHAP feature attributions, plus raw and…
SkillAFreshness: A★ 54.4KClaude Code +9
Signals
- Stars
- 54,411
- Forks
- 4,797
- Open issues
- 8
- Last commit (this folder)
- Oct 1, 2026 (27 days ago)
- Last release
- Oct 1, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.5
- License
- MIT
- Website
- arxiv.org/abs/2609.00065
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from K-Dense-AI
- 0.699score
exploratory-data-analysis
K-Dense-AI
Performs bounded, local exploratory analysis of explicitly supported scientific files.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
citation-management
K-Dense-AI
Comprehensive citation management for academic research.
SkillAFreshness: A★ 54.4KClaude Code - 0.699score
glycoengineering
K-Dense-AI
Analyzes and engineers protein glycosylation by scanning canonical N-glycosylation sequons, describing S/T-rich regions, checking curated glycan evidence, and…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
openpiv
K-Dense-AI
Performs Particle Image Velocimetry (PIV) analysis with OpenPIV.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
ginkgo-cloud-lab
K-Dense-AI
Guides protocol selection, input preparation, pricing checks, and browser ordering on Ginkgo Bioworks Cloud Lab (cloud.ginkgo.bio).
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
parallel-web
K-Dense-AI
Uses Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring.
SkillAFreshness: A★ 54.4KClaude Code +9
Cite this page
phylogenetics skill. Agent Mart. https://agentmart.dev/skills/k-dense-ai-phylogenetics (last updated 2026-10-24)