<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><br><div><style type="text/css">p { margin-bottom: 0.08in; }</style>


<div style="margin-bottom: 0in;">  <font face="Bitstream Charter, serif"><b>I am trying to do a Short
position restrained simulation so i wrote&nbsp;</b></font> grompp -f pr.mdp -c <font size="3"><span style="font-weight: normal;">system</span></font><font face="Bitstream Charter, serif"><font size="3"><span style="font-weight: normal;">.gro</span></font></font><font size="3"><span style="font-weight: normal;">
        </span></font><font color="#222222"><font face="Bitstream Charter, serif"><font size="3">
        </font></font></font>-p file.top -o file.tpr , i added the NA+ to the pr.mdp file</div><div style="margin-bottom: 0in;">here the pr.mdp<br><span style="font-weight: bold;"></span></div><div style="margin-bottom: 0in;"><span style="font-weight: bold;">tc-grps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; Protein&nbsp; W&nbsp;&nbsp;&nbsp; NA+<br>tau_t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; 0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1&nbsp; 0.1<br>ref_t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; 300&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 300&nbsp; 300<br>; Energy monitoring<br>energygrps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; Protein&nbsp; W&nbsp;&nbsp;&nbsp; NA+<br></span></div><div style="margin-bottom: 0in;"><br><span style="font-weight: bold;"></span></div><div style="margin-bottom: 0in;"> but it gave me an
 error :<br></div><div style="margin-bottom: 0in;"><span style="font-weight: bold;">Fatal error:<br>Group NA+ not found in indexfile.<br>Maybe you have non-default goups in your .mdp file, while not using the '-n' option of grompp.<br>In that case use the '-n' option.</span></div><div style="margin-bottom: 0in;">&nbsp;</div><div style="margin-bottom: 0in;"><br></div><div style="margin-bottom: 0in;">i dont have an indexfile ?&nbsp;</div><div style="margin-bottom: 0in;"><br></div><div style="margin-bottom: 0in;">FZ<br></div><div style="margin-bottom: 0in;">


        
        
        
        <style type="text/css">p { margin-bottom: 0.08in; }</style>

</div>

