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)

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.4.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

anjl-0.4.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file anjl-0.4.0.tar.gz.

File metadata

  • Download URL: anjl-0.4.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-1014-azure

File hashes

Hashes for anjl-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b2c454497a95f8eba0acc7fde4ef5f17d74aedcab825cb4af2172b8b88526750
MD5 074e2a3d7810028eb6bdabcf111ef80a
BLAKE2b-256 dffd2f8b9e20c4f242227ca20565ef95f602d03afbc1ddc006c6abbc729fdcaa

See more details on using hashes here.

File details

Details for the file anjl-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: anjl-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-1014-azure

File hashes

Hashes for anjl-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b050c5fa6f17d560712fcff21121cdefcb96eda4ead8a20c2373a02ea1d1c86d
MD5 0c721bfa075ab4f4b48160107791f461
BLAKE2b-256 79781de2f1d7a254c7f2abad62b67cefed5c1f416481015e50fda171e8247b3a

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