immuneML.IO.dataset_export package

Submodules

immuneML.IO.dataset_export.AIRRExporter module

class immuneML.IO.dataset_export.AIRRExporter.AIRRExporter[source]

Bases: immuneML.IO.dataset_export.DataExporter.DataExporter

Exports a RepertoireDataset of Repertoires in AIRR format.

Things to note:
  • one filename_prefix is given, which is combined with the Repertoire identifiers

for the filenames, to create one file per Repertoire - ‘counts’ is written into the field ‘duplicate_counts’ - ‘sequence_identifiers’ is written both into the fields ‘sequence_id’ and ‘rearrangement_id’

static export(dataset: <module 'immuneML.data_model.dataset.Dataset' from '/Users/milenpa/PycharmProjects/BMIImmuneML/immuneML/data_model/dataset/Dataset.py'>, path: pathlib.Path, region_type=<RegionType.IMGT_CDR3: 'IMGT_CDR3'>)[source]
static export_updated_metadata(dataset: immuneML.data_model.dataset.RepertoireDataset.RepertoireDataset, result_path: pathlib.Path, repertoire_folder: str)[source]
static get_sequence_aa_field(region_type)[source]
static get_sequence_field(region_type)[source]
static update_gene_columns(df, allele_name, gene_name)[source]

immuneML.IO.dataset_export.DataExporter module

class immuneML.IO.dataset_export.DataExporter.DataExporter[source]

Bases: object

abstract static export(dataset: immuneML.data_model.dataset.Dataset.Dataset, path: pathlib.Path)[source]

immuneML.IO.dataset_export.PickleExporter module

class immuneML.IO.dataset_export.PickleExporter.PickleExporter[source]

Bases: immuneML.IO.dataset_export.DataExporter.DataExporter

static export(dataset: immuneML.data_model.dataset.Dataset.Dataset, path: pathlib.Path)[source]

Module contents