immuneML.dsl.instruction_parsers package¶
Submodules¶
immuneML.dsl.instruction_parsers.ApplyGenModelParser module¶
immuneML.dsl.instruction_parsers.ClusteringParser module¶
immuneML.dsl.instruction_parsers.DatasetExportParser module¶
- class immuneML.dsl.instruction_parsers.DatasetExportParser.DatasetExportParser[source]¶
Bases:
object
Specification of instruction with a random datasets:
- definitions:
- datasets:
- my_generated_dataset: # a dataset to be exported in the given format
format: RandomRepertoireDataset params:
result_path: generated_dataset/ repertoire_count: 100 sequence_count_probabilities:
100: 0.5 120: 0.5
- sequence_length_probabilities:
12: 0.333 13: 0.333 14: 0.333
- labels:
- immune_event_1:
yes: 0.5 no: 0.5
- preprocessing_sequences:
- my_preprocessing:
- my_filter:
- ClonesPerRepertoireFilter:
lower_limit: 110 upper_limit: 200
- instructions:
- my_instruction1: # instruction name
type: DatasetExport datasets: # list of datasets to export
my_generated_dataset
preprocessing_sequence: my_preprocessing_sequence number_of_processes: 4 export_formats: # list of formats to export the datasets to
AIRR
- OPTIONAL_KEYS = ['preprocessing_sequence', 'number_of_processes']¶
- REQUIRED_KEYS = ['type', 'datasets', 'export_formats']¶
- parse(key: str, instruction: dict, symbol_table: SymbolTable, path: Path = None) DatasetExportInstruction [source]¶
immuneML.dsl.instruction_parsers.ExploratoryAnalysisParser module¶
immuneML.dsl.instruction_parsers.FeasibilitySummaryParser module¶
immuneML.dsl.instruction_parsers.LabelHelper module¶
immuneML.dsl.instruction_parsers.LigoSimParser module¶
immuneML.dsl.instruction_parsers.MLApplicationParser module¶
immuneML.dsl.instruction_parsers.SubsamplingParser module¶
- class immuneML.dsl.instruction_parsers.SubsamplingParser.SubsamplingParser[source]¶
Bases:
object
- parse(key: str, instruction: dict, symbol_table: SymbolTable, path: Path = None) SubsamplingInstruction [source]¶