Hi Mark and Justin,<div><br></div><div>Thanks for the valuable advise and I want to do the last test but before I proceed I just want to make sure If I am doing everything correct.</div><div><br></div><div>I got the 1K4C_cleanCG.seq file using grep command like this</div>
<div><br></div><div>grep -A 1 1K4c_clean CG 1K4C_cleanCG.txt &gt; 1K4C_cleanCG.seq</div><div><br></div><div>Now my next step is to get the .ssd file for 1K4C_cleanCG.pdb which I cannot get and in that case I have to use 1K4C_clean.pdb in order to get .ssd file.</div>
<div><br></div><div>And If i am correct here then my next step would be to get the .itp file for 1K4C_cleanCG. So my last question is that when I will use seq2itp.pl script which .seq file should I use and which .ssd file should I use to get the output .itp file. I mean this....</div>
<div><br></div><div>seq2itp.pl 1K4C_cleanCG.seq 1K4C_clean.ssd &gt; 1K4C_cleanCG.itp</div><div><br></div><div>                                           OR</div><div>seq2itp.pl 1K4C_clean.seq 1K4C_clean.ssd &gt; 1K4C_clean.itp</div>
<div><br></div><div>In the first command I don&#39;t think I can get the .ssd file( 1K4C_cleanG.ssd )  so thats why I am using 1K4C_clean.ssd. Now I dnt know if I am doing this wrong or correct but before proceeding i want to ask you guys to correct me at this point.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Sunny</div><div><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 6:54 PM, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
In addition to everything Mark said, also realize that there may be a fundamental problem in everything you are doing: there are missing atoms in the original 1K4C structure.  If you have not modeled them back in, the appropriate CG particles will not necessarily all be placed in your CG structure, but the topology will be written such that it expects all the correct atoms to be there.<br>

