Skip to main content

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

Project description

picea

Sprucing up bioinformatics analysis

CI docs Coverage Status

PyPI version PyPI pyversions PyPI status

Code style: black

pip install picea

picea has datastructures and methods to perform common bioinformatics tasks. Currently sequences, sequence annotations, trees, and ontologies are supported.

Example:

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.

Source Distribution

picea-0.0.31.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

picea-0.0.31-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file picea-0.0.31.tar.gz.

File metadata

  • Download URL: picea-0.0.31.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.6 Darwin/23.3.0

File hashes

Hashes for picea-0.0.31.tar.gz
Algorithm Hash digest
SHA256 57ca49e92ff2be839ed0ff23a7dfa154388a71ff909aa7b0bff4fac44eaf618b
MD5 fd212ddbc39e3e4216cc9f596c3acf8e
BLAKE2b-256 2353373ba796f49469d69e6d8e90815ebe2c883eae8b61bedbbf5b0b96c25a2a

See more details on using hashes here.

File details

Details for the file picea-0.0.31-py3-none-any.whl.

File metadata

  • Download URL: picea-0.0.31-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.6 Darwin/23.3.0

File hashes

Hashes for picea-0.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 05b729e9d2b1fc10d47d463d27b06f7d01aaa588b604a12938a39b4df86897a6
MD5 0e828613deeac2b3c8d4961e993bad3e
BLAKE2b-256 b9f385ada3008e17efad45d40c064caf7831ec131bbdafcebd44ec6b5863b19f

See more details on using hashes here.

Supported by

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