June 2015
Intermediate to advanced
306 pages
6h 50m
English
We will now perform computations with geometry information, including computing the center of mass of chains and of whole models.
You can find this content in the 06_Prot/Mass.ipynb notebook.
Take a look at the following steps:
from __future__ import print_function
import numpy as np
from Bio import PDB
repository = PDB.PDBList()
parser = PDB.PDBParser()
repository.retrieve_pdb_file('1TUP', pdir='.')
p53_1tup = parser.get_structure('P 53', 'pdb1tup.ent')my_residues = set()
for residue in p53_1tup.get_residues():
my_residues.add(residue.id[0])
print(my_residues)H_ ZN (zinc) ...Read now
Unlock full access