Is there any built-in code in MATLAB that calculates phi-psi angles in pdb file as the bio.pdb module in biopython does?
4 views (last 30 days)
Show older comments
Bio.pdb module in biopython helps in calculating the dihedral angles (phi-psi angles)
for poly_index, poly in enumerate(polypeptides) :
phi_psi = poly.get_phi_psi_list()
for res_index, residue in enumerate(poly) :
phi, psi = phi_psi[res_index]
Ref: https://warwick.ac.uk/fac/sci/moac/people/students/peter_cock/python/ramachandran/calculate/ramachandran_biopython.py.
Since I found MATLAB easier than biopython, I wanted to know if there's a way to calculate the dihedral angles in MATLAB itself.
0 Comments
Accepted Answer
Arthur Goldsipe
on 30 Jan 2023
Yes, take a look at the ramachandran function. It's primarily designed to show these angles in a Ramachadran plot, but it has options to turn off the plot and return these angles as an output.
More Answers (0)
See Also
Categories
Find more on Surfaces, Volumes, and Polygons in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!