Related Experiment Video
Updated: Jun 17, 2026

Structural Studies of Macromolecules in Solution using Small Angle X-Ray Scattering
Published on: November 5, 2018
Fast determination of the optimal rotational matrix for macromolecular superpositions
Pu Liu1, Dimitris K Agrafiotis, Douglas L Theobald
1Johnson & Johnson Pharmaceutical Research and Development, L.L.C., 665 Stockton Drive, Exton, Pennsylvania 19341, USA. pliu24@its.jnj.com
Abstract:
Finding the rotational matrix that minimizes the sum of squared deviations between two vectors is an important problem in bioinformatics and crystallography. Traditional algorithms involve the inversion or decomposition of a 3 x 3 or 4 x 4 matrix, which can be computationally expensive and numerically unstable in certain cases. Here, we present a simple and robust algorithm to rapidly determine the optimal rotation using a Newton-Raphson quaternion-based method and an adjoint matrix. Our method is at least an order of magnitude more efficient than conventional inversion/decomposition methods, and it should be particularly useful for high-throughput analyses of molecular conformations.
Related Concept Videos
¹H NMR of Conformationally Flexible Molecules: Temporal Resolution
Fischer Projections
Newman Projections
The organic molecules rotate across the single bonds leading to numerous temporary three-dimensional structures of varying energy known as conformers.

