Source code for immuneML.simulation.simulation_strategy.SimulationStrategy

import abc
from typing import List

from bionumpy.bnpdataclass import BNPDataClass

from immuneML.environment.SequenceType import SequenceType
from immuneML.simulation.SimConfigItem import SimConfigItem
from immuneML.simulation.implants.Signal import Signal


[docs] class SimulationStrategy:
[docs] @abc.abstractmethod def process_sequences(self, 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: pass