pypath.utils.residues.ResidueMapper§

class pypath.utils.residues.ResidueMapper[source]§

Bases: object

This class stores and serves the PDB –> UniProt residue level mapping. Attempts to download the mapping, and stores it for further use. Converts PDB residue numbers to the corresponding UniProt ones.

__init__()[source]§

Methods

__init__()

chains(chains)

clean()

Removes cached mappings, freeing up memory.

get_pdb_chains()

get_residue(ac, resnum[, chains, pdbs])

load_mapping(pdb)

pdb2uniprot(pdb, resnum[, chains])

uniprot2pdb(uniprot, resnum[, chains, pdbs])

clean()[source]§

Removes cached mappings, freeing up memory.