Skip to main content
Biophysical Journal logoLink to Biophysical Journal
. 2003 Nov;85(5):2973–2976. doi: 10.1016/S0006-3495(03)74717-1

Unbiased Rotational Moves for Rigid-Body Dynamics

Daniel A Beard *, Tamar Schlick
PMCID: PMC1303575  PMID: 14581199

Abstract

We introduce an unbiased protocol for performing rotational moves in rigid-body dynamics simulations. This approach—based on the analytic solution for the rotational equations of motion for an orthogonal coordinate system at constant angular velocity—removes deficiencies that have been largely ignored in Brownian dynamics simulations, namely errors for finite rotations that result from applying the noncommuting rotational matrices in an arbitrary order. Our algorithm should thus replace standard approaches to rotate local coordinate frames in Langevin and Brownian dynamics simulations.

INTRODUCTION

Generalized numerical methods for Langevin or Brownian dynamics (BD) involving rigid bodies require operators for applying arbitrary finite rotational moves to three-dimensional objects. Typically, a local body-fixed coordinate frame, which defines a body's three-dimensional orientation, is associated with each body in a system (García de la Torre and Bloomfield, 1981; Allison, 1991; Fernandez and García de la Torre, 2002). Such methods are important and commonly used to study large biomolecular systems, such as long DNA (Wu et al., 1991; Chirico and Langowski, 1996; Jian et al., 1997; Klenin et al., 1998) or large nucleoprotein complexes (Beard and Schlick, 2001; Huang and Schlick, 2002). During every time-step, each body is translated and rotated according to a given discretization of the governing dynamical equations (Ermak and McCammon, 1978; Allison, 1991; Fernandez and García de la Torre, 2002). The translational step is straightforward; it involves updating the three coordinates of a body's center of rotation. The rotational step is more subtle, because operators for rotation about orthogonal axes do not commute and thus their order of application defines different protocols. The related difficulties have been ignored in the past (e.g., Allison, 1991; Fernandez and García de la Torre, 2002); that is, the noncommuting operators are usually applied in some particular (arbitrary) order, introducing errors and bias into the rotational move. Although most prior models with BD simulation protocols have been assessed relative to available experimental data and found to be satisfactory overall, the previously-used rotational operators are strictly appropriate only in the limit of small rotational angles, where these errors are negligible. Here we address this limitation by exploring the magnitudes of angles for which errors become apparent in a simple model and introduce an unbiased accurate operator for finite rotations. Given that our protocol has the same computational cost as the biased protocol, it should be used in general in BD algorithms to avoid any possible errors from this computational component.

ROTATIONAL MOVES

We define a right-handed local particle-fixed coordinate frame for a rigid body using three orthogonal unit vectors Inline graphic which translate and rotate in space as a dynamics trajectory evolves (e.g., Fig. 1 of Beard and Schlick, 2001). In this article, we focus on how a given rotation is applied to a coordinate frame; we do not consider issues related to how the dynamical equations are discretized to determine the rotation and translation vectors for each time-step.

FIGURE 1.

FIGURE 1

The unit sphere in the {x,y,z} fixed lab frame. The initial local frame Inline graphic corresponds to the fixed lab frame axes. The rotation vector Inline graphic is oriented in the x-y plane; Inline graphic denotes Inline graphic after being rotated about Inline graphic

A finite rotation is denoted by Inline graphic where the components of Inline graphic are rotations about the three orthogonal local axes. The central problem is posed as follows. Given a rotation vector Inline graphic how can this rotation be applied to a coordinate frame Inline graphic? This issue is key in simulating Brownian dynamics of rigid bodies (Allison, 1991; Fernandez and García de la Torre, 2002). In previous works, a three-dimensional rotation is applied to a coordinate frame by successively applying individual rotations about each local frame. In this approach, the successive rotation operators are given by

graphic file with name M6.gif (1)

