immuneML.data_model.receptor package
Subpackages
- immuneML.data_model.receptor.receptor_sequence package
- Submodules
- immuneML.data_model.receptor.receptor_sequence.Chain module
- immuneML.data_model.receptor.receptor_sequence.ReceptorSequence module
ReceptorSequence
ReceptorSequence.FIELDS
ReceptorSequence.create_from_record()
ReceptorSequence.get_attribute()
ReceptorSequence.get_record()
ReceptorSequence.get_record_names()
ReceptorSequence.get_sequence()
ReceptorSequence.set_annotation()
ReceptorSequence.set_metadata()
ReceptorSequence.set_sequence()
ReceptorSequence.version
- immuneML.data_model.receptor.receptor_sequence.SequenceAnnotation module
- immuneML.data_model.receptor.receptor_sequence.SequenceFrameType module
- immuneML.data_model.receptor.receptor_sequence.SequenceMetadata module
- Module contents
Submodules
immuneML.data_model.receptor.BCKReceptor module
- class immuneML.data_model.receptor.BCKReceptor.BCKReceptor(heavy: ReceptorSequence = None, kappa: ReceptorSequence = None, metadata: dict = None, identifier: str = None)[source]
Bases:
Receptor
- FIELDS = {'heavy': <class 'object'>, 'identifier': <class 'str'>, 'kappa': <class 'object'>, 'metadata': <class 'dict'>, 'version': <class 'str'>}
- version = '1'
immuneML.data_model.receptor.BCReceptor module
- class immuneML.data_model.receptor.BCReceptor.BCReceptor(heavy: ReceptorSequence = None, light: ReceptorSequence = None, metadata: dict = None, identifier: str = None)[source]
Bases:
Receptor
- FIELDS = {'heavy': <class 'object'>, 'identifier': <class 'str'>, 'light': <class 'object'>, 'metadata': <class 'dict'>, 'version': <class 'str'>}
- version = '1'
immuneML.data_model.receptor.ChainPair module
immuneML.data_model.receptor.ElementGenerator module
- class immuneML.data_model.receptor.ElementGenerator.ElementGenerator(file_list: list, file_size: int = 1000, element_class_name: str = '')[source]
Bases:
object
- build_batch_generator()[source]
creates a generator which will return one batch of elements at the time
- Parameters:
batch_size – how many elements should be returned at once (default 1)
- Returns:
element generator
immuneML.data_model.receptor.Receptor module
- class immuneML.data_model.receptor.Receptor.Receptor(metadata: dict = None, identifier: str = None)[source]
Bases:
DatasetItem
- FIELDS = {}
immuneML.data_model.receptor.ReceptorBuilder module
immuneML.data_model.receptor.RegionType module
- class immuneML.data_model.receptor.RegionType.RegionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
- FULL_SEQUENCE = 'FULL_SEQUENCE'
- IMGT_CDR1 = 'IMGT_CDR1'
- IMGT_CDR2 = 'IMGT_CDR2'
- IMGT_CDR3 = 'IMGT_CDR3'
- IMGT_FR1 = 'IMGT_FR1'
- IMGT_FR2 = 'IMGT_FR2'
- IMGT_FR3 = 'IMGT_FR3'
- IMGT_FR4 = 'IMGT_FR4'
- IMGT_JUNCTION = 'IMGT_JUNCTION'
immuneML.data_model.receptor.TCABReceptor module
- class immuneML.data_model.receptor.TCABReceptor.TCABReceptor(alpha: ReceptorSequence = None, beta: ReceptorSequence = None, metadata: dict = None, identifier: str = None)[source]
Bases:
Receptor
- FIELDS = {'alpha': <class 'object'>, 'beta': <class 'object'>, 'identifier': <class 'str'>, 'metadata': <class 'dict'>, 'version': <class 'str'>}
- version = '1'
immuneML.data_model.receptor.TCGDReceptor module
- class immuneML.data_model.receptor.TCGDReceptor.TCGDReceptor(gamma: ReceptorSequence = None, delta: ReceptorSequence = None, metadata: dict = None, identifier: str = None)[source]
Bases:
Receptor
- FIELDS = {'delta': <class 'object'>, 'gamma': <class 'object'>, 'identifier': <class 'str'>, 'metadata': <class 'dict'>, 'version': <class 'str'>}
- version = '1'