pypath.inputs.unichem.unichem_mapping§

pypath.inputs.unichem.unichem_mapping(id_type_a, id_type_b)[source]§

Identifier translation data from UniChem.

Args
id_type_a (int,str): An ID type in UniChem: either the integer ID or

the string label of a resource. For a full list see unichem_sources.

id_type_b (int,str): An ID type in UniChem, same way as

id_type_a.

Returns
(dict): A dictionary with ID translation data, keys are IDs of

id_type_a, values are sets of IDs of id_type_b.