owltools.gaf.owl
Class AnnotationExtensionFolder
java.lang.Object
owltools.gaf.owl.GAFOWLBridge
owltools.gaf.owl.AnnotationExtensionFolder
public class AnnotationExtensionFolder
- extends GAFOWLBridge
- Author:
- cjm
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
See:
http://code.google.com/p/owltools/wiki/AnnotationExtensionFolding
Field Summary |
Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> |
foldedClassMap
|
Methods inherited from class owltools.gaf.owl.GAFOWLBridge |
addAxioms, getBioentityMapping, getDescription, getObjectPropertyByShorthand, getOWLClass, getTargetOntology, isBasicAboxMapping, isGenerateIndividuals, setBasicAboxMapping, setBioentityMapping, setGenerateIndividuals, setTargetOntology, translate, translateBioentity, translateGeneAnnotation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
foldedClassMap
public Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> foldedClassMap
AnnotationExtensionFolder
public AnnotationExtensionFolder(OWLGraphWrapper g)
fold
public void fold(GafDocument gdoc)
fold
public void fold(GafDocument gdoc,
boolean isReplace)
fold
public 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
- Parameters:
gdoc
- ann
-
- Returns:
- annotations
mapExt
public org.semanticweb.owlapi.model.OWLClass mapExt(org.semanticweb.owlapi.model.OWLClass annotatedToClass,
List<ExtensionExpression> exts)
getFoldedClassMap
public Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> getFoldedClassMap()
setFoldedClassMap
public void setFoldedClassMap(Map<org.semanticweb.owlapi.model.OWLClass,org.semanticweb.owlapi.model.OWLClassExpression> foldedClassMap)
Copyright © 2010-2013. All Rights Reserved.