All Projects → shenwei356 → Taxonkit

shenwei356 / Taxonkit

Licence: mit
A Practical and Efficient NCBI Taxonomy Toolkit

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Taxonkit

Csvtk
A cross-platform, efficient and practical CSV/TSV toolkit in Golang
Stars: ✭ 566 (+419.27%)
Mutual labels:  bioinformatics, cross-platform
Rush
A cross-platform command-line tool for executing jobs in parallel
Stars: ✭ 421 (+286.24%)
Mutual labels:  bioinformatics, cross-platform
Ugene
UGENE is free open-source cross-platform bioinformatics software
Stars: ✭ 112 (+2.75%)
Mutual labels:  bioinformatics, cross-platform
Seqkit
A cross-platform and ultrafast toolkit for FASTA/Q file manipulation in Golang
Stars: ✭ 607 (+456.88%)
Mutual labels:  bioinformatics, cross-platform
Xut.js
批量生成应用平台 http://t.cn/RazBbL0
Stars: ✭ 105 (-3.67%)
Mutual labels:  cross-platform
Userpath
Cross-platform tool for adding locations to the user PATH, no elevated privileges required!
Stars: ✭ 103 (-5.5%)
Mutual labels:  cross-platform
Flixel
Free, cross-platform 2D game engine powered by Haxe and OpenFL
Stars: ✭ 1,381 (+1166.97%)
Mutual labels:  cross-platform
Genomics
A collection of scripts and notes related to genomics and bioinformatics
Stars: ✭ 101 (-7.34%)
Mutual labels:  bioinformatics
Neovim
Vim-fork focused on extensibility and usability
Stars: ✭ 49,389 (+45211.01%)
Mutual labels:  cross-platform
Yacep
yet another csharp expression parser
Stars: ✭ 107 (-1.83%)
Mutual labels:  cross-platform
X3c
A plugin-framework that uses C++ and STL.
Stars: ✭ 104 (-4.59%)
Mutual labels:  cross-platform
Ruui
React's cross-platform UI for Web and Native (Android, iOs)
Stars: ✭ 103 (-5.5%)
Mutual labels:  cross-platform
Indra
INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
Stars: ✭ 105 (-3.67%)
Mutual labels:  bioinformatics
Bedtk
A simple toolset for BED files (warning: CLI may change before bedtk becomes stable)
Stars: ✭ 103 (-5.5%)
Mutual labels:  bioinformatics
Airdcpp Webclient
Communal peer-to-peer file sharing application for file servers/NAS devices
Stars: ✭ 106 (-2.75%)
Mutual labels:  cross-platform
Stretch
High performance flexbox implementation written in rust
Stars: ✭ 1,383 (+1168.81%)
Mutual labels:  cross-platform
Enime
Desktop application for anime fans :D
Stars: ✭ 104 (-4.59%)
Mutual labels:  cross-platform
Corona
Solar2D Game Engine main repository (ex Corona SDK)
Stars: ✭ 1,679 (+1440.37%)
Mutual labels:  cross-platform
Tomboy
This is the active development for Tomboy. Tomboy is still merged to git.gnome.org
Stars: ✭ 103 (-5.5%)
Mutual labels:  cross-platform
Boden
Purely native C++ cross-platform GUI framework for Android and iOS development. https://www.boden.io
Stars: ✭ 1,394 (+1178.9%)
Mutual labels:  cross-platform

TaxonKit - A Practical and Efficient NCBI Taxonomy Toolkit

taxonkit

Table of Contents

Features

Subcommands

Subcommand Function
list List taxonomic subtrees (taxIDs) bellow given taxIDs
lineage Query taxonomic lineage of given taxIDs
reformat Reformat lineage in canonical ranks
name2taxid Convert scientific names to taxIDs
filter Filter taxIDs by taxonomic rank range
lca Compute lowest common ancestor (LCA) for taxIDs
taxid-changelog Create taxID changelog from dump archives
version Print version information and check for update
genautocomplete Generate shell autocompletion script

Benchmark

  1. Getting full lineage for given taxIDs

Dataset

  1. Download and uncompress taxdump.tar.gz: ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz
  2. Copy names.dmp, nodes.dmp, delnodes.dmp and merged.dmp to data directory: $HOME/.taxonkit, e.g., /home/shenwei/.taxonkit ,
  3. Optionally copy to some other directories, and later you can refer to using flag --data-dir, or environment variable TAXONKIT_DB.

All-in-one command:

wget -c ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz 
tar -zxvf taxdump.tar.gz

mkdir -p $HOME/.taxonkit
cp names.dmp nodes.dmp delnodes.dmp merged.dmp $HOME/.taxonkit

Update dataset: Simply re-download the taxdump files, uncompress and override old ones.

Installation

Go to Download Page for more download options and changelogs.

TaxonKit is implemented in Go programming language, executable binary files for most popular operating systems are freely available in release page.

Method 1: Download binaries (latest stable/dev version)

Just download compressed executable file of your operating system, and uncompress it with tar -zxvf *.tar.gz command or other tools. And then:

  1. For Linux-like systems

    1. If you have root privilege simply copy it to /usr/local/bin:

       sudo cp taxonkit /usr/local/bin/
      
    2. Or copy to anywhere in the environment variable PATH:

       mkdir -p $HOME/bin/; cp taxonkit $HOME/bin/
      
  2. For Windows, just copy taxonkit.exe to C:\WINDOWS\system32.

Method 2: Install via conda (latest stable version) Install-with-conda Anaconda Cloud downloads

conda install -c bioconda taxonkit

Method 3: Install via homebrew (latest stable version)

brew install brewsci/bio/taxonkit

Method 4: For Go developer (latest stable/dev version)

go get -u github.com/shenwei356/taxonkit/taxonkit

Bash-completion

Supported shell: bash|zsh|fish|powershell

Bash:

# generate completion shell
taxonkit genautocomplete --shell bash

# configure if never did.
# install bash-completion if the "complete" command is not found.
echo "for bcfile in ~/.bash_completion.d/* ; do source \$bcfile; done" >> ~/.bash_completion
echo "source ~/.bash_completion" >> ~/.bashrc

Zsh:

# generate completion shell
taxonkit genautocomplete --shell zsh --file ~/.zfunc/_taxonkit

# configure if never did
echo 'fpath=( ~/.zfunc "${fpath[@]}" )' >> ~/.zshrc
echo "autoload -U compinit; compinit" >> ~/.zshrc

fish:

taxonkit genautocomplete --shell fish --file ~/.config/fish/completions/taxonkit.fish

Citation

If you use TaxonKit in your work, please cite the preprint.

Contact

Create an issue to report bugs, propose new functions or ask for help.

License

MIT License

Starchart

Stargazers over time
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].