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 ..?
7 次查看(过去 30 天)
显示 更早的评论
- _ | bold|_*
2 个评论
John D'Errico
2017-1-12
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.
回答(1 个)
Luuk van Oosten
2017-1-16
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 个评论
Walter Roberson
2017-1-16
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
2017-1-16
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Parallel Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!