Open Porthmeus opened 1 year ago
Bulk annotation is mostly done, it might make sense to see how much stuff is left not annotated and if making request to other dbs would significantly improve results ... this could be an improvement.
Otherwise the MeMoMetabolite.annotate function is currently not need @Porthmeus Your thoughts?
We decided today, that we need to split the annotation process for the metabolites into bulk queries and individual queries. That means, if we would like to retrieve information from a database for a list of metabolites, we would call that a bulk query. If the request we are posing is specific to that metabolite, we will call it an individual query.
What does that mean for the coding and the structure of the process:
annotate
function within the MeMoMetabolite classannotate
function within the MeMoModel classMeMoModel.annotate()
will eventually call theMeMoMetabolite.annotate()
function for all those metabolites that are not sufficiently annotated yetRegarding these considerations - there is another distinction for the bulk queries. Some databases (for instance BiGG) will not allow bulk queries to be submitted via their API, thus we decide to download these databases once during the installation process and do the queries locally. This scheme should be kept for all databases which require more ~100 queries per annotation process.
This whole issue relates to #12 #21 #28 and #29