Metadata-Version: 2.4
Name: ete4
Version: 4.1.1
Summary: A Python Environment for (phylogenetic) Tree Exploration
Author-email: Jaime Huerta-Cepas <jhcepas@gmail.com>, Jordi Burguet-Castell <jordi.burguet.castell@gmail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, http://etetoolkit.org
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 6 - Mature
Classifier: Environment :: Console
Classifier: Environment :: X11 Applications :: Qt
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: bottle
Requires-Dist: brotli
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: requests
Provides-Extra: treeview
Requires-Dist: pyqt6; extra == "treeview"
Provides-Extra: render-sm
Requires-Dist: selenium; extra == "render-sm"
Provides-Extra: treediff
Requires-Dist: lap; extra == "treediff"
Provides-Extra: test
Requires-Dist: pytest>=6.0; extra == "test"
Provides-Extra: doc
Requires-Dist: sphinx; extra == "doc"
Dynamic: license-file

[![](https://travis-ci.org/etetoolkit/ete.svg?branch=ete4)](https://travis-ci.org/etetoolkit/ete)
[![Join the chat at https://gitter.im/jhcepas/ete](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jhcepas/ete?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
![](https://coveralls.io/repos/jhcepas/ete/badge.png)
[![](http://img.shields.io/badge/stackoverflow-etetoolkit-blue.svg)](https://stackoverflow.com/questions/tagged/etetoolkit+or+ete4)
[![](http://img.shields.io/badge/biostars-etetoolkit-purple.svg)](https://www.biostars.org/t/etetoolkit,ete,ete2,ete3,ete4/)
[![](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](CODE_OF_CONDUCT.md)


# 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

```sh
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](https://conda.io/):
  `conda install -c conda-forge cython bottle brotli numpy scipy`
  - Otherwise, you can install them with `pip install <dependencies>`
- 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](https://www.riverbankcomputing.com/software/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:

```sh
ete4 explore -t my_tree.nw
```

Or start a python session and write:

```py
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](https://www.sphinx-doc.org) from the contents of the `doc`
directory, and is available at https://etetoolkit.github.io/ete/ .


# Gallery of examples

![](https://raw.githubusercontent.com/etetoolkit/ete/ete4/doc/images/gallery.png)


# 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](http://biostars.org) with the `etetoolkit` tag, or [stack
overflow](https://stackoverflow.com/questions/tagged/etetoolkit+or+ete4).

[![](http://img.shields.io/badge/biostars-etetoolkit-purple.svg)](https://www.biostars.org/post/search/?query=etetoolkit+or+ete+or+ete2+or+ete3+or+ete4)
[![](http://img.shields.io/badge/stackoverflow-etetoolkit-blue.svg)](https://stackoverflow.com/questions/tagged/etetoolkit+or+ete3+or+ete4)

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:

```sh
./run_tests.py
```


# Contributing and bug reporting

https://github.com/etetoolkit/ete/wiki/Contributing


# Roadmap

https://github.com/etetoolkit/ete/wiki/ROADMAP
