shenwei356 / taxonkit

A Practical and Efficient NCBI Taxonomy Toolkit, also supports creating NCBI-style taxdump files for custom taxonomies like GTDB/ICTV
https://bioinf.shenwei.me/taxonkit
MIT License
361 stars 29 forks source link

Taxon ID instead of names in lineage #3

Closed AsmaTahir closed 7 years ago

AsmaTahir commented 7 years ago

Hi there,

I would like to deduce the taxon ID#s instead of names in lineage. Is it possible? The documentation didn't describe it.

Thanks!

shenwei356 commented 7 years ago

I've added it as the third column in the output of taxonkit lineage.

Check v0.1.8-dev or later versions.

Example:

349741  cellular organisms;Bacteria;PVC group;Verrucomicrobia;Verrucomicrobiae;Verrucomicrobiales;Akkermansiaceae;Akkermansia;Akkermansia muciniphila;Akkermansia muciniphila ATCC BAA-835  131567;2;1783257;74201;203494;48461;1647988;239934;239935;349741
AsmaTahir commented 7 years ago

Great. Thanks!