A Python Toolkit for Taxonomy
Project description
TaxidTools - A Python Toolkit for Taxonomy
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
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 taxidtools-2.4.0.tar.gz
.
File metadata
- Download URL: taxidtools-2.4.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d442bea5bf41a14361cbcfbaa50495d6312c7998a341ddda525088f8bacdfab6 |
|
MD5 | 165d084ce63dc3ceb4b44b6505eac659 |
|
BLAKE2b-256 | 57706d8bc5cfd93f7719f9c3dac0a2aea87ef00e4183e0923c514eec409dee4f |
Provenance
File details
Details for the file taxidTools-2.4.0-py3-none-any.whl
.
File metadata
- Download URL: taxidTools-2.4.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52982b597fb4c29d954d5f81561f7b486e63684ef0a0ec7070ae37c44b36d80 |
|
MD5 | 7df6c29ad53b645fe255ccd9f5cf4731 |
|
BLAKE2b-256 | 20d45717de9fe340b2eaff6d7153a8af4104b534b56d97ce0471a8e3c4730cc1 |