pypath.internals.input_formats.ProMapping§
- class pypath.internals.input_formats.ProMapping(id_type_a, id_type_b=None, pro_id_type_a=None, pro_id_type_b=None, ncbi_tax_id=-1)[source]§
Bases:
MappingInput
Provides parameters for mapping table from the Protein Ontology Consortium.
- Parameters:
id_type_a (str) – Custom name for one of the ID types.
id_type_b (str) – Custom name for the other ID type.
pro_id_type_a (str) – This is the symbol PRO uses to label the IDs. These are included in the module and set automatically, the argument only gives a way to override this.
pro_id_type_b (str) – Same as above just for the other ID type.
- __init__(id_type_a, id_type_b=None, pro_id_type_a=None, pro_id_type_b=None, ncbi_tax_id=-1)[source]§
Methods
__init__
(id_type_a[, id_type_b, ...])possible
(id_type_a, id_type_b[, ncbi_tax_id])resource_id_type
(id_type[, override])swap_sides
()