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

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:

http://packages.python.org/DendroPy/

Requirements and Installation

DendroPy 4.x runs under Python 3 (all versions > 3.1) and Python 2 (Python 2.7 only).

DendroPy 4.x is under development, and is not suitable yet for public or production use.

But it will soon be!

Testing

Tests can be run by typing:

$ python -m dendropy.test

By default, all tests are run. You can run specific by providing the fully-qualified name of the modules, test cases, or specific test methods to run, e.g.:

$ python -m dendropy.test test_tokenizer
$ python -m dendropy.test test_tokenizer.TestCase
$ python -m dendropy.test test_tokenizer.TestCase.test1
$ python -m dendropy.test test_tokenizer test_datamodel_taxon

Or special pre-defined sub-groups of tests, e.g.:

$ python -m dendropy.test @datamodel
$ python -m dendropy.test @dataio
$ python -m dendropy.test @datamodel @newick

A list of all available sub-groups can be seen by:

$ python -m dendropy.test --help-testgroups

For any tests run, you can set the level at which the test progress is logged by:

$ python -m dendropy.test -l DEBUG all

For all options, type:

$ python -m dendropy.test --help

Current Release

The current release of DendroPy is version 4.0.0.rc1 (master-cf05c0c, 2015-06-04 17:10:31).

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

DendroPy-4.0.0.rc1.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file DendroPy-4.0.0.rc1.tar.gz.

File metadata

  • Download URL: DendroPy-4.0.0.rc1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DendroPy-4.0.0.rc1.tar.gz
Algorithm Hash digest
SHA256 2d614a517332c8c1023e726c0b6105f804bc79ba8529d7e5eaabb1b734f09323
MD5 60551983d33be48540ed6945e7ff5e39
BLAKE2b-256 f0d3e0180bf1a8d599b8f847ab7a1b19fe4d7a95b3613c57b57108e2a48bb59f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page