seqgra.parser.xmldatadefinitionparser module¶
MIT - CSAIL - Gifford Lab - seqgra
Implementation of Parser for XML configuration files (using Strategy design pattern)
@author: Konstantin Krismer
- class XMLDataDefinitionParser(config: str, silent: bool = False)[source]¶
Bases:
seqgra.parser.datadefinitionparser.DataDefinitionParser
The Strategy interface declares operations common to all supported versions of some algorithm.
The Context uses this interface to call the algorithm defined by Concrete Strategies.
- get_background(valid_conditions: List[seqgra.model.data.condition.Condition]) → seqgra.model.data.background.Background[source]¶
- get_conditions(valid_sequence_elements: List[seqgra.model.data.sequenceelement.SequenceElement]) → List[seqgra.model.data.condition.Condition][source]¶
- get_data_definition() → seqgra.model.data.datadefinition.DataDefinition[source]¶
- get_data_generation(valid_conditions: List[seqgra.model.data.condition.Condition]) → seqgra.model.data.datageneration.DataGeneration[source]¶
- get_sequence_elements() → List[seqgra.model.data.sequenceelement.SequenceElement][source]¶