pypath.inputs.interpro.interpro_xrefs§

pypath.inputs.interpro.interpro_xrefs(db_type: Literal['go', 'structural', 'external']) Dict[str, List[str] | Dict[str, List[str]]][source]§

Downloads cross-references for each InterPro entry.

Args

db_type: Type of the cross-reference databases.

Returns
A dictionary; keys are InterPro IDs.

If ‘db_type’ is ‘go’, values are list of GO terms related to the InterPro entry. Otherwise values are dictionaries, where keys are database names and the values are list of cross references related to the InterPro entry.