etetoolkit

Analyze phylogenetic trees for rerooting, pruning, comparison, and visualization.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill etetoolkit-jasrajtulsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: etetoolkit
Source: https://github.com/jasrajtulsi/GRAD-SCOPE/tree/main/.claude/skills/etetoolkit
Command: npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill etetoolkit-jasrajtulsi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ete3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It removes the manual burden of inspecting, rerooting, pruning, and visualizing phylogenetic trees, while also helping you detect evolutionary events and compare tree topologies.

Core Features & Use Cases

  • Tree manipulation: load, traverse, prune, reroot, resolve polytomies, and export Newick or NHX trees.
  • Phylogenetic analysis: detect duplications and speciations, extract orthologs and paralogs, and split gene families.
  • Taxonomy and clustering: query NCBI taxonomy, build species trees, and evaluate hierarchical clusters.
  • Visualization: generate clean PDF, SVG, or PNG figures with custom styles, layouts, and annotations.
  • Example use case: turn a gene family tree into an annotated orthology report and a publication-ready figure in one workflow.

Quick Start

Ask the skill to analyze a tree file, identify key clades, and produce a rooted, pruned, annotated visualization for your phylogenetics task.

Frequently Asked Questions about etetoolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze and visualize phylogenetic trees from Newick files?

To analyze and visualize phylogenetic trees, you can load Newick or NHX files to reroot, prune, and traverse tree topologies. This workflow generates clean PDF, SVG, or PNG publication figures with custom styles and annotations.

How do I detect orthologs and paralogs in a gene family tree?

Detect orthologs and paralogs in a gene family tree by evaluating duplications and speciations across the topology. This phylogenomic analysis automatically extracts evolutionary events and splits gene families into annotated orthology reports.

Can I query NCBI taxonomy and build species trees for clustering analysis?

Yes, you can query NCBI taxonomy to build species trees and evaluate hierarchical clustering. This requires ETE3 tree handling to access taxonomic databases and apply taxonomy annotation to your phylogenetic workflow.

What is the best way to reroot and prune phylogenetic trees for publication?

The best way to reroot and prune phylogenetic trees is using scriptable CLI helpers for deterministic tree operations. This approach resolves polytomies, exports Newick or NHX formats, and produces publication-ready annotated visualizations.

Does ETE3 support custom layouts and annotations for tree visualization?

Yes, ETE3 supports custom layouts and annotations for tree visualization. You can generate clean publication figures in PDF, SVG, or PNG formats with custom styles applied directly to your phylogenetic tree topologies.

Why does resolving polytomies matter before comparing tree topologies?

Resolving polytomies matters before comparing tree topologies because it ensures deterministic branching order for accurate phylogenetic analysis. Multifurcating nodes can obscure speciation and duplication events during orthology detection and tree comparison.