How To Predict Or Calculate The Physical Distance Of Given Amino Acids
1
0
Entering edit mode
12.2 years ago

Hi, All,

I am recently doing a little bit work on protein structure, and have some problems. I want to download full proteins with crystal structure in PDB, then i need to sort out proteins with two or three physically closed AA (e.g. cysteines). So, my question is how to calculate or predict the physical distance of the given AA? Any tools can do it ?

protein structure prediction • 8.4k views
ADD COMMENT
2
Entering edit mode
12.2 years ago
Sheila ▴ 280

A simple method is to extract all coordinate from PDB file for 'CA' atom and then calculate the euclidean distance between them.
If you use python here is simple code which can help you as starting point
But I will not recommend to use it for analysis as it is not optimized and PDB files have many chains in which case it will give error

pdb_aa_cord = []
for i in open(pdb_file_name):
    j=i.split()
    if j[0]=='ATOM'and j[2]=='CA':
        pdb_aa_cord.append((j[:5], float(j[6]), float(j[7]),float(j[8])))

for i,x in enumerate(pdb_aa_cord):
    for y in pdb_aa_cord[i+1:]:
        euc_dist = ((x[1]-y[1])**2 + (x[2]-y[2])**2 + (x[3]-y[3])**2)**0.5
        print 'distance %s vs %s %f' %(' '.join(x[0]),' '.join(y[0]), euc_dist )
ADD COMMENT
0
Entering edit mode

You can also do modifications for how you calculate your distances, depending on what you want to know. You can calculate the distance between the centre of mass of the side chains, distance of the nearest two atoms, etc. In my experience taking the side-chains in to account for measuring the distance gives more relevant results than the alpha-carbon distances. But either way you do it it is just a matter of calculating Euclidean distances in 3D space, and you have the 3D coordinates in the file. It's pretty straightforward.

ADD REPLY
0
Entering edit mode

Is it possible to explain the above code a little bit?

ADD REPLY

Login before adding your answer.

Traffic: 2015 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6