public class AnnotatorClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOID_ONTOLOGY |
static String |
HP_ONTOLOGY |
| Constructor and Description |
|---|
AnnotatorClient() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findLabelForIdentifier(String ontologyId,
String identifier)
return the label associated with an conceptid.
|
static Collection<AnnotatorResponse> |
findTerm(String term) |
static String |
removeSpecialCharacters(String txt) |
public static final String HP_ONTOLOGY
public static final String DOID_ONTOLOGY
public static Collection<AnnotatorResponse> findTerm(String term) throws IOException, ParserConfigurationException, IllegalStateException, SAXException
term - ParserConfigurationExceptionSAXExceptionIllegalStateExceptionExceptionIOExceptionpublic static String findLabelForIdentifier(String ontologyId, String identifier)
ontologyId - what virtual ontology to useidentifier - the identifier, knows about: OMIM, DOID, MESHCopyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.