Skip to main content

A Python Toolkit for Taxonomy

Project description

TaxidTools - A Python Toolkit for Taxonomy

Python package [PyPI - License [GitHub release (latest by date) Conda Version [Pypi Version DOI

Overview

Provides a set of classes and tools to work with taxonomy data. Although built to work with the NCBI Taxdump files it can also work with other taxonomy definitions. Currently impelemented:

  • Easily load the NCBI taxdump files
  • Retrieve name, rank, parent or full ancestry from a unique taxonomic identifier
  • Test if a node is parent or descendant of an other
  • Find last common ancestor or consensus node from a list of ids
  • Calculate the distance between two nodes
  • List all children of a given node
  • Re-root Taxonomy
  • Format to given ranks

Requirements

Python >= 3.9 Optionally some taxonomy definiton files usch as the Taxdump definition files from the NCBI server.

Installation

Install from pip or conda :

python3 -m pip install taxidTools

conda install -c conda-forge taxidtools

Clone or copy the github repository to your project for the developement version.

Usage

Check our homepage !

Contributing

I add new functionnalities as I need them, if you think of a cool new thing you would like to see implemented, post an issue or a pull request!

License

This project is licensed under a BSD 3-Clauses License, see the LICENSE file for details.

Author

For questions, problems, suggestions or requests, feel free to contact:

Grégoire Denay, Chemisches- und Veterinär-Untersuchungsamt Rhein-Ruhr-Wupper

gregoire.denay@cvua-rrw.de

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

taxidtools-2.3.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

taxidTools-2.3.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file taxidtools-2.3.0.tar.gz.

File metadata

  • Download URL: taxidtools-2.3.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for taxidtools-2.3.0.tar.gz
Algorithm Hash digest
SHA256 5cff6eff7ecf9711d0ed3e22f5ca392b2995912b8ef808e3df17272354c68824
MD5 5e1c3174af8a3819c9103c7ea84eaae0
BLAKE2b-256 0087f8d41745e301ffe37b0af49f0a464ce2b9dff66a16b803fe498bcfd273d0

See more details on using hashes here.

Provenance

File details

Details for the file taxidTools-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: taxidTools-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for taxidTools-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fff324478cfbd5dad92483b482e3f164a6f9894c285266625690c320ef99f442
MD5 a0e335b9019f5a58979a7b5489d03475
BLAKE2b-256 f4df6bd15da2ee15a4330a9475930dc2bb2c10b0188e79d8ac4723109a0163df

See more details on using hashes here.

Provenance

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