|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.gaf.EcoTools
public class EcoTools
Methods to simplify the work with the evidence code ontology (ECO).
Constructor Summary | |
---|---|
EcoTools()
|
Method Summary | |
---|---|
static Set<org.semanticweb.owlapi.model.OWLClass> |
getClassesForGoCodes(OWLGraphWrapper eco,
Set<String> goCodes)
Retrieve the ECO classes for the given GO annotation codes. |
static Set<org.semanticweb.owlapi.model.OWLClass> |
getClassesForGoCodes(OWLGraphWrapper eco,
String... goCodes)
Retrieve the ECO classes for the given GO annotation codes. |
static Set<String> |
getCodes(Set<org.semanticweb.owlapi.model.OWLClass> classes,
OWLGraphWrapper eco)
|
static Set<String> |
getCodes(Set<org.semanticweb.owlapi.model.OWLClass> classes,
OWLGraphWrapper eco,
boolean includeDescendants)
Retrieve the set of codes for a given set of ECO classes. |
static OWLGraphWrapper |
loadECO(ParserWrapper pw)
Load the evidence code ontology (ECO) from its default PURL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EcoTools()
Method Detail |
---|
public static OWLGraphWrapper loadECO(ParserWrapper pw) throws IOException, org.semanticweb.owlapi.model.OWLOntologyCreationException
pw
-
IOException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public static Set<org.semanticweb.owlapi.model.OWLClass> getClassesForGoCodes(OWLGraphWrapper eco, String... goCodes)
eco
- goCodes
-
public static Set<org.semanticweb.owlapi.model.OWLClass> getClassesForGoCodes(OWLGraphWrapper eco, Set<String> goCodes)
eco
- goCodes
-
public static Set<String> getCodes(Set<org.semanticweb.owlapi.model.OWLClass> classes, OWLGraphWrapper eco)
public static Set<String> getCodes(Set<org.semanticweb.owlapi.model.OWLClass> classes, OWLGraphWrapper eco, boolean includeDescendants)
classes
- eco
- includeDescendants
- set to true if sub classes should be included
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |