<!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 14/11/2010 7:26 PM, hengame fallah wrote:
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">Dear Mark,<br>
      I think that i couldn't explain my problem clearly, however i have
      changed my .rtp but i don't know how should be my .hdb file.<br>
      <br>
      a) The structure of <b><u>BOC</u></b> is: <b>-<span
          style="color: rgb(102, 0, 0);">C</span><span style="color:
          rgb(102, 102, 0);">O</span>-<span style="color: rgb(102, 0,
          0);">C</span><span style="color: rgb(102, 51, 102);">H2</span>-<span
          style="color: rgb(102, 0, 0);">C</span><span style="color:
          rgb(102, 51, 102);">H</span>(<span style="color: rgb(102, 0,
          0);">C6</span><span style="color: rgb(102, 51, 102);">H5</span><span
          style="color: rgb(51, 51, 0);">Cl</span>)-<span style="color:
          rgb(102, 0, 0);">C</span><span style="color: rgb(102, 51,
          102);">H2</span>-<span style="color: rgb(0, 0, 102);">N</span><span
          style="color: rgb(102, 51, 102);">H</span>-</b><br>
    </blockquote>
    <br>
    Great.<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">
      b) This is the new charges:<br>
      <span style="background-color: rgb(255, 204, 153);">[ BOC ]</span><br
        style="background-color: rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;[ atoms ]</span><br
        style="background-color: rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp;
        opls_238&nbsp;&nbsp; -0.500&nbsp; &nbsp;&nbsp; &nbsp; 1 </span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp;&nbsp; H&nbsp;&nbsp;&nbsp;
        opls_241&nbsp;&nbsp;&nbsp; 0.300&nbsp; &nbsp;&nbsp; &nbsp; 1</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp; CA&nbsp;&nbsp;&nbsp;
        opls_224B&nbsp;&nbsp; 0.080&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HA1&nbsp;&nbsp;&nbsp;
        opls_140&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HA2&nbsp;&nbsp;&nbsp;
        opls_140&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp; CB&nbsp;&nbsp;&nbsp;
        opls_149&nbsp;&nbsp;&nbsp; 0.055 &nbsp; &nbsp;&nbsp; 2</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp; HB&nbsp;&nbsp;&nbsp;
        opls_140&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp; &nbsp;&nbsp; 2</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CG1&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp; -0.115&nbsp;&nbsp;&nbsp;&nbsp; 2</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CD1&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp; -0.115&nbsp;&nbsp;&nbsp;&nbsp; 3</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HD1&nbsp;&nbsp;&nbsp;
        opls_146&nbsp;&nbsp;&nbsp; 0.115&nbsp;&nbsp;&nbsp;&nbsp; 3</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CD2&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp; -0.115&nbsp;&nbsp;&nbsp;&nbsp; 4</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HD2&nbsp;&nbsp;&nbsp;
        opls_146&nbsp;&nbsp;&nbsp; 0.115&nbsp;&nbsp;&nbsp;&nbsp; 4</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CE1&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp; -0.115&nbsp;&nbsp;&nbsp;&nbsp; 5</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HE1&nbsp;&nbsp;&nbsp;
        opls_146&nbsp;&nbsp;&nbsp; 0.115&nbsp;&nbsp;&nbsp;&nbsp; 5</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CE2&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp; -0.115&nbsp;&nbsp;&nbsp;&nbsp; 6</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HE2&nbsp;&nbsp;&nbsp;
        opls_146&nbsp;&nbsp;&nbsp; 0.115&nbsp;&nbsp;&nbsp;&nbsp; 6 </span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp; CZ&nbsp;&nbsp;&nbsp;
        opls_145&nbsp;&nbsp;&nbsp; 1.000&nbsp;&nbsp; &nbsp;&nbsp; 7</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp; Cl&nbsp;&nbsp;&nbsp;
        opls_264&nbsp;&nbsp; -1.000&nbsp; &nbsp;&nbsp; &nbsp; 7</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; CG2&nbsp;&nbsp;&nbsp;
        opls_071&nbsp;&nbsp; -0.120&nbsp;&nbsp;&nbsp;&nbsp; 8</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HG1&nbsp;&nbsp;&nbsp;
        opls_140&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp;&nbsp; 8</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp; HG2&nbsp;&nbsp;&nbsp;
        opls_140&nbsp;&nbsp;&nbsp; 0.060&nbsp;&nbsp;&nbsp;&nbsp; 8</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp;
        opls_235&nbsp;&nbsp;&nbsp; 0.700&nbsp;&nbsp; &nbsp; &nbsp; 9</span><br style="background-color:
        rgb(255, 204, 153);">
      <span style="background-color: rgb(255, 204, 153);">&nbsp;&nbsp;&nbsp;&nbsp; O&nbsp;&nbsp;&nbsp;
        opls_236&nbsp;&nbsp; -0.700&nbsp;&nbsp; &nbsp; &nbsp; 9</span><br>
    </blockquote>
    <br>
    This looks much better.<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">c) charge for CG1 in PHE (in OPLS .rtp) is negative,
      too.<br>
    </blockquote>
    <br>
    OK<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">d) Would you explain for me that what is wrong in my
      atom types?<br>
    </blockquote>
    <br>
    No. My point last email was that you may need to consider what atom
    types are suitable for your backbone methylene C. I don't know what
    is suitable. You will have to look at the .atp file and perhaps read
    OPLS/AA papers.<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">
      e) As you see in the error, at first there are 63 residues (like
      my pdb) but when when it adds COO- and NH3+ there are 69 residues!
      it should add only one "O" (for COO-) and two "H"s for (NH3+) i
      think.<br>
    </blockquote>
    <br>
    Well, what do the .tdb files say? You should model these for BOC
    upon the PHE ones, of course. You will need to have read the parts
    of chapter 5 that pertain to the .hdb and .tdb files.<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite">
      <br>
      <span style="background-color: rgb(204, 255, 255);">There are 1
        chains and 0 blocks of water and <span style="background-color:
          rgb(255, 204, 204);">3</span> residues with <span
          style="background-color: rgb(255, 204, 204);">63</span> atoms</span><br
        style="background-color: rgb(204, 255, 255);">
      <br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">&nbsp; chain&nbsp; #res
        #atoms</span><br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">&nbsp; 1 ' '&nbsp;&nbsp;&nbsp;&nbsp;
        3&nbsp;&nbsp;&nbsp;&nbsp; 63&nbsp; </span><br style="background-color: rgb(204, 255,
        255);">
      <br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">All occupancy
        fields zero. This is probably not an X-Ray structure</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/ffoplsaa.atp</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Atomtype 1</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Reading
        residue database... (ffoplsaa)</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/ffoplsaa.rtp</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Residue 57</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Sorting it all
        out...</span><br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/ffoplsaa.hdb</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/ffoplsaa-n.tdb</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/ffoplsaa-c.tdb</span><br
        style="background-color: rgb(204, 255, 255);">
      <br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Back Off! I
        just backed up topol.top to ./#topol.top.3#</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Processing
        chain 1 (63 atoms, 3 residues)</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">There are 3
        donors and 3 acceptors</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">There are 4
        hydrogen bonds</span><br style="background-color: rgb(204, 255,
        255);">
      <span style="background-color: rgb(204, 255, 255);">Checking for
        duplicate atoms....</span><br style="background-color: rgb(204,
        255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/specbond.dat</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">7 out of 7
        lines of specbond.dat converted succesfully</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">N-terminus:
        NH3+</span><br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">C-terminus:
        COO-</span><br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(255, 204, 204);">Now there are
        3 residues with 69 atoms</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Making
        bonds...</span><br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Warning: Long
        Bond (53-54 = 0.334847 nm)</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Warning: Long
        Bond (53-56 = 0.334912 nm)</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Warning: Long
        Bond (64-65 = 0.271173 nm)</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Warning: Long
        Bond (64-66 = 0.347808 nm)</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Warning: Long
        Bond (64-67 = 0.31288 nm)</span><br style="background-color:
        rgb(204, 255, 255);">
    </blockquote>
    <br>
    These warnings are still suggestive that your atom coordinates are
    labelled inappropriately in your coordinate file.<br>
    <br>
    <blockquote
      cite="mid:AANLkTim-ws7VdJ2sdcLtQom6gyyXB1c=7ZnYY81-wNsa@mail.gmail.com"
      type="cite"><span style="background-color: rgb(204, 255, 255);">Opening
        library file /usr/share/gromacs/top/aminoacids.dat</span><br
        style="background-color: rgb(204, 255, 255);">
      <br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">-------------------------------------------------------</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Program
        pdb2gmx, VERSION 4.0.7</span><br style="background-color:
        rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Source code
        file: ../../../../src/kernel/add_par.c, line: 233</span><br
        style="background-color: rgb(204, 255, 255);">
      <br style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Fatal error:</span><br
        style="background-color: rgb(204, 255, 255);">
      <span style="background-color: rgb(204, 255, 255);">Atom HB1 not
        found in rtp database in residue BOC, it looks a bit like HB</span><br>
    </blockquote>
    <br>
    I think your .hdb is still trying to add two hydrogens to CB.<br>
    <br>
    Mark<br>
  </body>
</html>