immuneML.simulation.simulation_strategy package

Submodules

immuneML.simulation.simulation_strategy.ImplantingStrategy module

class immuneML.simulation.simulation_strategy.ImplantingStrategy.ImplantingStrategy[source]

Bases: SimulationStrategy

MIN_RANGE_PROBABILITY = 1e-05
process_sequences(sequences: BNPDataClass, seqs_per_signal_count: dict, use_p_gens: bool, sequence_type: SequenceType, sim_item: SimConfigItem, all_signals: List[Signal], remove_positives_first: bool, **kwargs) BNPDataClass[source]

immuneML.simulation.simulation_strategy.RejectionSamplingStrategy module

class immuneML.simulation.simulation_strategy.RejectionSamplingStrategy.RejectionSamplingStrategy[source]

Bases: SimulationStrategy

MAX_MOTIFS_PER_SEQUENCE = 1
MAX_SIGNALS_PER_SEQUENCE = 2
process_sequences(sequences: BNPDataClass, seqs_per_signal_count: dict, use_p_gens: bool, sequence_type: SequenceType, sim_item: SimConfigItem, all_signals: List[Signal], remove_positives_first: bool, **kwargs) BNPDataClass[source]

immuneML.simulation.simulation_strategy.SimulationStrategy module

class immuneML.simulation.simulation_strategy.SimulationStrategy.SimulationStrategy[source]

Bases: object

abstract process_sequences(sequences: BNPDataClass, seqs_per_signal_count: dict, use_p_gens: bool, sequence_type: SequenceType, sim_item: SimConfigItem, all_signals: List[Signal], remove_positives_first: bool, **kwargs) BNPDataClass[source]

Module contents