One-click install
npx skills add https://github.com/shushuzn/Rairos --skill etetoolkit-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: etetoolkit
Source: https://github.com/shushuzn/Rairos/tree/main/skills/etetoolkit
Command: npx skills add https://github.com/shushuzn/Rairos --skill etetoolkit-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

ETE Toolkit helps you manipulate phylogenetic trees, detect evolutionary events, compare topologies, integrate NCBI taxonomy, and generate publication-ready visualizations without manually stitching together multiple tools.

Core Features & Use Cases

  • Tree manipulation: load/save Newick and related formats, prune taxa, reroot (including midpoint), resolve polytomies, compute distances, and compare trees (Robinson–Foulds).
  • Phylogenetic event analysis: for gene trees, link to alignments, detect speciation vs duplication events, derive ortholog/paralog groups, and split or collapse expansions.
  • NCBI taxonomy integration: fetch and cache taxonomy locally, translate names/taxids, retrieve lineages, build minimal topology trees connecting taxa, and annotate tree nodes.
  • Visualization for publications: render trees to PNG/PDF/SVG, style nodes, and add graphical “faces” (labels, shapes, charts) for clear figure outputs.
  • Clustering dendrogram support: use ClusterTree with matrix linkage and compute cluster quality metrics like silhouette and Dunn index.

Quick Start

Use the etetoolkit skill to render a publication-quality visualization of a Newick tree by running: visualize the tree file "tree.nw" into "tree.pdf" with leaf names shown and branch support displayed.

Frequently Asked Questions about etetoolkit

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

FAQPage Schema
How do I visualize a phylogenetic tree for a publication?

To visualize a phylogenetic tree for publication, load your Newick file and render it to PNG, PDF, or SVG using TreeStyle and NodeStyle. This allows you to style nodes, display branch support, and add graphical faces like labels or charts for clear figure outputs.

How do I detect gene duplication and speciation events in a gene tree?

To detect gene duplication and speciation events in a gene tree, you can link your tree to alignments and use phylogenetic event analysis. This process identifies evolutionary events, derives ortholog and paralog groups, and allows you to split or collapse expansions.

Can I integrate NCBI taxonomy data to annotate a phylogenetic tree?

Yes, you can integrate NCBI taxonomy data to annotate a phylogenetic tree. The system fetches and caches taxonomy locally, translates names or taxids, retrieves lineages, and builds minimal topology trees connecting your taxa to annotate tree nodes accurately.

What is the best way to compare phylogenetic tree topologies?

The best way to compare phylogenetic tree topologies is by computing Robinson–Foulds distances. This method directly measures topological differences between trees, allowing you to accurately evaluate structural discrepancies and variations in branching patterns.

How do I evaluate clustering dendrogram quality using silhouette scores?

To evaluate clustering dendrogram quality using silhouette scores, use ClusterTree with your matrix linkage data. This computes cluster quality metrics like the silhouette and Dunn index, directly quantifying the validity and separation of your hierarchical clustering results.

Do I need a local taxonomy database to fetch NCBI lineages?

You do not need a pre-existing local database to fetch NCBI lineages, but optional local taxonomy caching is supported. The system fetches and caches taxonomy data locally during operations, enabling faster subsequent translations of names and taxids.