pypath.inputs.uniprot_idmapping.idtypes§

pypath.inputs.uniprot_idmapping.idtypes(pairs: bool = True, raw: bool = False) dict[str, DataFrame] | set[tuple[str, str]] | dict[source]§

Identifier types in the UniProt ID mapping service.

Parameters:
  • pairs – Process the data into pairs of identifiers.

  • raw – Return the raw data as extracted from JSON.

Returns:

The JSON contents as a dict if raw is True, a list of tuples if pairs is True, otherwise a set of tuples of ID types.