phylogenetics
Was er macht
Dieses Tool baut und analysiert phylogenetische Bäume. Das sind eine Art Stammbäume für Gene oder Proteine. Es hilft dir, die evolutionären Verwandtschaften zwischen verschiedenen Sequenzen zu verstehen.
Wann du ihn nutzt
- ✓Um DNA- oder Proteinsequenzen verschiedener Organismen zu vergleichen.
- ✓Um die evolutionäre Geschichte einer Gruppe von Genen zu visualisieren.
- ✓Um zu verstehen, wie verschiedene Viren oder Bakterien miteinander verwandt sind.
Link zum Skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/phylogenetics/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle einen phylogenetischen Baum für diese DNA-Sequenzen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool nutzt andere Programme, um die Sequenzen auszurichten (Alignment), und baut danach den Baum auf. Außerdem prüft es, wie zuverlässig die Verbindungen im Baum sind, damit du den Ergebnissen vertrauen kannst.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
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.
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:
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 ntor--type aa. The helper sends-st DNAor-st AAto 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:
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:
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:
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
…
Häufige Fragen
Was ist ein phylogenetischer Baum?
Das ist ein Diagramm, das die evolutionären Verwandtschaften zwischen Organismen oder Genen zeigt, basierend auf ihren genetischen Ähnlichkeiten.
Was sind homologe Sequenzen?
Das sind DNA- oder Proteinsequenzen, die einen gemeinsamen evolutionären Ursprung haben.
Kann ich das nutzen, um die Übertragung von Krankheiten nachzuverfolgen?
Ein phylogenetischer Baum kann helfen, Verwandtschaften zu verstehen, aber er zeigt allein weder die Richtung einer Übertragung noch genetischen Austausch.
Details
Originalbeschreibung des Autors
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.
Beliebtheit
- GitHub-Sterne
- 51k
- Platz im Ranking
- #3526
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
13c-metabolic-flux
51kSchätzt Stoffflüsse im Stoffwechsel anhand von Kohlenstoff-13-Isotopendaten. Nützlich für die Analyse des Zellstoffwechsels und biochemischer Stoffwechselwege.
adaptyv
51kPlant Experimente zur Proteincharakterisierung mit der Adaptyv API. Hilft beim Schätzen der Kosten, Einreichen von Sequenzen und Verfolgen der Laborergebnisse.
aeon
51kFührt Machine-Learning-Aufgaben mit Zeitreihendaten aus. Nützlich zum Klassifizieren, Prognostizieren, Erkennen von Anomalien und Finden von Mustern.
alphagenome
51kSucht vorberechnete genomische Effekte für genetische Varianten heraus. Liefert Scores und Erklärungen zu den Auswirkungen der Varianten auf das Genom.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.