Skip to main content

A Python library for phylogenetics and phylogenetic computing: reading, writing, simulation, processing and manipulation of phylogenetic trees (phylogenies) and characters.

Project description


DendroPy is a Python library for phylogenetic computing. It provides classes and functions for the simulation, processing, and manipulation of phylogenetic trees and character matrices, and supports the reading and writing of phylogenetic data in a range of formats, such as NEXUS, NEWICK, NeXML, Phylip, FASTA, etc. Application scripts for performing some useful phylogenetic operations, such as data conversion and tree posterior distribution summarization, are also distributed and installed as part of the libary. DendroPy can thus function as a stand-alone library for phylogenetics, a component of more complex multi-library phyloinformatic pipelines, or as a scripting “glue” that assembles and drives such pipelines.

The primary home page for DendroPy, with detailed tutorials and documentation, is at:

Requirements and Installation

DendroPy runs under any version of Python 2 from 2.4 upwards (i.e., Python 2.4, 2.5, 2.6, 2.7, etc.). At present, it does not run under Python 3.

If you have setuptools installed, you can install the latest public release of DendroPy directly from the Python Package Index by running:

$ sudo easy_install -U dendropy

Alternatively, if you have pip installed, you can run:

$ sudo pip install dendropy

If you download the source code archive from the Python Package Index, you can unarchive it and install it from the local source by running:

$ tar -xvzf DendroPy-3.12.0.tar.gz
$ cd DendroPy-3.12.0
$ sudo python install


A detailed example-rich “cookbook”-style tutorial on using DendroPy can be found here:

While the API reference can be found here:

Source Code Repository

The DendroPy source code is version-controlled using Git, and the DendroPy Git repository can be cloned by running:

$ git clone git://

Change History

The major changes (new features and bug fixes) in the development history of DendroPy can be found here:

More Information

More information, including tutorials, library API references, citation, license, etc. can be found on the DendroPy documentation website:

Current Release

The current release of DendroPy is version 3.12.0 (revision: 91b552d, None).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for DendroPy, version 3.12.0
Filename, size File type Python version Upload date Hashes
Filename, size DendroPy-3.12.0.tar.gz (6.6 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page