A Python Environment for (phylogenetic) Tree Exploration
Project description
Overview
ETE (Environment for Tree Exploration) is a toolkit that assists in the automated manipulation, analysis and visualization of trees. It is mainly written in Python, and includes many extra functionalities for phylogenetic trees.
Its main features include:
- Read and write support for trees in Newick format
- Multiple functions for traversing, searching and manipulating tree topologies and node annotations
- Integration with NCBI Taxonomic database
- Integration with GTDB database
- Programmatic visualization framework
- Visualization of huge trees based on adaptive zooming
- Comparing trees
- Phylogenetic functions
- orthology detection
- phylogenetic distance
- Command line tools
- phylogenetic reconstruction protocols
- tree comparison
- tree diff
The official website of ETE is http://etetoolkit.org. You can find downloading instructions and further documentation there.
If you use ETE, please cite:
Jaime Huerta-Cepas, François Serra and Peer Bork. "ETE 3: Reconstruction,
analysis and visualization of phylogenomic data." Mol Biol Evol (2016) doi:
10.1093/molbev/msw046
Installation
Quick way
pip install https://github.com/etetoolkit/ete/archive/ete4.zip
For local development
To install ETE in a local directory to help with the development, you can:
- Clone this repository (
git clone https://github.com/etetoolkit/ete.git) - Install dependecies
- If you are using conda:
conda install -c conda-forge cython bottle brotli numpy scipy - Otherwise, you can install them with
pip install <dependencies>
- If you are using conda:
- Build and install ete4 from the repository's root directory:
pip install -e .
Optional dependencies
If you want to use the treeview module (which depends on
PyQt), you can
add [treeview] to the pip installation.
For example with pip install -e .[treeview] for a local editable
installation. Or pip install -e .[treeview,test,doc,render_sm] to
also include the modules for testing, generating the documentation,
and smartview file rendering.
Exploring a tree
To simply load a tree from a file (my_tree.nw) and start exploring
it interactively, you can use the ete4 utility and run:
ete4 explore -t my_tree.nw
Or start a python session and write:
from ete4 import Tree
t = Tree(open('my_tree.nw'))
t.explore()
It will open a browser window with an interface to explore the tree.
Documentation
Most documentation is automatically generated with
sphinx from the contents of the doc
directory, and is available at https://etetoolkit.github.io/ete/ .
Gallery of examples
Getting support
Rather than sending direct support-related emails to the developers, it is better to keep the communication public.
For question on how to use ETE in the bioinformatics context, use
Biostars with the etetoolkit tag, or stack
overflow.
For bug reports, feature requests and general discussion, use https://github.com/etetoolkit/ete/issues
For more technical problems, you can also use the official ETE mailing list at https://groups.google.com/d/forum/etetoolkit. To avoid spam, messages from new users are moderated. Expect some delay until your first message appears after your account is validated.
For any other inquiries (collaborations, sponsoring, etc), please contact jhcepas@gmail.com.
Tests
You can launch some tests by running:
./run_tests.py
Contributing and bug reporting
https://github.com/etetoolkit/ete/wiki/Contributing
Roadmap
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ete4-4.2.2.tar.gz.
File metadata
- Download URL: ete4-4.2.2.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffddc906eee7df60a5dff760bbc0be721f2a711ff1f413b42414f346e1c135d3
|
|
| MD5 |
86e0ac40ffdcf5dae0259ba89e8e58f0
|
|
| BLAKE2b-256 |
223d8e6e6ef7d08a4c079d3cd6570cff90386482af6d14275fbd09e850bff23a
|
Provenance
The following attestation bundles were made for ete4-4.2.2.tar.gz:
Publisher:
publish-to-test-pypi.yml on etetoolkit/ete
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ete4-4.2.2.tar.gz -
Subject digest:
ffddc906eee7df60a5dff760bbc0be721f2a711ff1f413b42414f346e1c135d3 - Sigstore transparency entry: 199353416
- Sigstore integration time:
-
Permalink:
etetoolkit/ete@91a2d7108b0e13c20173ebcb8e00952de0301702 -
Branch / Tag:
refs/tags/4.2.2 - Owner: https://github.com/etetoolkit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@91a2d7108b0e13c20173ebcb8e00952de0301702 -
Trigger Event:
push
-
Statement type: