public class AnnotationRulesFactoryImpl extends Object implements AnnotationRulesFactory
AnnotationRule
objects from the qc file.| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<DateFormat> |
status_df |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationRulesFactoryImpl(String path,
OWLGraphWrapper graph) |
| Modifier and Type | Method and Description |
|---|---|
protected AnnotationRule |
getClassForName(String className) |
List<AnnotationRule> |
getExperimentalInferenceRules()
Get the list of rules, which check for inferred annotations.
|
List<AnnotationRule> |
getGafDocumentRules()
Get the list of rules, which require a global view of the GAF (
GafDocument). |
List<AnnotationRule> |
getGeneAnnotationRules()
Get the list of rules to be applied for each
GeneAnnotation |
OWLGraphWrapper |
getGraph()
Get the underlying ontology graph for this rule factory.
|
List<AnnotationRule> |
getInferenceRules()
Get the list of rules, which check for inferred annotations.
|
List<AnnotationRule> |
getOwlRules()
Get the list of rules, which require a global view of the GAF (
GafDocument) and OWL. |
protected void |
handleAdditionalRules(List<AnnotationRule> annotationRules,
List<AnnotationRule> documentRules,
List<AnnotationRule> owlRules,
List<AnnotationRule> inferenceRules,
List<AnnotationRule> experimentalInferenceRules) |
void |
init()
Initialize the factory.
|
public static final ThreadLocal<DateFormat> status_df
protected AnnotationRulesFactoryImpl(String path, OWLGraphWrapper graph)
path - location of the annotation_qc.xml filegraph - public void init()
AnnotationRulesFactoryinit in interface AnnotationRulesFactoryprotected void handleAdditionalRules(List<AnnotationRule> annotationRules, List<AnnotationRule> documentRules, List<AnnotationRule> owlRules, List<AnnotationRule> inferenceRules, List<AnnotationRule> experimentalInferenceRules)
protected AnnotationRule getClassForName(String className) throws Exception
className - Exceptionpublic List<AnnotationRule> getGeneAnnotationRules()
AnnotationRulesFactoryGeneAnnotationgetGeneAnnotationRules in interface AnnotationRulesFactorypublic List<AnnotationRule> getGafDocumentRules()
AnnotationRulesFactoryGafDocument).getGafDocumentRules in interface AnnotationRulesFactorypublic List<AnnotationRule> getOwlRules()
AnnotationRulesFactoryGafDocument) and OWL.getOwlRules in interface AnnotationRulesFactorypublic List<AnnotationRule> getInferenceRules()
AnnotationRulesFactoryGafDocument) and the OWL.getInferenceRules in interface AnnotationRulesFactorypublic List<AnnotationRule> getExperimentalInferenceRules()
AnnotationRulesFactoryGafDocument) and the OWL.getExperimentalInferenceRules in interface AnnotationRulesFactorypublic OWLGraphWrapper getGraph()
AnnotationRulesFactorygetGraph in interface AnnotationRulesFactoryCopyright © 2010–2015. All rights reserved.