Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

phylogenetics

Skill by K-Dense-AI

Builds and analyzes phylogenetic trees from homologous nucleotide or protein sequences using MAFFT, IQ-TREE and FastTree. Adds ETE3 tree summaries and visualization. Aimed at researchers working on gene trees and protein families.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install phylogenetics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/phylogenetics ~/.claude/skills/phylogenetics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install phylogenetics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The phylogenetics skill builds and analyzes phylogenetic trees from homologous nucleotide or protein sequences. It guides multiple sequence alignment with MAFFT, maximum likelihood inference with IQ-TREE using ModelFinder and branch support, and approximate inference with FastTree. A bundled helper script runs these steps and writes the tree, alignment and IQ-TREE reports to an output folder.

ETE3 is used for tree summaries and figures, and the workflow explains how to read SH-aLRT and UFBoot support values. It is aimed at researchers working on microbial gene trees, protein families and similar datasets. The skill stresses that a gene tree does not establish a species tree, and that dated phylogenies need caution. All analysis runs locally.

Written from the project's SKILL.md and checked against it.

What it can do

  • Align sequencesRuns MAFFT alignment with options for different homolog types, using the helper script or direct commands.
  • Infer maximum likelihood treesRuns IQ-TREE with ModelFinder and ultrafast bootstrap and SH-aLRT branch support.
  • Approximate tree inferenceRuns FastTree for nucleotide or protein sequences as a faster alternative.
  • Summarize treesUses ETE3 to list leaf names and summarize branch statistics from a Newick tree.
  • Render tree figuresDraws the inferred tree with ETE3 when PyQt5 and a Qt platform plugin are available.
  • Interpret branch supportExplains how to read combined SH-aLRT and UFBoot labels in IQ-TREE reports.
  • Root trees for displayApplies an explicit outgroup or midpoint rerooting for display without changing the inferred tree.

What you need

  • MAFFT and IQ-TREE 3 or FastTree executables
  • Python 3.12 with ete3 3.1.3 for tree summaries
  • PyQt5 for rendering, optional
  • trimAl for optional trimming

Try asking

  • Align these protein sequences with MAFFT and infer a maximum likelihood tree.
  • Run IQ-TREE with ModelFinder on my nucleotide FASTA and report the support values.
  • Summarize the leaves and branch statistics of results/sequences.treefile.

Good to know

  • Gene trees do not by themselves establish species trees, transmission direction or horizontal transfer.
  • Sampling dates alone do not justify a molecular clock.
  • The bundled helper does not trim alignments automatically.
  • Qt rendering was not exercised in the source's review, and ETE4 is not a drop-in replacement for ETE3.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/phylogenetics/SKILL.md, skills/phylogenetics/scripts/phylogenetic_analysis.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/iqtree_inference.md7 KB
  • scripts/phylogenetic_analysis.py13 KB

Alternatives to phylogenetics

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

phylogenetics: common questions

Does the phylogenetics skill need internet access?

Network access is needed for installation only. The source says all analyses are local and no remote inference endpoint is used.

Which Python version does the tree summary need?

The source reviewed the workflow with Python 3.12 and ETE3 3.1.3. ETE3 imports cgi, which was removed in Python 3.13.

Can it use IQ-TREE 2 instead of IQ-TREE 3?

Yes, with the --iqtree-bin iqtree2 option for an existing IQ-TREE 2 installation. The source says this compatibility was checked in code but not tested at runtime.

How do I install phylogenetics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is phylogenetics free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is phylogenetics safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to phylogenetics?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

phylogenetics Install

Add to stack

Loading.