Open cmungall opened 7 years ago
I would also be happy with the full all-by-all table. How could I obtain this?
You should be able to just use the API directly:
BMKnowledgeBase bmKnowledgeBase = BMKnowledgeBase.owlLoader()...createKnowledgeBase();
ClassMatcher classMatcher= new ClassMatcher(bmKnowledgeBase);
List<SimpleClassMatch> matches = classMatcher.matchOntologies("HP", "MP");
We had a look with Chris, it doesn't seem to be an issue with the returned data being too large. But the service takes too long to return anyway, Chris will take a look at that.
OK, great. To summarize:
{HP,MP,WBPhenotype,...}
. (if you query a combo that is not in the yaml then you are out of luck). Given this is a bit fiddly and that other routes are available, I may classify this as 'nice to have' and punt until afterwards.I am happy with using the API. I am not closing, because the ticket is about something else now.
The route '/ontolomatch/MP/HP' should return a set of best matches in MP for HP (note this is less than the full all-by-all table).
Currently this gives a gateway timeout. Paging should be added.
Also, we should have a version that works for a specific ID, @drseb would use this.