<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>You don't need trjconv, g_msd has options -b and -e.<br>But the regression is obviously done on the time differences and not on<br>the frame times. MSD is a function of a time difference, not of simulation time.<br><br>Berk<br><br><br>&gt; Date: Thu, 26 Nov 2009 13:24:12 +1100<br>&gt; From: Dallas.Warren@pharm.monash.edu.au<br>&gt; Subject: RE: [gmx-users] Unexpected behavior of g_msd<br>&gt; To: gmx-users@gromacs.org<br>&gt; <br>&gt; trjconv<br>&gt; <br>&gt; Catch ya,<br>&gt; <br>&gt; Dr. Dallas Warren<br>&gt; Drug Delivery, Disposition and Dynamics<br>&gt; Monash Institute of Pharmaceutical Sciences, Monash University<br>&gt; 381 Royal Parade, Parkville VIC 3010<br>&gt; dallas.warren@pharm.monash.edu.au<br>&gt; +61 3 9903 9167<br>&gt; ---------------------------------<br>&gt; When the only tool you own is a hammer, every problem begins to resemble<br>&gt; a nail. <br>&gt; <br>&gt; <br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: gmx-users-bounces@gromacs.org [mailto:gmx-users-<br>&gt; &gt; bounces@gromacs.org] On Behalf Of Darrell Koskinen<br>&gt; &gt; Sent: Thursday, 26 November 2009 12:48 PM<br>&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; Subject: [gmx-users] Unexpected behavior of g_msd<br>&gt; &gt; <br>&gt; &gt; Hi Tsjerk,<br>&gt; &gt; I looked at the .trr file and cannot read this file and simply delete<br>&gt; &gt; lines to create a sub-trajectory. So, how do I create a sub-trajectory<br>&gt; &gt; to analyze?<br>&gt; &gt; <br>&gt; &gt; Thanks.<br>&gt; &gt; <br>&gt; &gt; Darrell<br>&gt; &gt; <br>&gt; &gt; Date: Wed, 25 Nov 2009 09:04:01 +0100 From: Tsjerk Wassenaar<br>&gt; &gt; &lt;tsjerkw@gmail.com&gt; Subject: Re: [gmx-users] Unexpected behavior of<br>&gt; &gt; g_msd To: Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<br>&gt; &gt; Message-ID:<br>&gt; &gt; &lt;8ff898150911250004l42fee014qf3298816c9ef3db3@mail.gmail.com&gt;<br>&gt; &gt; Content-Type: text/plain; charset=ISO-8859-1 Hi Darrell, You can check<br>&gt; &gt; whether the output is identical to a trajectory of the specified<br>&gt; &gt; frames... It may well be that the counting for the regression is done<br>&gt; &gt; on<br>&gt; &gt; the frames read: 100 - 60 = 40 ps Then 4 and 35.9 would correspond to<br>&gt; &gt; 64<br>&gt; &gt; and 95.9. The answer is in the code... But using a subtrajectory may<br>&gt; &gt; give you good hint. Hope it helps, Tsjerk On Wed, Nov 25, 2009 at 7:42<br>&gt; &gt; AM, Darrell Koskinen &lt;darrellk@ece.ubc.ca&gt; wrote:<br>&gt; &gt; <br>&gt; &gt; &gt; &gt; Dear GROMACS-ites,<br>&gt; &gt; &gt; &gt; I am a little confused by the behavior of g_msd. I have a trr file<br>&gt; &gt; with data<br>&gt; &gt; &gt; &gt; points from t=0 to t=100 ps and thought that the following command<br>&gt; &gt; would<br>&gt; &gt; &gt; &gt; perform a regression for the data points between t=60 ps and t=100<br>&gt; &gt; ps to<br>&gt; &gt; &gt; &gt; determine the diffision constant of the ammonia gas in the<br>&gt; &gt; simualtion:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; *g_msd -f mdtraj.trr -s mdtopol.tpr -type x -b 60 -e 100*<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; However, the output:<br>&gt; &gt; &gt; &gt; *<br>&gt; &gt; &gt; &gt; /trn version: GMX_trn_file (single precision)<br>&gt; &gt; &gt; &gt; Reading frame     900 time   90.000<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Used 4 restart points spaced 10 ps over 39.9 ps<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Fitting from 4 to 35.9 ps<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; D[       NH3] 3625.5647 (+/- 2802.0500) 1e-5 cm2/s<br>&gt; &gt; &gt; &gt; /*<br>&gt; &gt; &gt; &gt; seems to indicate that the regression was performed between t=4 ps<br>&gt; &gt; and<br>&gt; &gt; &gt; &gt; t=35.9 ps.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Could you please explain to me what is happening?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Darrell<br>&gt; &gt; <br>&gt; &gt; --<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before<br>&gt; &gt; 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 http://www.gromacs.org/mailing_lists/users.php<br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search 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 http://www.gromacs.org/mailing_lists/users.php<br>                                               <br /><hr />New Windows 7: Simplify what you do everyday. <a href='http://windows.microsoft.com/shop' target='_new'>Find the right PC for you.</a></body>
</html>