Phylo Tree
by @billwanttobetop
Generate publication-quality maximum likelihood phylogenetic trees and figures from enzyme names or FASTA sequences with advanced model selection and bootstr...
clawhub install phylo-treeπ About This Skill
PhyloTree | Publication-Grade Phylogenetic Analysis
One-line: Build Nature/Science-level phylogenetic trees from enzyme names or sequences.
π Quick Start (3 steps)
# 1. Activate environment
conda activate r432. Run analysis
python3 scripts/run_v2.py --query "imine reductase" --output ./output3. Done! Check ./output/figures/ for publication-ready figures
Output: ML tree + 6 figures + QC reports + scientific conclusions
π Common Use Cases
Use Case 1: Analyze from FASTA file (Recommended)
python3 scripts/run_v2.py --fasta sequences.fasta --output ./my_analysis
How to get sequences:
1. Go to UniProt: https://www.uniprot.org/
2. Search for your enzyme (e.g., "imine reductase")
3. Click "Download" β "FASTA (canonical)"
4. Save as sequences.fasta
Use Case 2: Analyze by enzyme name (requires UniProt API)
python3 scripts/run_v2.py --query "imine reductase" --output ./ired_analysis
Note: This uses UniProt API which may change. Manual download (Use Case 1) is more reliable.
Use Case 3: Custom parameters
python3 scripts/run_v2.py \
--query "lipase" \
--output ./lipase \
--threads 10 \
--bootstrap 1000 \
--identity 0.90
π What You Get
Files generated:
trees/phylo.treefile - ML tree (Newick format)figures/*.png - 6 publication-ready figures (300 DPI)analysis_summary.json - Key statisticsconclusions.md - Scientific findingsFigures: 1. Main tree (rectangular layout) 2. Circular tree 3. Heatmap tree (branch length gradient) 4. Branch length distribution 5. Genus distribution 6. Combined multi-panel
π§ Key Parameters
| Parameter | Default | Description |
|-----------|---------|-------------|
| --query | - | Enzyme name (UniProt search) |
| --fasta | - | Input FASTA file |
| --output | - | Output directory |
| --threads | 10 | CPU threads |
| --bootstrap | 1000 | Bootstrap replicates |
Full parameter list: See references/parameters.md
π Need More?
First time setup: references/installation.md
Troubleshooting: references/troubleshooting.md
Interpreting results: references/interpretation.md
Publication checklist: references/publication.md
AI report generation: references/ai_workflow.md
β Quality Standards
Suitable for: Nature, Science, Cell, MBE, Systematic Biology, PNAS
π€ For AI Agents
After analysis, read:
1. analysis_summary.json - Structured statistics
2. conclusions.md - Scientific findings
3. references/report_template.md - Writing template
No need to parse log files!
π References
1. Nguyen et al. (2015). IQ-TREE. *Mol Biol Evol* 32:268-274. 2. Hoang et al. (2018). UFBoot2. *Mol Biol Evol* 35:518-522. 3. Kalyaanamoorthy et al. (2017). ModelFinder. *Nat Methods* 14:587-589. 4. Yu et al. (2017). ggtree. *Methods Ecol Evol* 8:28-36.
Full references: references/citations.md
π Security & Privacy
This skill is safe and transparent:
β No malicious code - All scripts are open source and auditable β External tools only - Calls standard bioinformatics tools (IQ-TREE, MAFFT, trimAl, CD-HIT) β Optional API - UniProt API is optional, manual FASTA download recommended β Local processing - All analysis runs locally, no data sent to third parties β No network when using --fasta - Completely offline when using local FASTA files
Why flagged as suspicious?
ClawHub's automated scanner detected:
subprocess calls (to run IQ-TREE, MAFFT, R)--query mode)These are normal and necessary for phylogenetic analysis. All external commands are:
Recommended usage:
--fasta with manually downloaded sequences (no network requests)--query if you trust UniProt API (public, no authentication)Verification:
scripts/ directoryrun_v2.py for the complete workflowVersion: 2.0 | Updated: 2026-04-23