and the cumulative rotational operator R is defined by applying these rotations in a particular order. For example, applying rotations about the Inline graphic then Inline graphic axes, yields

graphic file with name M9.gif (2)

However, this choice of R is not unique. The rotation operators do not commute: Ra Rb RcRc Rb Ra. Thus, the operator R introduces bias into the coordinate rotation. As we show below for a given random rotation vector chosen from an unbiased distribution, resulting rotations will be biased toward an axis which is determined by the choice of the order of operators applied in Eq. 2.

BIAS-FREE ROTATIONAL APPROACH

A bias-free approach to performing these rotational steps can be formulated from the dynamics equations for rotation of an orthogonal coordinate system at a constant angular velocity (see Eq. 4-62 of Goldstein et al., 2002):

graphic file with name M10.gif (3)

where {ωa, ωb, ωc} are the three components of angular velocity. For constant ωa, ωb, ωc, Eq. 3 is a constant-coefficient linear system with solution (which was obtained using the program MAPLE, Waterloo Maple, Waterloo, Ontario, Canada):

graphic file with name M11.gif (4)

where {Ωa, Ωb, Ωc} = {ωaΔt, ωbΔt, ωcΔt}, and Inline graphic.

Using the notation of Fernandez and García de la Torre (2002), Eq. 4 can be expressed compactly as

graphic file with name M13.gif (5)

where the triad vectors Inline graphic denote the initial local frame (at time to), and Inline graphic correspond to the local axes following rotation (at time t). The matrix Inline graphic is a transformation from the local frame at time t to the fixed lab (l) frame. Thus Eq. 5 can be written Inline graphic where the matrix U, defined by Eq. 5, replaces the operator R inEq. 2.

The matrix operator U in Eq. 5 is an exact representation for the rotation of the vectors Inline graphic by an angle Ω through the axis of rotation Inline graphic where Inline graphic is the unit vector defined by Inline graphic Through geometric arguments, Goldstein et al. (2002) have shown that this rotation is expressed as

graphic file with name M22.gif (6)

where Inline graphic and Inline graphic represent a vector before and after rotation, respectively. Eq. 6—derived by rotating the frame to make the z-axis point along the axis of rotation, applying the rotation around this axis, and then rotating back—is equivalent to our matrix operation of Eq. 5.

EXAMPLE OF ROTATIONAL ERROR

To compare the performance of the above rotational operators, we consider the geometry illustrated in Fig. 1. Without loss of generality, we assume that the initial local frame Inline graphic coincides with the lab fixed coordinate system, indicated by the x-, y-, and z-axes. We consider rotations where Inline graphic is directed in the x-y plane. In particular, Inline graphic where θ is the polar angle of Inline graphic (see Fig. 1) and the superscript T denotes the vector transpose. The local frame following rotation is denoted by Inline graphic with rotated Inline graphic component, Inline graphic The endpoint of Inline graphic directed out of the origin, lies on a circle located in the plane at z = cos Ω. The transformation given by Eq. 5 produces the expected result, whereas the approximations Inline graphic and the other variations are not exact, as we next show.

Specifically, we perform rotations on Inline graphic at 18° intervals in θ for Ω of 10°, 30°, and 60°. In Fig. 2, we plot the resulting endpoints of Inline graphic for the six variations on the combinations of the noncommuting operators in R. Thex- and y-components of the rotated Inline graphic are plotted separately in Fig. 2; the three concentric circles in each plot correspond to the three different magnitudes of Ω. The solid circles correspond to the exact operator of Eq. 5; the unfilled circles correspond to the R operators as indicated in each plot (af). The behavior of the R operator is clearly dependent on the definition used, with the magnitude of the error increasing with the size of the rotation, Ω.

FIGURE 2.

FIGURE 2