</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">De&nbsp;:</span></b> Justin A. Lemkul &lt;jalemkul@vt.edu&gt;<br><b><span style="font-weight: bold;">À&nbsp;:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi 13 Juillet 2011 14h11<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> [gmx-users] Re: Adding Ions<br></font><br><br><br>errabah fatima ezzahra wrote:<br>&gt; Hi Justin<br>&gt; <br>&gt; when i seperated the NA+ and 6 i got this error<br>&gt; <br>&gt; NOTE 1 [file em.mdp]:<br>&gt;&nbsp;  For energy conservation with switch/shift potentials, rlist should be 0.1<br>&gt;&nbsp;  to 0.3 nm larger than rcoulomb.<br>&gt; <br>&gt; <br>&gt; NOTE 2 [file
 em.mdp]:<br>&gt;&nbsp;  For energy conservation with switch/shift potentials, rlist should be 0.1<br>&gt;&nbsp;  to 0.3 nm larger than rvdw.<br>&gt; <br><br>These notes indicate that your .mdp settings are incorrect.&nbsp; Follow the suggesting printed.<br><br>&gt; Generated 0 of the 465 non-bonded parameter combinations<br>&gt; Excluding 1 bonded neighbours molecule type 'Protein'<br>&gt; Excluding 1 bonded neighbours molecule type 'W'<br>&gt; Excluding 1 bonded neighbours molecule type 'NA+'<br>&gt; Warning: atom name 3792 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt; Warning: atom name 3793 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt; Warning: atom name 3794 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt; Warning: atom name 3795 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt; Warning: atom name 3796 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt;
 Warning: atom name 3797 in 1pef.top and waterbox_ions.gro does not match (NA+ - NA)<br>&gt; <br>&gt; WARNING 1 [file 1pef.top, line 19]:<br>&gt;&nbsp;  6 non-matching atom names<br>&gt;&nbsp;  atom names from 1pef.top will be used<br>&gt;&nbsp;  atom names from waterbox_ions.gro will be ignored<br>&gt; <br><br>This error is probably harmless, since you are actually using sodium and there isn't really a mismatch.&nbsp; The name listed in the [molecules] section must match the name specified in the corresponding [moleculetype] directive in ions.itp, with constituent residues and atoms named accordingly.&nbsp; In this case, ions.itp is specifying the atom name as "NA+" while your coordinate file uses "NA" instead.<br><br>&gt; what s th difference between NA+6 And NA+&nbsp; &nbsp; &nbsp; &nbsp; 6 .<br>&gt; <br><br>Spacing.&nbsp; All lines in the [molecules] directive are read as:<br><br>(moleculetype name) (some amount of space) (number of
 molecules)<br><br>Proper spacing is an absolute requirement for proper interpretation of the topology.&nbsp; The amount of whitespace is unimportant, but it has to be there, otherwise grompp reads a continuous string and finds that there is a moleculetype named "NA+6" that has no molecules associated with it.<br><br>-Justin<br><br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; *De :* Justin A. Lemkul &lt;<a ymailto="mailto:jalemkul@vt.edu" href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;<br>&gt; *À :* Discussion list for GROMACS users &lt;<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>&gt; *Envoyé le :* Mercredi 13 Juillet 2011 13h49<br>&gt; *Objet :* Re: Re : [gmx-users] Adding Ions<br>&gt; <br>&gt; <br>&gt; <br>&gt; Justin A. Lemkul wrote:<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt;<br>&gt; <br>&gt;&nbsp; &gt;&gt; i added the NA using the
 genion<br>&gt;&nbsp; &gt;&gt;&nbsp; &nbsp; *<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;&nbsp; &nbsp; &nbsp; genion -s em.tpr -o waterbox_ions.gro -np 6 , and i added the NA to the topology file , subtracted the water number by 6.&nbsp; tail waterbox_ions.gro file have&nbsp; this<br>&gt;&nbsp; &gt;&gt;&nbsp; 3567W&nbsp; &nbsp; &nbsp; &nbsp; W 3789&nbsp; 1.256&nbsp; 3.600&nbsp; 3.784<br>&gt;&nbsp; &gt;&gt;&nbsp; 3568W&nbsp; &nbsp; &nbsp; &nbsp; W 3790&nbsp; 2.491&nbsp; 6.539&nbsp; 2.341<br>&gt;&nbsp; &gt;&gt;&nbsp; 3569W&nbsp; &nbsp; &nbsp; &nbsp; W 3791&nbsp; 2.432&nbsp; 6.349&nbsp; 3.116<br>&gt;&nbsp; &gt;&gt;&nbsp; 3570NA&nbsp; &nbsp; &nbsp; NA 3792&nbsp; 2.677&nbsp; 4.903&nbsp; 3.617<br>&gt;&nbsp; &gt;&gt;&nbsp; 3571NA&nbsp; &nbsp; &nbsp; NA 3793&nbsp; 0.466&nbsp; 3.245&nbsp; 4.787<br>&gt;&nbsp; &gt;&gt;&nbsp; 3572NA&nbsp; &nbsp; &nbsp; NA 3794&nbsp; 6.028&nbsp; 4.147&nbsp; 2.550<br>&gt;&nbsp; &gt;&gt;&nbsp; 3573NA&nbsp; &nbsp; &nbsp; NA 3795&nbsp;
 3.201&nbsp; 1.027&nbsp; 5.879<br>&gt;&nbsp; &gt;&gt;&nbsp; 3574NA&nbsp; &nbsp; &nbsp; NA 3796&nbsp; 1.677&nbsp; 1.849&nbsp; 6.641<br>&gt;&nbsp; &gt;&gt;&nbsp; 3575NA&nbsp; &nbsp; &nbsp; NA 3797&nbsp; 5.729&nbsp; 5.645&nbsp; 7.089<br>&gt;&nbsp; &gt;&gt; and the topology file<br>&gt;&nbsp; &gt;&gt; #include "martini_v2.1.itp"<br>&gt;&nbsp; &gt;&gt; #include "1pef.itp"<br>&gt;&nbsp; &gt;&gt; #include "martini_v2.0_ions.itp"<br>&gt;&nbsp; &gt;&gt; [ system ]<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; ; Name<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; PEPTIDE F<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; [ molecules ]<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; ; Compound&nbsp; &nbsp; &nbsp; &nbsp; #mols<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; Protein&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 6<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; W&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3551<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp;
 &gt;&gt; NA+6<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; This looks fine.&nbsp; There are other things I suggested you look at; you haven't ruled out that something else went wrong along the way or that your peptide doesn't have the net charge you think it does.<br>&gt;&nbsp; &gt;<br>&gt; <br>&gt; Actually, no it doesn't.&nbsp; You don't have any space between the moleculetype name ("NA+") and the number of molecules.&nbsp; This line isn't being read correctly, which might be your problem, though I'm shocked that you're not getting some other error about a missing number of molecules or number of coordinates not matching the topology.<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt; -- ========================================<br>&gt; <br>&gt; Justin A. Lemkul<br>&gt; Ph.D. Candidate<br>&gt; ICTAS Doctoral Scholar<br>&gt; MILES-IGERT Trainee<br>&gt; Department of Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt;
 jalemkul[at]vt.edu | (540) 231-9080<br>&gt; <a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>&gt; <br>&gt; ========================================<br>&gt; -- gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a> &lt;mailto:<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a
 ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a> &lt;mailto:<a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;.<br>&gt; Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><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]vt.edu | (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>-- gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org"
 href="mailto:gmx-users@gromacs.org">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/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 ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br><br><br></div></div></div></body></html>