我有一个出租车清单,如下所示:
1204725
2162
1300163
420247
我希望从上面的taxids中按顺序获取带有分类ID的文件:
kingdom_id phylum_id class_id order_id family_id genus_id species_id
我正在使用包“ ete3 ”。我使用工具ete-ncbiquery告诉您来自上述 id 的血统。(我使用下面的命令从我的 linux 笔记本电脑上运行它)
ete3 ncbiquery --search 1204725 2162 13000163 420247 --info
结果如下所示:
# Taxid Sci.Name Rank Named Lineage Taxid Lineage
2162 Methanobacterium formicicum species root,cellular organisms,Archaea,Euryarchaeota,Methanobacteria,Methanobacteriales,Methanobacteriaceae,Methanobacterium,Methanobacterium formicicum 1,131567,2157,28890,183925,2158,2159,2160,2162
1204725 Methanobacterium formicicum DSM 3637 no rank root,cellular organisms,Archaea,Euryarchaeota,Methanobacteria,Methanobacteriales,Methanobacteriaceae,Methanobacterium,Methanobacterium formicicum,Methanobacterium formicicum DSM 3637 1,131567,2157,28890,183925,2158,2159,2160,2162,1204725
420247 Methanobrevibacter smithii ATCC 35061 no rank root,cellular organisms,Archaea,Euryarchaeota,Methanobacteria,Methanobacteriales,Methanobacteriaceae,Methanobrevibacter,Methanobrevibacter smithii,Methanobrevibacter smithii ATCC 350611,131567,2157,28890,183925,2158,2159,2172,2173,420247
我不知道哪些项目(IDS)对应于我正在寻找的(如果有的话)