seqgra.simulator.simulator module
MIT - CSAIL - Gifford Lab - seqgra
Generates synthetic sequences based on grammar
@author: Konstantin Krismer
-
class Simulator(data_definition: seqgra.model.data.datadefinition.DataDefinition, output_dir: str, silent: bool = False)[source]
Bases: object
-
check_grammar() → bool[source]
-
check_invalid_distances() → bool[source]
-
check_invalid_positions() → bool[source]
-
check_invalid_sequence_elements() → bool[source]
-
check_missing_alphabet_distributions() → bool[source]
-
check_mutually_exclusive_probabilities() → bool[source]
-
check_overlapping_sequence_elements() → bool[source]
-
check_spacing_contraint_se_refs() → bool[source]
-
check_unused_conditions() → bool[source]
-
check_unused_sequence_elements() → bool[source]
-
create_empirical_similarity_score_matrix(padding_size: int = 100, num_examples: int = 100) → None[source]
-
create_grammar_heatmap(set_name: str) → None[source]
-
create_motif_info() → None[source]
-
create_motif_kl_divergence_matrix() → None[source]
-
simulate_data() → None[source]
-
write_session_info() → None[source]