proteindf_bridge.modeling module¶
- class proteindf_bridge.modeling.Modeling[source]¶
Bases:
object- arbitary_rotate_matrix(in_a, in_b)[source]¶
Return the rotation matrix R (3x3) such that applying R to in_b yields a vector pointing in the direction of in_a (i.e. R.dot(in_b) is parallel to in_a; see add_methyl/get_NH3 usage, which rotate a template’s own reference axis (in_b) onto a real bond direction (in_a)).
Computed using Rodrigues’ rotation formula, and the resulting matrix is orthonormal.
- get_ACE(res, next_aa=None)[source]¶
template (ACE-ALA-NME) format:
HH3[1-3]-CH3-C - N-CA(HA)-C- N-CH3-HH3[1-3] || | | || | O H CB O H