Skip to main content

A lightweight python library for working with trees and biological sequence collections

Project description


Lightweight python library for working with trees and sequence collections

tests docs Coverage Status PyPI version PyPI pyversions PyPI status

pip install picea

example figure

The above figure can be generated with the following code

from picea import Tree, treeplot
import matplotlib.pyplot as plt

newick = '(((a,b),(c,d)),e)'
tree = Tree.from_newick(newick)

fig, (ax1, ax2) = plt.subplots(ncols = 2, figsize = (10, 4))

#left-to-right layout with direct links
treeplot(tree, style='rectangular', ltr=True, ax=ax1)

#right-to-left layout with square links
treeplot(tree, style='square', ltr=False, ax=ax2)

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 picea, version 0.0.19
Filename, size File type Python version Upload date Hashes
Filename, size picea-0.0.19-py3-none-any.whl (16.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size picea-0.0.19.tar.gz (328.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page