<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 6/05/2011 2:06 AM, Sanku M wrote:
    <blockquote cite="mid:657109.12209.qm@web114219.mail.gq1.yahoo.com"
      type="cite">
      <style type="text/css"><!-- DIV {margin:0px;} --></style>
      <div style="font-family: 'times new roman','new york',times,serif;
        font-size: 12pt;">
        <div>I found it will work if I use -b 13.9 -e 14.1</div>
      </div>
    </blockquote>
    <br>
    Yes, that is expected. The time for each frame has been computed by
    adding up the size of each time step stored in a floating-point
    variable. Such algebra is different from normal algebra - see <a
      href="http://www.gromacs.org/Documentation/Floating_Point_Arithmetic">http://www.gromacs.org/Documentation/Floating_Point_Arithmetic</a>.
    So some time frames will be "right" and some will be a bit out. Look
    at what gmxcheck says about the frame you have obtained.<br>
    <br>
    Mark<br>
    <br>
    <blockquote cite="mid:657109.12209.qm@web114219.mail.gq1.yahoo.com"
      type="cite">
      <div style="font-family: 'times new roman','new york',times,serif;
        font-size: 12pt;">
        <div><br>
        </div>
        <div style="font-family: times new roman,new york,times,serif;
          font-size: 12pt;"><br>
          <div style="font-family: times new roman,new york,times,serif;
            font-size: 12pt;"><font face="Tahoma" size="2">
              <hr size="1"><b><span style="font-weight: bold;">From:</span></b>
              Sanku M <a class="moz-txt-link-rfc2396E" href="mailto:msanku65@yahoo.com">&lt;msanku65@yahoo.com&gt;</a><br>
              <b><span style="font-weight: bold;">To:</span></b>
              <a class="moz-txt-link-abbreviated" href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>; Discussion list for GROMACS users
              <a class="moz-txt-link-rfc2396E" href="mailto:gmx-users@gromacs.org">&lt;gmx-users@gromacs.org&gt;</a><br>
              <b><span style="font-weight: bold;">Sent:</span></b> Thu,
              May 5, 2011 10:33:19 AM<br>
              <b><span style="font-weight: bold;">Subject:</span></b>
              Re: [gmx-users] trjconv problem<br>
            </font><br>
            <div style="font-family: times,serif; font-size: 12pt;">
              <div>Hi Justin,</div>
              <div>&nbsp;&nbsp;In many of the frames, if I use -b and -e to be
                same , it works</div>
              <div>For example, I found if I use -b 16 -e 16, it gives
                me the the snapshot at 16ps. &nbsp;But, in many cases like
                14ps, it is not working. Also, I tried&nbsp;<span
                  class="Apple-style-span" style="font-family:
                  arial,helvetica,sans-serif; font-size: 13px;">-b 13 -e
                  14 -dump 14 &nbsp;. It does not work saying 'WARNING no
                  output, trajectory ended at 14'</span></div>
              <div>Any help will be appreciated.</div>
              <div>Sanku</div>
              <div style="font-family: times new roman,new
                york,times,serif; font-size: 12pt;"><br>
                <div style="font-family: arial,helvetica,sans-serif;
                  font-size: 13px;"><font face="Tahoma" size="2">
                    <hr size="1"><b><span style="font-weight: bold;">From:</span></b>
                    Justin A. Lemkul <a class="moz-txt-link-rfc2396E" href="mailto:jalemkul@vt.edu">&lt;jalemkul@vt.edu&gt;</a><br>
                    <b><span style="font-weight: bold;">To:</span></b>
                    Discussion list for GROMACS users
                    <a class="moz-txt-link-rfc2396E" href="mailto:gmx-users@gromacs.org">&lt;gmx-users@gromacs.org&gt;</a><br>
                    <b><span style="font-weight: bold;">Sent:</span></b>
                    Thu, May 5, 2011 10:22:38 AM<br>
                    <b><span style="font-weight: bold;">Subject:</span></b>
                    Re: [gmx-users] trjconv problem<br>
                  </font><br>
                  <br>
                  <br>
                  Sanku M wrote:<br>
                  &gt; Hi,<br>
                  &gt;&nbsp; I am having a problem with trjconv to get a
                  single snap-shot from a trajectory file. I am using
                  gromacs 4.0.7 .<br>
                  &gt; If I try to get a snapshot corresponding to 14
                  ps, I was trying to use&nbsp; "-b 14 -e 14 " command as
                  follows. But,<br>
                  &gt; If I issue this command as shown below<br>
                  &gt; trjconv --f&nbsp; traj.xtc -o&nbsp; conf_pep.gro -s
                  topol.tpr&nbsp; -b 14.0 -e 14.0&nbsp; it crashes with following
                  error:<br>
                  &gt; Precision of traj.xtc is 0.001 (nm)<br>
                  &gt; Using output precision of 0.001 (nm)<br>
                  &gt; <br>
                  &gt; WARNING no output, trajectory ended at 14<br>
                  &gt; <br>
                  &gt; However, if I issue the same trjconv command
                  using "-dump 14" as shown below, trjconv provides the
                  correct snapshot at 14 ps:<br>
                  &gt; trjconv --f&nbsp; traj.xtc -o&nbsp; conf_pep.gro -s
                  topol.tpr&nbsp; -dump 14.0 But, this "-dump 14" command
                  becomes extremely time consuming as I was trying to
                  get the snap-shot for a long time i.e around 30000ps .
                  So, I am trying to get "-b 14 -e 14" command work .&nbsp; &nbsp;
                  So, I was wondering whether you have any clue how to
                  get around with this.<br>
                  <br>
                  If I recall, -b and -e cannot be the same.&nbsp; This is
                  the reason for -dump.&nbsp; It might be worth a try to see
                  if trjconv -b 13 -e 14 -dump 14 speeds things up any.<br>
                  <br>
                  -Justin<br>
                  <br>
                  &gt; Sanku<br>
                  &gt; <br>
                  &gt; <br>
                  <br>
                  -- ========================================<br>
                  <br>
                  Justin A. Lemkul<br>
                  Ph.D. Candidate<br>
                  ICTAS Doctoral Scholar<br>
                  MILES-IGERT Trainee<br>
                  Department of Biochemistry<br>
                  Virginia Tech<br>
                  Blacksburg, VA<br>
                  jalemkul[at]<a moz-do-not-send="true" rel="nofollow"
                    target="_blank" href="http://vt.edu">vt.edu</a> |
                  (540) 231-9080<br>
                  <span><span><a moz-do-not-send="true" target="_blank"
href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a></span></span><br>
                  <br>
                  ========================================<br>
                  -- gmx-users mailing list&nbsp; &nbsp; <a
                    moz-do-not-send="true" rel="nofollow"
                    ymailto="mailto:gmx-users@gromacs.org"
                    target="_blank" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
                  <span><span><a moz-do-not-send="true" target="_blank"
href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a></span></span><br>
                  <span><span>Please search the archive at <a
                        moz-do-not-send="true" target="_blank"
                        href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a>
                      before posting!</span></span><br>
                  Please don't post (un)subscribe requests to the list.
                  Use the www interface or send it to <a
                    moz-do-not-send="true" rel="nofollow"
                    ymailto="mailto:gmx-users-request@gromacs.org"
                    target="_blank"
                    href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
                  <span><span>Can't post? Read <a
                        moz-do-not-send="true" target="_blank"
                        href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a></span></span><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>