pypath.inputs.kegg.kegg_medicus§

pypath.inputs.kegg.kegg_medicus(max_entity_variations=10)[source]§

Retrieves and preprocesses the KEGG MEDICUS database. Returns a set of raw interaction records (with the original identifiers and some further attributes). Nested complexes and protein families are flattened which means each interacting pair is either a single protein or a protein complex. Then the combination of all variants of each interacting partner yields a separate record. E.g. if a family of 3 proteins interacts with a protein complex where one of the members can be 2 alternative proteins then this interaction yields 6 records.

max_entity_variationsint

In KEGG MEDICUS many molecular entities are protein families or families of often large and nested protein complexes. By this option you can limit largest number of variants a single entity might yield, so you won’t end up with one complex yielding hundreds of combinatiorial variants.