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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
- _ | bold|_*
2 Kommentare
John D'Errico
am 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.
Antworten (1)
Luuk van Oosten
am 16 Jan. 2017
Dear Ram Kumar,
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 Kommentare
Walter Roberson
am 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
am 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.
Siehe auch
Kategorien
Mehr zu MATLAB Parallel Server finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!