发布于 2018-06-04 12:47:30
在这一点上,ETE工具包也可以提供帮助。ETEtoolkit tutorial的“获得后代分类群”部分就是您所需要的。有关更多详细信息,请参阅链接。下面是相关代码。
例如taxID 171属(钩端螺旋体)
from ete3 import NCBITaxa
ncbi = NCBITaxa()
descendants = ncbi.get_descendant_taxa(171)
# to print names of the taxIDs in the descendants
print(ncbi.translate_to_names(descendants))https://stackoverflow.com/questions/46304132
复制相似问题