public class EDAMOntology extends Object
| Modifier and Type | Field and Description | 
|---|---|
static URI | 
BIOPAX
BioPAX is an exchange format for pathway data, with its data model defined in OWL
 (BIOPAX). 
 | 
static URI | 
CELLML
CellML, the format for mathematical models of biological and other networks
 (CELLML). 
 | 
static URI | 
FORMAT
A defined way or layout of representing and structuring data in a computer file, blob,
 string, message, or elsewhere. 
 | 
static URI | 
NAMESPACE
Namespace of the EDAM Ontology (http://identifiers.org/edam/). 
 | 
static URI | 
SBML
Systems Biology Markup Language (SBML), the standard XML format for models of biological
 processes such as for example metabolism, cell signaling, and gene regulation
 (SBML). 
 | 
| Constructor and Description | 
|---|
EDAMOntology()
Construct an EDAM ontology object and read the OBO definition file, if necessary. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<String> | 
getDescendantNamesOf(String parentId)
Returns the set of child names that are descendants of the given parent ID. 
 | 
Set<String> | 
getDescendantNamesOf(URI parentURI)
Returns the set of child names that are descendants of the given parent URI. 
 | 
Set<String> | 
getDescendantsOf(String parentId)
Returns a set of child IDs that are descendants of the given parent ID. 
 | 
Set<String> | 
getDescendantsOf(URI parentURI)
Returns a set of child IDs that are descendants of the given parent URI. 
 | 
Set<URI> | 
getDescendantURIsOf(String parentId)
Returns a set of child URIs that are descendants of the given parent ID. 
 | 
Set<URI> | 
getDescendantURIsOf(URI parentURI)
Returns a set of child URIs that are descendants of the given parent URI. 
 | 
String | 
getId(String stanzaName)
Returns the ID field of the stanza whose name field matches the given name. 
 | 
String | 
getId(URI stanzaURI)
Returns the extracted ID of the given stanza's URI. 
 | 
String | 
getName(String stanzaId)
Returns the name field of the stanza matching the ID extracted from the given stanza URI. 
 | 
String | 
getName(URI stanzaURI)
Returns the name field of the stanza that matches the ID for the given stanza URI. 
 | 
URI | 
getURIbyId(String stanzaId)
Creates a new URI from the EDAM Ontology namespace with the given ID. 
 | 
URI | 
getURIbyName(String stanzaName)
Returns the URI, i.e. 
 | 
boolean | 
isDescendantOf(String Id1,
              String Id2)
Returns  
true if the stanza with Id1 is a descendant of the stanza with Id2. | 
boolean | 
isDescendantOf(URI childURI,
              URI parentURI)
Returns  
true if the stanza with childURI is a descendant of the stanza with parentURI. | 
public static final URI NAMESPACE
public static final URI FORMAT
public static final URI SBML
public static final URI CELLML
public EDAMOntology()
public final String getId(URI stanzaURI)
stanzaURI - the given stanza's URIpublic final String getId(String stanzaName)
stanzaName - the given stanza's namenull if no match was foundpublic final String getName(URI stanzaURI)
stanzaURI - the given stanza URIpublic final String getName(String stanzaId)
stanzaId - the given stanza URInull if no match was foundpublic final URI getURIbyName(String stanzaName)
stanzaName - the given stanza's namepublic final URI getURIbyId(String stanzaId)
stanzaId - the given stanza's IDpublic boolean isDescendantOf(String Id1, String Id2)
true if the stanza with Id1 is a descendant of the stanza with Id2.Id1 - the given stanza's IDId2 - the given stanza's IDtrue if the stanza with Id1 is a descendant of the stanza with Id2, false otherwise.public final boolean isDescendantOf(URI childURI, URI parentURI)
true if the stanza with childURI is a descendant of the stanza with parentURI.childURI - the given stanza's URIparentURI - the given stanza's URItrue if the stanza with childURI is a descendant of the stanza with parentURI, false otherwise.public Set<String> getDescendantsOf(String parentId)
parentId - the id of the parent termpublic final Set<String> getDescendantsOf(URI parentURI)
parentURI - the URI of the parent termpublic final Set<URI> getDescendantURIsOf(String parentId)
parentId - the ID of the parent termpublic final Set<URI> getDescendantURIsOf(URI parentURI)
parentURI - the URI of the parent termpublic final Set<String> getDescendantNamesOf(String parentId)
parentId - the ID of the parent stanzapublic final Set<String> getDescendantNamesOf(URI parentURI)
parentURI - the URI of the parent stanza