immuneML.api.galaxy package¶
Submodules¶
immuneML.api.galaxy.DataSimulationTool module¶
immuneML.api.galaxy.DatasetGenerationTool module¶
-
class
immuneML.api.galaxy.DatasetGenerationTool.
DatasetGenerationTool
(specification_path: pathlib.Path, result_path: pathlib.Path, **kwargs)[source]¶ Bases:
immuneML.api.galaxy.GalaxyTool.GalaxyTool
DatasetGenerationTool is an alternative to running ImmuneMLApp directly. It accepts a path to YAML specification and a path to the output directory and generates the dataset according to the given specification. The created dataset will be located under supplied output directory, under results folder. The main dataset file will have the name of the dataset given in the specification and has an extension .iml_dataset.
This tool is meant to be used as an endpoint for Galaxy tool that will create a Galaxy collection out of a dataset in immuneML format.
Specification for this tool is the same as for the DatasetExportInstruction, except it can create only one dataset with one format at the time.
immuneML.api.galaxy.GalaxyMLApplicationTool module¶
immuneML.api.galaxy.GalaxySimulationTool module¶
-
class
immuneML.api.galaxy.GalaxySimulationTool.
GalaxySimulationTool
(specification_path: pathlib.Path, result_path: pathlib.Path, **kwargs)[source]¶ Bases:
immuneML.api.galaxy.GalaxyTool.GalaxyTool
GalaxySimulationTool is an alternative to running immuneML with the simulation instruction directly. It accepts a YAML specification file and a path to the output directory. It implants the signals in the dataset that was provided either as an existing dataset with a set of files or in the random dataset as described in the specification file.
This tool is meant to be used as an endpoint for Galaxy tool that will create a Galaxy collection out of a dataset in immuneML format that can be readily used by other immuneML-based Galaxy tools.
The specification supplied for this tool is identical to immuneML specification, except that it can include only one instruction which has to be of type ‘Simulation’:
immuneML.api.galaxy.GalaxyTool module¶
immuneML.api.galaxy.GalaxyTrainMLModel module¶
immuneML.api.galaxy.GalaxyYamlTool module¶
immuneML.api.galaxy.RepertoireClassificationTool module¶
immuneML.api.galaxy.Util module¶
immuneML.api.galaxy.build_from_objects_dataset_yaml module¶
immuneML.api.galaxy.build_from_objects_yaml_from_arguments module¶
-
immuneML.api.galaxy.build_yaml_from_arguments.
get_ml_method_spec
(ml_method_class, model_selection_n_folds=5)[source]¶