Positions of the x- and y-components of Inline graphic after rotating Inline graphic by Inline graphic The initial local frame Inline graphic corresponds to the lab fixed frame (see Fig. 1). Rotations are performed for 20 values of θ between 0° and 360° and Ω of 10°, 30°, and 60°. Solid circles correspond to the exact move; unfilled circles correspond to rotations by each of the six R operators, as indicated in af. The R operators depend on the definition used, with the bias and magnitude of error dependent on that choice of R.

To quantify the error associated with R, we introduce a normalized error measure: Inline graphic which measures the magnitude in the error of the R-rotated Inline graphic vector relative to magnitude of the exact move Inline graphic Contours of Ec(Ω, θ) for R = Rc Rb Ra are plotted in Fig. 3. As expected, the relative error increases with Ω. The error goes to zero as the rotational angle goes to zero. For other definitions of R, results are similar. This rotational operator is straightforward to implement in the standard Ermak and McCammon algorithm (Ermak and McCammon, 1978) and in higher-order BD updates, where repeated rotation applications may be necessary per time-step.

FIGURE 3.

FIGURE 3

Contours of Inline graphic for the operator R = Rc Rb Ra in the Ω-θ plane.

CONCLUSION

The commonly used rotation protocol for rigid-body dynamics introduces bias and error into the rotational move and hence the overall simulation. Here, we show that the bias and error are finite, yet diminish for small rotational angles. Our alternative rotational protocol (Eq. 5), applied to chromatin folding (Beard and Schlick, 2001), does not introduce additional numerical complexity and removes such biases and errors. It should thus be used to rotate local coordinate frames in rigid body dynamics.

Acknowledgments

The authors are grateful to Hong Qian for valuable discussions. They also thank Marshall Fixman and Bruce Robinson for comments on an alternative geometric approach.

References

  1. Allison, S. A. 1991. A Brownian dynamics algorithm for arbitrary rigid bodies. Applications to polarized dynamic light scattering. Macromolecules. 24:530–536. [Google Scholar]
  2. Beard, D. A., and T. Schlick. 2001. Computational modeling predicts the structure and dynamics of chromatin fiber. Structure. 9:105–114. [DOI] [PubMed] [Google Scholar]
  3. Chirico, G., and J. Langowski. 1996. Brownian dynamics simulations of supercoiled DNA with bent sequences. Biophys. J. 71:955–971. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Fernandez, M. X., and J. García de la Torre. 2002. Brownian dynamics of rigid particles of arbitrary shape in external fields. Biophys. J. 83:3039–3048. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. García de la Torre, J., and V. A. Bloomfield. 1981. Hydrodynamic properties of complex, rigid, biological macromolecules. Theory and applications. Q. Rev. Biophys. 14:81–139. [DOI] [PubMed] [Google Scholar]
  6. Ermak, D. L., and J. A. McCammon. 1978. Brownian dynamics with hydrodynamic interactions. J. Chem. Phys. 69:1352–1360. [Google Scholar]
  7. Goldstein, H., C. Poole, and J. Safko. 2002. Classical Mechanics, 3rd Ed. Addison-Wesley, San Francisco, CA. 134–183.
  8. Huang, J., and T. Schlick. 2002. Macroscopic modeling and simulations of supercoiled DNA with bound proteins. J. Chem. Phys. 117:8573–8586. [Google Scholar]
  9. Jian, H., A. Vologodskii, and T. Schlick. 1997. A combined wormlike-chain and bead model for dynamic simulations of long linear DNA. J. Comp. Phys. 136:168–179. [Google Scholar]
  10. Klenin, K., H. Merlitz, and J. Langowski. 1998. A Brownian dynamics program for the simulation of linear and circular DNA and other wormlike chain polyelectrolytes. Biophys. J. 74:780–788. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Wu, P. G., B. S. Fujimoto, L. Song, and J. M. Schurr. 1991. Effect of ethidium on the torsion constants of linear and supercoiled DNAs. Biophys. Chem. 41:217–236. [DOI] [PubMed] [Google Scholar]

Articles from Biophysical Journal are provided here courtesy of The Biophysical Society

RESOURCES