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 (최근 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]
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
채택된 답변
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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surfaces, Volumes, and Polygons에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!