owltools.gaf.owl
Class GAFOWLBridge

java.lang.Object
  extended by owltools.gaf.owl.GAFOWLBridge
Direct Known Subclasses:
AnnotationExtensionFolder

public class GAFOWLBridge
extends Object


Nested Class Summary
static class GAFOWLBridge.BioentityMapping
           
static class GAFOWLBridge.Vocab
           
 
Field Summary
static org.semanticweb.owlapi.model.IRI GAF_LINE_NUMBER_ANNOTATION_PROPERTY_IRI
           
protected  OWLGraphWrapper graph
           
 
Constructor Summary
GAFOWLBridge(OWLGraphWrapper g)
           
GAFOWLBridge(OWLGraphWrapper g, org.semanticweb.owlapi.model.OWLOntology tgtOnt)
          The ontology generated from the gaf will be placed in tgtOnt The graphwrapper object should include ontologies required to resolve certain entities, including the relations used in col16.
 
Method Summary
 GAFOWLBridge.BioentityMapping getBioentityMapping()
           
protected  org.semanticweb.owlapi.model.OWLObjectProperty getObjectPropertyByShorthand(String id)
           
protected  org.semanticweb.owlapi.model.OWLClass getOWLClass(String id)
           
 org.semanticweb.owlapi.model.OWLOntology getTargetOntology()
           
 boolean isGenerateIndividuals()
           
 void setBioentityMapping(GAFOWLBridge.BioentityMapping bioentityMapping)
           
 void setGenerateIndividuals(boolean isGenerateIndividuals)
           
 void setTargetOntology(org.semanticweb.owlapi.model.OWLOntology targetOntology)
           
 org.semanticweb.owlapi.model.OWLOntology translate(GafDocument gafdoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graph

protected OWLGraphWrapper graph

GAF_LINE_NUMBER_ANNOTATION_PROPERTY_IRI

public static org.semanticweb.owlapi.model.IRI GAF_LINE_NUMBER_ANNOTATION_PROPERTY_IRI
Constructor Detail

GAFOWLBridge

public GAFOWLBridge(OWLGraphWrapper g)

GAFOWLBridge

public GAFOWLBridge(OWLGraphWrapper g,
                    org.semanticweb.owlapi.model.OWLOntology tgtOnt)
The ontology generated from the gaf will be placed in tgtOnt The graphwrapper object should include ontologies required to resolve certain entities, including the relations used in col16. In future it will also be used to translate GAF evidence codes into ECO class IRIs. These ontologies could be the main ontology or support ontologies. A standard pattern is to have GO as the main, ro.owl and go/extensions/gorel.owl as support. (gorel is where many of the c16 relations are declared)

Parameters:
g -
tgtOnt -
Method Detail

getBioentityMapping

public GAFOWLBridge.BioentityMapping getBioentityMapping()
Returns:
the bioentityMapping

setBioentityMapping

public void setBioentityMapping(GAFOWLBridge.BioentityMapping bioentityMapping)
Parameters:
bioentityMapping - the bioentityMapping to set

isGenerateIndividuals

public boolean isGenerateIndividuals()

setGenerateIndividuals

public void setGenerateIndividuals(boolean isGenerateIndividuals)

getTargetOntology

public org.semanticweb.owlapi.model.OWLOntology getTargetOntology()

setTargetOntology

public void setTargetOntology(org.semanticweb.owlapi.model.OWLOntology targetOntology)

translate

public org.semanticweb.owlapi.model.OWLOntology translate(GafDocument gafdoc)
Parameters:
gafdoc -
Returns:
translated ontology

getObjectPropertyByShorthand

protected org.semanticweb.owlapi.model.OWLObjectProperty getObjectPropertyByShorthand(String id)

getOWLClass

protected org.semanticweb.owlapi.model.OWLClass getOWLClass(String id)


Copyright © 2010-2013. All Rights Reserved.