[gmx-users] end to end normalized vector

Smith, Micholas D. smithmd at ornl.gov
Thu Apr 23 14:59:15 CEST 2015

I guess my question is angle relative to what? If you are talking about comparing end to end vectors between molecules groups like:

Nterm1---------->Cterm1 (group 1)

Cterm2<---------Nterm2 (group 2)

You could make an index file with one group being A1 and B1 and other being A2 and B2, and use g_angle (or gmx angle in the newest version) to compute the angles between these two vectors.

If you are talking one protein, you could do something like


Where you define your vectors to go from the median residue to the Nterm and from the median residue to the Cterm.

Micholas Dean Smith, PhD.
Post-doctoral Research Associate
University of Tennessee/Oak Ridge National Laboratory
Center for Molecular Biophysics

From: gromacs.org_gmx-users-bounces at maillist.sys.kth.se <gromacs.org_gmx-users-bounces at maillist.sys.kth.se> on behalf of pratibha kapoor <kapoorpratibha7 at gmail.com>
Sent: Thursday, April 23, 2015 7:06 AM
To: gmx-users at gromacs.org
Subject: [gmx-users] end to end normalized vector

I would like to calculate angle between normalized end to end vectors. How
can this be done in gromacs? Although end to end distance can be computed
using g_dist but this contains no information about direction.

Gromacs Users mailing list

* Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.

More information about the gromacs.org_gmx-users mailing list