Package ubic.basecode.ontology.ncbo
Class OmimAnnotatorClient
java.lang.Object
ubic.basecode.ontology.ncbo.OmimAnnotatorClient
to use the OMIM api
TODO Document Me
- Author:
- Nicolas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
<Long, Collection<Long>> findLinkedPublications
(Collection<Long> omimIds, Map<Long, Collection<Long>> mimToPubmeds) Giving a set of OMIM id return for each id its list of related publication
-
Constructor Details
-
OmimAnnotatorClient
public OmimAnnotatorClient()
-
-
Method Details
-
findLinkedPublications
public static Map<Long,Collection<Long>> findLinkedPublications(Collection<Long> omimIds, Map<Long, Collection<Long>> mimToPubmeds) throws InterruptedExceptionGiving a set of OMIM id return for each id its list of related publication- Parameters:
omimIds
- the omimIds we want to find the publicationmimToPubmeds
- the results, pass by reference for multiple calls, limit of size 10- Throws:
InterruptedException
-