# psi-frame to backbone
mat = _make_rigid_transformation_4x4(
ex=atom_positions['C'] - atom_positions['CA'],
ey=atom_positions['CA'] - atom_positions['N'],
translation=atom_positions['C'])
restype_rigid_group_default_frame[restype, 3, :, :] = mat
From paper: For the side chain frames, we use the atom before the torsion bond as x1, the atom after the torsion bond as x2 and the next atom after that as x3. but here, CA atom is the origin of the Psi frame, can you help me to explain this code?
For example:
From paper:
For the side chain frames, we use the atom before the torsion bond as x1, the atom after the torsion bond as x2 and the next atom after that as x3
. but here,CA
atom is the origin of the Psi frame, can you help me to explain this code?