A neighbour-joining library for Python.
Project description
anjl - A neighbour-joining library for Python :angel:
anjl
is a Python package providing implementations of the
neighbour-joining
algorithm of Saitou
and Nei and some associated utilities.
Installation
pip install anjl
Usage
import anjl
Canonical neighbour-joining implementation
help(anjl.canonical_nj)
Rapid neighbour-joining implementation
help(anjl.rapid_nj)
Plot a tree using the equal-angles layout
help(anjl.plot_equal_angles)
About
There are implementations of neighbour-joining available in BioPython, scikit-bio and biotite, but they are relatively slow for larger numbers of nodes. I created this package to provide faster implementations for use in population genomics.
Bug reports, suggestions and pull requests are welcome but I make no promises regarding support, please be patient and understanding! 🌻🌼🌸
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file anjl-0.7.0.tar.gz
.
File metadata
- Download URL: anjl-0.7.0.tar.gz
- Upload date:
- Size: 57.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a3fd459339495f163ea6dafb4f043ec0bf8b81e2c7651f01e7bd2695813ebb |
|
MD5 | 80913d816ea2b8fd12749c6fc041c089 |
|
BLAKE2b-256 | 22884eb4277c3459b05049f566b2b9a3c93f0f6657cbaaf1a821d0ea0218798c |
File details
Details for the file anjl-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: anjl-0.7.0-py3-none-any.whl
- Upload date:
- Size: 60.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d4b88b8253d75f3cb9773aca69ab135d04c13148253ed878f65057bc0c9a14e |
|
MD5 | 2211b2748fb7c52979dda3177c6fdd0d |
|
BLAKE2b-256 | 477f8aace45746299cfa57e90aa1263a1483e38bf698a2d5f0c1051dbf7df780 |