Git Product home page Git Product logo

etetoolkit / ete Goto Github PK

View Code? Open in Web Editor NEW
758.0 34.0 215.0 127.6 MB

Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.

Home Page: http://etetoolkit.org

License: GNU General Public License v3.0

Python 90.34% Makefile 0.01% C 0.05% Shell 0.02% HTML 0.17% Cython 3.65% CSS 0.35% JavaScript 5.41%
python visualization phylogenetics phylogenomic tree-structure treeview

ete's Introduction

Join the chat at https://gitter.im/jhcepas/ete

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.

News and announcements are usually posted on twitter: http://twitter.com/etetoolkit

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>
  • 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] to also include the modules for testing and generating the documentation.

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 [email protected].

Tests

You can launch some tests by running:

./run_tests.py

Contributing and bug reporting

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

Roadmap

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.