Is there any built-in code in MATLAB that calculates phi-psi angles in pdb file as the bio.pdb module in biopython does?

조회 수: 9(최근 30일)
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]
Since I found MATLAB easier than biopython, I wanted to know if there's a way to calculate the dihedral angles in MATLAB itself.

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2023년 1월 30일
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.

추가 답변(0개)


Find more on Biotech and Pharmaceutical in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by