How to use Biopython to calculate the protein residue contact map from a PDBfile,and the final contact map is storage in Numpy array as a .npy file.
if you can, pls give me some explicit guidence or examples . thanx for your help.
How to use Biopython to calculate the protein residue contact map from a PDBfile,and the final contact map is storage in Numpy array as a .npy file.
if you can, pls give me some explicit guidence or examples . thanx for your help.
Ok , my attempt , given as Contact Map (from Contact maps) :
and
calc_dist_matrixfrom Protein Contact Maps using Biopythoninput
1rei.pdb, 1REI :Code :
using a cutoff of 20.0 A and Cα-Cα as distance between residues
here is the image output with
PIL, my map is :grayscale (0 or 255)
inverted