pypath.inputs.pdb.pdb_chains§
- pypath.inputs.pdb.pdb_chains()[source]§
Amino acid chain level mapping between PDB and UniProt. Returns two dictionaries: * The first has UniProt IDs as keys and lists of dicts as values. Each
of these dicts defines a mapping between UniProt and PDB amino acid chains with the chain identifier, PDB structure identifier and the start and end of the chain in the UniProt sequence and the PDB structure; the offset value is an integer if the PDB and the UniProt chain are the same length, otherwise None.
The second dict has PDB IDs as keys and dicts of chain mapping dicts as values, which are similar to the ones in the previous point, but here the chain identifiers are the keys.