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()
AnnotationRulesFactory
init
in interface AnnotationRulesFactory
protected 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
- Exception
public List<AnnotationRule> getGeneAnnotationRules()
AnnotationRulesFactory
GeneAnnotation
getGeneAnnotationRules
in interface AnnotationRulesFactory
public List<AnnotationRule> getGafDocumentRules()
AnnotationRulesFactory
GafDocument
).getGafDocumentRules
in interface AnnotationRulesFactory
public List<AnnotationRule> getOwlRules()
AnnotationRulesFactory
GafDocument
) and OWL.getOwlRules
in interface AnnotationRulesFactory
public List<AnnotationRule> getInferenceRules()
AnnotationRulesFactory
GafDocument
) and the OWL.getInferenceRules
in interface AnnotationRulesFactory
public List<AnnotationRule> getExperimentalInferenceRules()
AnnotationRulesFactory
GafDocument
) and the OWL.getExperimentalInferenceRules
in interface AnnotationRulesFactory
public OWLGraphWrapper getGraph()
AnnotationRulesFactory
getGraph
in interface AnnotationRulesFactory
Copyright © 2010–2015. All rights reserved.