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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: anjl-0.6.0.tar.gz
  • Upload date:
  • Size: 11.5 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

Hashes for anjl-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4c469d59f6e666de8e91c582fd6ad12839aa3ca673f4fef8f8d61340a84a0304
MD5 6065ab543fd3e4b4f50fe27cdbb1e1fa
BLAKE2b-256 86cc6b857cc63329dd87b742c787bd106b04cba7cc182096a0b324b36c8302a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anjl-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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

Hashes for anjl-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed42d879c7ac6cd7746a8dbc0ed0be2f28488445bd8908de2d384314767e61d
MD5 1ef1c1601092637f4f32c5ce7f4ad680
BLAKE2b-256 bceeb37f7c9095ca740b3e377512d05de43cb2fa1d0e5d054642cb56c4fb881c

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