Code Monkey home page Code Monkey logo

detaxa's Introduction

DeTaxa

The goal of this python package is to offer a flexible, adaptable, and well-defined solution for taxonomy and accession number lookup. DeTaxa empowers users to seamlessly integrate their self-defined taxonomies into existing taxonomy systems. This library readily accommodates a range of widely used taxonomic systems, including NCBI taxonomy, EBI MGnify lineage, and GTDB taxonomy. By utilizing DeTaxa, users have the ability to create and import their customized taxonomies complete with lineages into their preferred taxonomic system. DeTaxa maintains compatibility with taxonomy files produced by Krona (Ondov et. al., 2011).

Installation

Use python setup-tool or pip to install this package:

python setup.py install

or

pip install .

(Optional) You can run detaxa update to download current taxanomy file from NCBI.

Usage

Use as a python module:

#import taxonomy as module
import detaxa.taxonomy as t

#load taxonomy info
t.loadTaxonomy()

#convert taxid to name
name = t.taxid2name(tid)

or, run as a standalone converter:

$ detaxa query -i 2697049

Acknowledgement

Part of the codes are inspired and ported from Krona taxonomy tool written in Perl.

detaxa's People

Contributors

poeli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.