Commit 845873fd authored by peguerin's avatar peguerin
Browse files

add correct library

parent ddfbe7a0
from ete3 import Tree, TreeStyle, NodeStyle, TextFace, NCBITaxa
import pytaxize
from pytaxize import gn
ncbi = NCBITaxa()
#ncbi = NCBITaxa(taxdump_file=path.abspath(localTaxdumpArchive))
......@@ -7,6 +8,7 @@ ncbi = NCBITaxa()
globalnamesQuery =gn.resolve('Rhinobatos sainsburyi')
globalnamesQuery =gn.resolve('Neoaploactis_tridorsalis')
"""
for t in tt[0]:
print("------------")
......@@ -32,5 +34,6 @@ for gnQuery in globalnamesQuery[0]:
if taxid is not False:
break
print(rank, rankName, taxid)
break
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment