Hi Misha,<br><br>You can only apply distance restraints within one molecule, so the workaround is to put the desired SOL molecule in the .itp file (and change the order in the .gro file accordingly).<br><br>Hope it helps,<br>
<br>Tsjerk<br><br><div><span class="gmail_quote">On 11/19/05, <b class="gmail_sendername">Иванов Миша</b> &lt;<a href="mailto:grasp2@mail.ru">grasp2@mail.ru</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Dear users,<br><br>I would like to make a distance restraints. I create a file &quot;disres.itp&quot; with the following content:<br>[ distance_restraints ]<br>;&nbsp;&nbsp;ai&nbsp;&nbsp;&nbsp;&nbsp;aj&nbsp;&nbsp;&nbsp;&nbsp;type&nbsp;&nbsp;&nbsp;&nbsp;index&nbsp;&nbsp;&nbsp;&nbsp;type&nbsp;&nbsp;&nbsp;&nbsp;low&nbsp;&nbsp;&nbsp;&nbsp;up1&nbsp;&nbsp;&nbsp;&nbsp;up2&nbsp;&nbsp;&nbsp;&nbsp;fac
<br>&nbsp;&nbsp;3177&nbsp;&nbsp;3906&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.0&nbsp;&nbsp;&nbsp;&nbsp;0.3&nbsp;&nbsp;&nbsp;&nbsp;0.7&nbsp;&nbsp;&nbsp;&nbsp;1<br>where the first atom is form &quot;chain A&quot; of my system and the second is from &quot;SOL&quot;.<br>My question is:<br>What command should I untroduce in .top file and in what part of it, to make Grompp understand that the first atom is from CHAIN A and the second - from Solvent.
<br>My top file is written below.<br><br>Sicerely yours,<br>Misha Ivanov<br><br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is your topology file<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?<br>;<br>; Include forcefield parameters<br>#include &quot;ffgmx.itp&quot;<br><br>; Include chain topologies
<br>#include &quot;1_A.itp&quot;<br>#include &quot;1_B.itp&quot;<br><br>; Include water topology<br>#ifdef FLEX_SPC<br>#include &quot;flexspc.itp&quot;<br>#else<br>#include &quot;spc.itp&quot;<br>#endif<br><br>#ifdef POSRES_WATER
<br>; Position restraint for each water oxygen<br>[ position_restraints ]<br>;&nbsp;&nbsp;i funct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fcx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fcy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fcz<br>&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000<br>#endif<br><br>[ system ]<br>; Name<br>?<br><br>[ molecules ]
<br>; Compound&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#mols<br>Protein_A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>Protein_B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>SOL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 223<br><br><br><br>_______________________________________________<br>gmx-users mailing list<br><a href="mailto:gmx-users@gromacs.org">
gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please don't post (un)subscribe requests to the list. Use the<br>www interface or send it to 
<a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br></blockquote></div><br><br clear="all"><br>-- <br><br>Tsjerk A. Wassenaar, M.Sc.<br>Groningen Biomolecular Sciences and Biotechnology Institute (GBB)
<br>Dept. of Biophysical Chemistry<br>University of Groningen<br>Nijenborgh 4<br>9747AG Groningen, The Netherlands<br>+31 50 363 4336<br>