Class GeneOntologyUtils
java.lang.Object
ubic.gemma.core.ontology.providers.GeneOntologyUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringasRegularGoId(String uri) Convert various GO IDs formats to the usual format, e.g., GO:0039392.static StringasRegularGoId(OntologyTerm term) Convert various GO IDs formats to the usual format, e.g., GO:0039392.static StringConvert a characteristic to a regular GO ID.static booleanCheck if a given string is a GO ID.
-
Constructor Details
-
GeneOntologyUtils
public GeneOntologyUtils()
-
-
Method Details
-
isGoId
Check if a given string is a GO ID. -
asRegularGoId
Convert various GO IDs formats to the usual format, e.g., GO:0039392.- Parameters:
term- ontology term- Returns:
- Usual formatted GO id, e.g., GO:0039392 or null for a free-text term
-
asRegularGoId
Convert a characteristic to a regular GO ID. -
asRegularGoId
-