Expanding the no_rank taxa (see taxtastic.ncbi.db_load() and taxtastic.ncbi.adjust_node_ranks()) may be better done on the fly when requesting lineages, and it may also be useful to retrieve the native ncbi representation. It also takes a while to do this when loading the database. As a starting point, let's add an argument db_load(expand_ranks=True) with a corresponding command line option to set expand_ranks to False. The only tricky part here will be to determine an ordering of the ranks. See https://github.com/fhcrc/taxtastic/blob/master/taxtastic/ncbi.py#L262
Expanding the no_rank taxa (see taxtastic.ncbi.db_load() and taxtastic.ncbi.adjust_node_ranks()) may be better done on the fly when requesting lineages, and it may also be useful to retrieve the native ncbi representation. It also takes a while to do this when loading the database. As a starting point, let's add an argument
db_load(expand_ranks=True)
with a corresponding command line option to set expand_ranks to False. The only tricky part here will be to determine an ordering of the ranks. See https://github.com/fhcrc/taxtastic/blob/master/taxtastic/ncbi.py#L262