Skip to main content

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


Download files

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

Source Distribution

anjl-0.6.0.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

anjl-0.6.0-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

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