Hello,
I attended the great webinar yesterday on BioExcel, and I would like to use MDAnalysis alongside other MD simulation analysis tools like MDtraj.
During my dissociation simulation for protein/DNA complex, the system (protein) rotates (noticed during visual inspection), So I want to quantify this rotation.
MDAnalysis.lib.transformations.euler_from_matrix() (unfortunately the documentation is missing… see the example code in the docs and the source https://github.com/MDAnalysis/mdanalysis/blob/149eb504e35670568201af28306fa04462f6c100/package/MDAnalysis/lib/transformations.py#L1061 ) : should give you exactly what you want:MDAnalysis.lib.transformations.euler_from_matrix(R, axes=“szxz")MDAnalysis.lib.transformations.rotation_from_matrixMDAnalysis.lib.transformations.decompose_matrix() https://docs.mdanalysis.org/stable/documentation_pages/lib/transformations.html#MDAnalysis.lib.transformations.decompose_matrix will take a 4x4 matrix M (where M[:3, :3] == R and M[:, 3] = M[3, :] == [0, 0, 1]) and give you amongst other things the Euler angles around static (s) x,y, z axes (“sxyz” convention). --
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-discussion/801090cd-846e-4c64-8367-fddd12f924aan%40googlegroups.com.