seqgra.writer.xmldatadefinitionwriter module¶
MIT - CSAIL - Gifford Lab - seqgra
Abstract base class for configuration file writer
@author: Konstantin Krismer
- class XMLDataDefinitionWriter[source]¶
Bases:
seqgra.writer.datadefinitionwriter.DataDefinitionWriter
- static attach_alphabet_distribution(ads_element, ad: seqgra.model.data.alphabetdistribution.AlphabetDistribution) → None[source]¶
- static attach_background_element(root, background: seqgra.model.data.background.Background) → None[source]¶
- static attach_condition_element(conditions_element, condition: seqgra.model.data.condition.Condition) → None[source]¶
- static attach_conditions_element(root, conditions: List[seqgra.model.data.condition.Condition]) → None[source]¶
- static attach_data_generation_element(root, data_generation: seqgra.model.data.datageneration.DataGeneration) → None[source]¶
- static attach_general_element(root, data_definition: seqgra.model.data.datadefinition.DataDefinition) → None[source]¶
- static attach_matrix_position_element(matrix_element, letters: List[seqgra.schema.ProbabilisticToken]) → None[source]¶
- static attach_rule_element(grammar_element, rule: seqgra.model.data.rule.Rule) → None[source]¶
- static attach_sc_element(scs_element, spacing_constraint: seqgra.model.data.spacingconstraint.SpacingConstraint) → None[source]¶
- static attach_se_element(ses_element, sequence_element: seqgra.model.data.sequenceelement.SequenceElement) → None[source]¶
- static attach_ses_element(root, sequence_elements: List[seqgra.model.data.sequenceelement.SequenceElement]) → None[source]¶
- static attach_set_element(sets_element, example_set: seqgra.model.data.datageneration.DataGenerationSet) → None[source]¶
- static write_data_definition_to_file(data_definition: seqgra.model.data.datadefinition.DataDefinition, file_name: str)[source]¶