public class AnnotationExtensionFolder extends GAFOWLBridge
GAFOWLBridge.BioentityMapping, GAFOWLBridge.GAFDescription, GAFOWLBridge.Vocab
Modifier and Type | Field and Description |
---|---|
Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> |
foldedClassMap |
GAF_LINE_NUMBER_ANNOTATION_PROPERTY_IRI, graph
Constructor and Description |
---|
AnnotationExtensionFolder(OWLGraphWrapper g) |
Modifier and Type | Method and Description |
---|---|
void |
fold(GafDocument gdoc) |
void |
fold(GafDocument gdoc,
boolean isReplace) |
Collection<GeneAnnotation> |
fold(GafDocument gdoc,
GeneAnnotation ann)
given an annotation to a pre-existing term,
this will return a set of zero or more annotations to new terms that are generated from
folding the annotation extensions into newly created term
|
Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> |
getFoldedClassMap() |
org.semanticweb.owlapi.model.OWLClass |
mapExt(org.semanticweb.owlapi.model.OWLClass annotatedToClass,
List<ExtensionExpression> exts) |
void |
setFoldedClassMap(Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> foldedClassMap) |
addAxioms, getBioentityMapping, getDescription, getObjectPropertyByShorthand, getOWLClass, getTargetOntology, isBasicAboxMapping, isGenerateIndividuals, isSkipNotAnnotations, setBasicAboxMapping, setBioentityMapping, setGenerateIndividuals, setSkipNotAnnotations, setTargetOntology, translate, translateBioentity, translateGeneAnnotation
public Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> foldedClassMap
public AnnotationExtensionFolder(OWLGraphWrapper g)
public void fold(GafDocument gdoc)
public void fold(GafDocument gdoc, boolean isReplace)
public Collection<GeneAnnotation> fold(GafDocument gdoc, GeneAnnotation ann)
gdoc
- ann
- public org.semanticweb.owlapi.model.OWLClass mapExt(org.semanticweb.owlapi.model.OWLClass annotatedToClass, List<ExtensionExpression> exts)
public Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> getFoldedClassMap()
public void setFoldedClassMap(Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> foldedClassMap)
Copyright © 2010-2014. All Rights Reserved.