<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [gmx-users] g_dist</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi XAvier,<BR>
<BR>
Yes, now it makes sense.<BR>
<BR>
Thank you very much for making it clear.<BR>
<BR>
<BR>
Abu Naser<BR>
<BR>
School Of Life Sciences<BR>
Heriot-Watt University<BR>
Edinburgh EH14 4AS<BR>
Email: mn2@hw.ac.uk<BR>
Phone: +44(0)1314518265<BR>
Fax : +44(0) 131 451 3009<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: gmx-users-bounces@gromacs.org on behalf of Xavier Periole<BR>
Sent: Tue 25/09/2007 8:12 PM<BR>
To: Discussion list for GROMACS users<BR>
Subject: Re: [gmx-users] g_dist<BR>
<BR>
<BR>
The output of g_dist gives:<BR>
<BR>
time distance&nbsp;&nbsp; DeltaX DeltaY DeltaZ<BR>
<BR>
distance = sqrt(DeltaX**2+DeltaY**2+DeltaZ**2)<BR>
<BR>
DeltaX, Y or Z are the differences of the atomic (COM)<BR>
positions in each direction. A negative value simply means<BR>
that one of the atoms (COM) has a value larger than the<BR>
other one in the corresponding direction.<BR>
<BR>
The negative value is not a distance yet! Just the<BR>
difference between the two atoms (COM) positions<BR>
on one direction.<BR>
<BR>
Would that make sense?<BR>
<BR>
&gt; hi XAvier,<BR>
&gt;<BR>
&gt; Thanks for your response.<BR>
&gt; It was a question more of about how you would interpret the<BR>
&gt; negative values(distance) in a particular component.<BR>
&gt;<BR>
&gt; With thanks,<BR>
&gt;<BR>
&gt; Abu Naser<BR>
&gt;<BR>
&gt; School Of Life Sciences<BR>
&gt; Heriot-Watt University<BR>
&gt; Edinburgh EH14 4AS<BR>
&gt; Email: mn2@hw.ac.uk<BR>
&gt; Phone: +44(0)1314518265<BR>
&gt;Fax : +44(0) 131 451 3009<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt;From: gmx-users-bounces@gromacs.org on behalf of Xavier Periole<BR>
&gt; Sent: Tue 25/09/2007 10:13 AM<BR>
&gt; To: Discussion list for GROMACS users<BR>
&gt; Subject: Re: [gmx-users] g_dist<BR>
&gt;<BR>
&gt; On Tue, 25 Sep 2007 10:03:30 +0100<BR>
&gt;&nbsp; &quot;Naser, Md Abu&quot; &lt;mn2@hw.ac.uk&gt; wrote:<BR>
&gt;&gt; Hi David,<BR>
&gt;&gt;<BR>
&gt;&gt; Yes, it should be a vector as it is a difference between the center of mass<BR>
&gt;&gt;of two groups in<BR>
&gt;&gt; x,y, and z directions. Then, negative means an opposite direction. Is that<BR>
&gt;&gt;right?<BR>
&gt;<BR>
&gt; g_dist gives the distance and the component in each direction.<BR>
&gt; The components been the difference between the atomic (or COM)<BR>
&gt; positions there is no problem in having a negative value.<BR>
&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; Abu Naser<BR>
&gt;&gt;<BR>
&gt;&gt; School Of Life Sciences<BR>
&gt;&gt; Heriot-Watt University<BR>
&gt;&gt; Edinburgh EH14 4AS<BR>
&gt;&gt; Email: mn2@hw.ac.uk<BR>
&gt;&gt; Phone: +44(0)1314518265<BR>
&gt;&gt;Fax : +44(0) 131 451 3009<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; -----Original Message-----<BR>
&gt;&gt;From: gmx-users-bounces@gromacs.org on behalf of David van der Spoel<BR>
&gt;&gt; Sent: Tue 25/09/2007 9:42 AM<BR>
&gt;&gt; To: Discussion list for GROMACS users<BR>
&gt;&gt; Subject: Re: [gmx-users] g_dist<BR>
&gt;&gt;<BR>
&gt;&gt; Naser, Md Abu wrote:<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Hi all user,<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; I have just calculated a distance between backbone and side chain of the<BR>
&gt;&gt;&gt; same protein. I get<BR>
&gt;&gt;&gt; negative distance along x and y direction. What dose negative distance mean?<BR>
&gt;&gt;&gt;<BR>
&gt;&gt; please be more specific. is that a vector?<BR>
&gt;&gt;<BR>
&gt;&gt;&gt; Thanks in advance.<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Abu Naser<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; School Of Life Sciences<BR>
&gt;&gt;&gt; Heriot-Watt University<BR>
&gt;&gt;&gt; Edinburgh EH14 4AS<BR>
&gt;&gt;&gt; Email: mn2@hw.ac.uk<BR>
&gt;&gt;&gt; Phone: +44(0)1314518265<BR>
&gt;&gt;&gt; Fax : +44(0) 131 451 3009<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; ------------------------------------------------------------------------<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; _______________________________________________<BR>
&gt;&gt;&gt; gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<BR>
&gt;&gt;&gt; <A HREF="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>
&gt;&gt;&gt; Please search the archive at <A HREF="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!<BR>
&gt;&gt;&gt; Please don't post (un)subscribe requests to the list. Use the<BR>
&gt;&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<BR>
&gt;&gt;&gt; Can't post? Read <A HREF="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A><BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; --<BR>
&gt;&gt; David van der Spoel, Ph.D.<BR>
&gt;&gt; Molec. Biophys. group, Dept. of Cell &amp; Molec. Biol., Uppsala University.<BR>
&gt;&gt; Box 596, 75124 Uppsala, Sweden. Phone:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +46184714205. Fax: +4618511755.<BR>
&gt;&gt; spoel@xray.bmc.uu.se spoel@gromacs.org&nbsp;&nbsp; <A HREF="http://folding.bmc.uu.se">http://folding.bmc.uu.se</A><BR>
&gt;&gt; _______________________________________________<BR>
&gt;&gt; gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<BR>
&gt;&gt; <A HREF="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>
&gt;&gt; Please search the archive at <A HREF="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!<BR>
&gt;&gt; Please don't post (un)subscribe requests to the list. Use the<BR>
&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<BR>
&gt;&gt; Can't post? Read <A HREF="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A><BR>
&gt;&gt;<BR>
&gt;<BR>
&gt; -----------------------------------------------------<BR>
&gt; XAvier Periole - PhD<BR>
&gt;<BR>
&gt; 1- Institute of Molecular Assemblies<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; City University of New York - USA<BR>
&gt; 2- Molecular Dynamics-Group<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; University of Groningen - The Netherlands<BR>
&gt; <A HREF="http://md.chem.rug.nl/~periole">http://md.chem.rug.nl/~periole</A><BR>
&gt; -----------------------------------------------------<BR>
&gt; _______________________________________________<BR>
&gt; gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<BR>
&gt; <A HREF="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>
&gt; Please search the archive at <A HREF="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!<BR>
&gt; Please don't post (un)subscribe requests to the list. Use the<BR>
&gt; www interface or send it to gmx-users-request@gromacs.org.<BR>
&gt; Can't post? Read <A HREF="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A><BR>
&gt;<BR>
<BR>
-----------------------------------------------------<BR>
XAvier Periole - PhD<BR>
<BR>
1- Institute of Molecular Assemblies<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; City University of New York - USA<BR>
2- Molecular Dynamics-Group<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; University of Groningen - The Netherlands<BR>
<A HREF="http://md.chem.rug.nl/~periole">http://md.chem.rug.nl/~periole</A><BR>
-----------------------------------------------------<BR>
_______________________________________________<BR>
gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<BR>
<A HREF="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>
Please search the archive at <A HREF="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!<BR>
Please don't post (un)subscribe requests to the list. Use the<BR>
www interface or send it to gmx-users-request@gromacs.org.<BR>
Can't post? Read <A HREF="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>