Taxonomy: functions to read the *.adx file (containing the deprecated

and current taxids and their corresponding indices in the taxa
structure) and to find the taxa using the merged index.
This commit is contained in:
Celine Mercier
2017-01-06 15:52:21 +01:00
parent f396625f98
commit d68374018b
2 changed files with 132 additions and 9 deletions

View File

@ -108,6 +108,7 @@ int obi_close_taxonomy(OBIDMS_taxonomy_p taxonomy);
ecotx_t* obi_taxo_get_parent_at_rank(ecotx_t* taxon, int32_t rankidx);
ecotx_t* obi_taxo_get_taxon_with_current_taxid(OBIDMS_taxonomy_p taxonomy, int32_t taxid);
ecotx_t* obi_taxo_get_taxon_with_taxid(OBIDMS_taxonomy_p taxonomy, int32_t taxid);
bool obi_taxo_is_taxon_under_taxid(ecotx_t* taxon, int32_t other_taxid);