<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 21/03/2012 10:17 PM, francesco oteri wrote:
    <blockquote
cite="mid:CAFQcp-MSiHiLeWqabr1wWHqA+L9Vym18_ujPHKt7HDaRAnG+pg@mail.gmail.com"
      type="cite">
      <div>OK,</div>
      <div>but for some AMBER dihedral the same goal has been obtained
        using an X for i and l atoms,&nbsp;</div>
      <div>like:</div>
      <div>X &nbsp; &nbsp; &nbsp; FE &nbsp; &nbsp; &nbsp;SS &nbsp; &nbsp; &nbsp;X &nbsp; &nbsp; &nbsp; 9 &nbsp; &nbsp; &nbsp; 0.00 &nbsp; &nbsp;0.0 &nbsp; &nbsp; 4</div>
      <div><br>
      </div>
      <div>Why the same approach wasn't used for OPLSAA?</div>
    </blockquote>
    <br>
    Assuming Justin's right, then either approach could have been used.
    The .itp file parsing works by finding which of a large number of
    scanf strings match a given line, so having two ways to do the same
    thing is no big deal. You could argue that not needing to recognise
    later that X means "any atom type" is more efficient, and also that
    the more terse description is less clear to the user. Life ==
    trade-offs :)<br>
    <br>
    Mark<br>
    <br>
    <blockquote
cite="mid:CAFQcp-MSiHiLeWqabr1wWHqA+L9Vym18_ujPHKt7HDaRAnG+pg@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <div class="gmail_quote">Il giorno 21 marzo 2012 11:35, Justin A.
        Lemkul <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span>
        ha scritto:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div class="HOEnZb">
            <div class="h5"><br>
              <br>
              francesco oteri wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Dear Gromacs users,<br>
                I am working on a program that need topology parsing. I
                am using the OPLSAA forcefield and I noticed that in
                ffbonded.itp file belonging to this force field there
                are these strange lines:<br>
                <br>
                [ dihedraltypes ]<br>
                ; &nbsp;i &nbsp; &nbsp;j &nbsp; &nbsp;k &nbsp; &nbsp;l &nbsp; func &nbsp; &nbsp; coefficients<br>
                ; Added DvdS for Quartz simulations<br>
                &nbsp; SI &nbsp; OS &nbsp; &nbsp;1 &nbsp; &nbsp; 0.000 &nbsp; &nbsp; &nbsp; 3.766 &nbsp; &nbsp; &nbsp;3<br>
                &nbsp; SI &nbsp; OH &nbsp; &nbsp;1 &nbsp; &nbsp; 0.000 &nbsp; &nbsp; &nbsp; 3.766 &nbsp; &nbsp; &nbsp;3<br>
                <br>
                <br>
                If it describes dihedral definition, how is possible
                having only two atom types?<br>
                <br>
              </blockquote>
              <br>
            </div>
          </div>
          Those are the central two atoms in the dihedral, i.e. atoms j
          and k in the i-j-k-l notation for a dihedral.<br>
          <br>
          -Justin<br>
          <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" href="http://vt.edu"
            target="_blank">vt.edu</a> | (540) 231-9080<br>
          <a moz-do-not-send="true"
            href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin"
            target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
          <br>
          ========================================<span class="HOEnZb"><font
              color="#888888"><br>
              -- <br>
              gmx-users mailing list &nbsp; &nbsp;<a moz-do-not-send="true"
                href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.gromacs.org/mailman/listinfo/gmx-users"
                target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
              Please search the archive at <a moz-do-not-send="true"
                href="http://www.gromacs.org/Support/Mailing_Lists/Search"
                target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a>
              before posting!<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"
                href="mailto:gmx-users-request@gromacs.org"
                target="_blank">gmx-users-request@gromacs.org</a>.<br>
              Can't post? Read <a moz-do-not-send="true"
                href="http://www.gromacs.org/Support/Mailing_Lists"
                target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
            </font></span></blockquote>
      </div>
      <br>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      Cordiali saluti, Dr.Oteri Francesco<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>