public class GafToLegoIndividualTranslator extends Object
GeneAnnotation
to the all individual lego annotation model.Constructor and Description |
---|
GafToLegoIndividualTranslator(OWLGraphWrapper graph,
boolean addLineNumber) |
Modifier and Type | Method and Description |
---|---|
protected void |
reportError(String error,
GeneAnnotation annotation) |
protected void |
reportWarn(String warning,
GeneAnnotation annotation) |
void |
translate(Collection<GeneAnnotation> annotations,
org.semanticweb.owlapi.model.OWLOntology lego)
Translate the given annotations (
GeneAnnotation ) into an OWL representation of the LEGO model. |
org.semanticweb.owlapi.model.OWLOntology |
translate(GafDocument gaf)
Translate the given
GafDocument into an OWL representation of the LEGO model. |
void |
translate(GeneAnnotation annotation,
Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
Translate theGeneAnnotation into an OWL representation of the LEGO model.
|
public GafToLegoIndividualTranslator(OWLGraphWrapper graph, boolean addLineNumber)
protected void reportError(String error, GeneAnnotation annotation)
protected void reportWarn(String warning, GeneAnnotation annotation)
public org.semanticweb.owlapi.model.OWLOntology translate(GafDocument gaf) throws org.semanticweb.owlapi.model.OWLException
GafDocument
into an OWL representation of the LEGO model.gaf
- org.semanticweb.owlapi.model.OWLException
public void translate(Collection<GeneAnnotation> annotations, org.semanticweb.owlapi.model.OWLOntology lego) throws org.semanticweb.owlapi.model.OWLException
GeneAnnotation
) into an OWL representation of the LEGO model.annotations
- lego
- org.semanticweb.owlapi.model.OWLException
public void translate(GeneAnnotation annotation, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms) throws org.semanticweb.owlapi.model.OWLException
annotation
- axioms
- org.semanticweb.owlapi.model.OWLException
Copyright © 2010–2015. All rights reserved.