<br>
At first glance, Arg117 is going to cause headaches - it is missing all atoms beyond CB, and since CG and NE are necessary for MARTINI&#39;s definition of an ARG residue, you can bet this will be a problem.<br><font color="#888888">
<br>
-Justin</font><div><div></div><div class="h5"><br>
<br>
Mark Abraham wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sunny mishra wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Justin,<br>
<br>
Thanks for the reply and here is the following which I am doing. I would<br>
appreciate if you can point out my errors.<br>
<br>
<br>
1) I am working on 1K4C (KcSA) and i downloaded that from <a href="http://www.pdb.org" target="_blank">www.pdb.org</a> and<br>
after that I cleaned the PBD file, removed all the HETATOMS and ATOMS with<br>
ligand A &amp; B and also removed the TER atoms. So my cleaned PDB file i.e.<br>
(1K4C_clean.pdb) consists of atoms with ligands C and #of atoms are 765.<br>
<br>
2) After getting the 1K4C_clean.pdb I converted the atomic structure to CG<br>
structure using awk script...something like this<br>
<br>
awk -f atom2cg.awk 1K4C_clean.pdb &gt; 1K4C_cleanCG.pdb<br>
</blockquote>
<br>
Here you create 1K4C_cleanCG.pdb<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) Then I got the sequence of 1K4C_clean.pdb using vmd and saved that as<br>
1K4C_clean.txt and with the help of the following command I got the .seq<br>
file...<br>
</blockquote>
<br>
But below you create your .itp starting from &quot;1K4C_clean&quot;, which at least means you haven&#39;t copied your correct grep line, and might indicate the mismatch between your structure and topology.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
grep -A 1 1K4C_clean 1K4C_clean.txt &gt; 1K4C_clean.seq<br>
<br>
4) Then using dssp I got the .ssd file for 1K4C_clean.pdb....<br>
<br>
dsspcmbi 1K4C_clean.pdb 1K4C_clean.dssp<br>
dssp2ssd.py 1K4C_clean.dssp -o 1K4C_clean.ssd<br>
<br>
5) After preparing the secondary structure files I generated the MARTINI<br>
topology files like this :<br>
<br>
seq2itp.pl 1K4C_clean.seq 1K4C_clean.ssd &gt; 1K4C_clean.itp<br>
<br>
6) The next step is to make the topology file and I made like this.....<br>
<br>
; Include Martini Topology<br>
#include &quot;martini_v2.1.itp&quot;<br>
<br>
; Include protein topology<br>
#include &quot;1K4C_clean.itp&quot;<br>
<br>
<br>
[ system ]<br>
; Name<br>
Membrane Protein<br>
<br>
[ molecules ]<br>
; compound       #mols<br>
Protein            1<br>
<br>
7) Then I made the .gro file using genbox.....<br>
<br>
genbox -cp 1K4C_cleanCG.pdb -box 10 10 10 -o 1K4C_cleanCG.gro<br>
<br>
(In the previous email as you said that I need to make the .gro file of CG<br>
structure of protein so I used 1K4C_cleanCG.pdb)<br>
</blockquote>
<br>
A .gro file is almost never essential. A structure file with a suitable periodic box can be.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
8) Now I want to minimize the system.....<br>
<br>
grompp -f em.mdp -c 1K4C_cleanCG.gro -p 1K4C_clean.top -maxwarn 10<br>
<br>
and then error comes...........<br>
<br>
:-)  G  R  O  M  A  C  S<br>
(-:<br>
<br>
                   GROningen MAchine for Chemical Simulation<br>
<br>
                            :-)  VERSION 4.0.5  (-:<br>
<br>
<br>
      Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.<br>
       Copyright (c) 1991-2000, University of Groningen, The Netherlands.<br>
             Copyright (c) 2001-2008, The GROMACS development team,<br>
            check out <a href="http://www.gromacs.org" target="_blank">http://www.gromacs.org</a> for more information.<br>
<br>
         This program is free software; you can redistribute it and/or<br>
          modify it under the terms of the GNU General Public License<br>
         as published by the Free Software Foundation; either version 2<br>
             of the License, or (at your option) any later version.<br>
<br>
                                :-)  grompp  (-:<br>
<br>
Option     Filename  Type         Description<br>
------------------------------------------------------------<br>
  -f         em.mdp  Input, Opt!  grompp input file with MD parameters<br>
 -po      mdout.mdp  Output       grompp input file with MD parameters<br>
  -c 1K4C_cleanCG.pdb  Input        Structure file: gro g96 pdb tpr tpb tpa<br>
  -r       conf.gro  Input, Opt.  Structure file: gro g96 pdb tpr tpb tpa<br>
 -rb       conf.gro  Input, Opt.  Structure file: gro g96 pdb tpr tpb tpa<br>
  -n      index.ndx  Input, Opt.  Index file<br>
  -p 1K4C_clean.top  Input        Topology file<br>
 -pp  processed.top  Output, Opt. Topology file<br>
  -o      topol.tpr  Output       Run input file: tpr tpb tpa<br>
  -t       traj.trr  Input, Opt.  Full precision trajectory: trr trj cpt<br>
  -e       ener.edr  Input, Opt.  Energy file: edr ene<br>
<br>
Option       Type   Value   Description<br>
------------------------------------------------------<br>
-[no]h       bool   no      Print help info and quit<br>
-nice        int    0       Set the nicelevel<br>
-[no]v       bool   yes     Be loud and noisy<br>
-time        real   -1      Take frame at or first after this time.<br>
-[no]rmvsbds bool   yes     Remove constant bonded interactions with virtual<br>
                            sites<br>
-maxwarn     int    10      Number of allowed warnings during input<br>
processing<br>
-[no]zero    bool   no      Set parameters for bonded interactions<br>
without<br>
                            defaults to zero instead of generating an<br>
error<br>
-[no]renum   bool   yes     Renumber atomtypes and minimize number<br>
of<br>
<br>
atomtypes<br>
<br>
Ignoring obsolete mdp entry &#39;title&#39;<br>
Ignoring obsolete mdp entry &#39;cpp&#39;<br>
Replacing old mdp entry &#39;unconstrained_start&#39; by &#39;continuation&#39;<br>
<br>
Back Off! I just backed up mdout.mdp to ./#mdout.mdp.8#<br>
checking input for internal consistency...<br>
<br>
NOTE 1 [file em.mdp, line unknown]:<br>
  For energy conservation with switch/shift potentials, rlist should be 0.1<br>
  to 0.3 nm larger than rcoulomb.<br>
<br>
<br>
NOTE 2 [file em.mdp, line unknown]:<br>
  For energy conservation with switch/shift potentials, rlist should be 0.1<br>
  to 0.3 nm larger than rvdw.<br>
<br>
processing topology...<br>
Generated 0 of the 465 non-bonded parameter combinations<br>
Excluding 1 bonded neighbours molecule type &#39;Protein&#39;<br>
<br>
NOTE 3 [file 1K4C_clean.top, line 15]:<br>
  System has non-zero total charge: 2.000000e+00<br>
<br>
<br>
<br>
processing coordinates...<br>
<br>
-------------------------------------------------------<br>
Program grompp, VERSION 4.0.5<br>
Source code file: grompp.c, line: 362<br>
<br>
Fatal error:<br>
number of coordinates in coordinate file (1K4C_cleanCG.pdb, 209)<br>
             does not match topology (1K4C_clean.top, 216)<br>
-------------------------------------------------------<br>
<br>
I don&#39;t know where I have done the mistake...your help will be highly<br>
appreciable in this case.<br>
</blockquote>
<br>
Here you&#39;ve got a 7-atom difference, and...<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

           -------------------------------------------------------<br>
           Program grompp, VERSION 4.0.5<br>
           Source code file: grompp.c, line: 362<br>
<br>
           Fatal error:<br>
           number of coordinates in coordinate file (1K4C_cg.gro, 1127)<br>
                       does not match topology (1K4C.top, 1166)<br>
           -------------------------------------------------------<br>
</blockquote></blockquote></blockquote>
<br>
...here you&#39;re different by 39 atoms. That indicates a procedure that differed by more than just not adding solvent.<br>
<br>
With a complex multi-step system preparation, you are much better served by writing the steps down in a shell script so that you really do things the same way every time. Science is still science, even on a computer, and your work must be reproducible. Moreover, then when you ask for help, you&#39;re not presenting contradictions and non sequiturs that frustrate attempts to help you :-)<br>

<br>
In any case, my earlier advice still applies - it should be a matter of 10 minutes work to compare your clean .itp and .gro to see what atoms are causing the problem. Then, work backwards.<br>
<br>
Mark<br>
_______________________________________________<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a 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 href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
<br>
</blockquote>
<br></div></div><div class="im">
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<br>
_______________________________________________<br></div><div><div></div><div class="h5">
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a 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 href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></div></blockquote></div><br></div>