Hello everybody, Iam Ram kumar. May i know how to calculate phi and psi angles with x,y,z co-ordinates from PDB files.. is there any formula to do ..?

9 views (last 30 days)
  • _ | bold|_*
  2 Comments
John D'Errico
John D'Errico on 12 Jan 2017
Of course there is a formula. What you mean by phi and psi angles, we don't know. Maybe it has something to do with spherical coordinates. If that is it, then why would you not just use google instead of waiting for a response?
https://en.wikipedia.org/wiki/Spherical_coordinate_system
That your numbers come from whatever file type you have, you need to learn to read the numbers into MATLAB. That has nothing at all to do with any formula anyway.
Ram kumar Masilamani
Ram kumar Masilamani on 16 Jan 2017
john, phi and psi are dihedral angles of amino acid residues present in protein. I need to calculate phi and psi angles of each and every residue. u have suggest me spherical coordinate system. with my knowledge it is different from torsional angles. thank u for your suggestion.

Sign in to comment.

Answers (1)

Luuk van Oosten
Luuk van Oosten on 16 Jan 2017
Dear Ram Kumar,
You could use Ramachandran. If you do something like the following:
Kumar = ramachandran('Your_PDB_database_identifier')
You will have the 1x1 struct 'Kumar' in your workspace. Access the angles (phi, psi and omega) by:
Kumar.Angles
You could also do it as D'Errico described. In that case you could just open a *.PDB file as follows:
Kumar_pdbstruct = pdbread('your_pdb_file_name.pdb');
And then access the XYZ coordinates using
Kumar_pdbstruct.Model.Atom
There you will have the XYZ coordinates of every atom in the protein model, and you can calculate the corresponding dihedral angles yourself.
Have fun.
  4 Comments
Walter Roberson
Walter Roberson on 16 Jan 2017
Luuk van Oosten: it appears to me that article is about calculating XYZ coordinates from angles; at least the abstract only mentions that direction.
Luuk van Oosten
Luuk van Oosten on 16 Jan 2017
That is correct. Nevertheless, it would be a good starting point, as the article also refers to other work which describes different algorithms. Another quick google search also gives you this small, but nice explanation, which would be another place to start calculating the angles from Cartesian coordinates.

Sign in to comment.

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!