<p>Thanks, Justin. How to use &quot;index groups&quot;? Do I do it in .mdp file or use some program in tools/?</p><p>Luke<br></p><p><br></p><b>Justin A. Lemkul</b> 
    <a href="mailto:gmx-users%40gromacs.org?Subject=%5Bgmx-users%5D%20restraints%20between%20two%20molecules&amp;In-Reply-To=CAJLK-9VYnde6D7SxY_eOLbQbTkoQmrTSn%3Dme2a%2Bdj4Q1h%3DsKEg%40mail.gmail.com" title="[gmx-users] restraints between two molecules">jalemkul at vt.edu
       </a><br>
    <i>Fri Dec  2 18:04:37 CET 2011</i>
    <ul><li>Previous message: <a href="http://lists.gromacs.org/pipermail/gmx-users/2011-December/066689.html">[gmx-users] restraints between two molecules
</a></li><li> <b>Messages sorted by:</b> 
              <a href="http://lists.gromacs.org/pipermail/gmx-users/2011-December/date.html#66690">[ date ]</a>
              <a href="http://lists.gromacs.org/pipermail/gmx-users/2011-December/thread.html#66690">[ thread ]</a>
              <a href="http://lists.gromacs.org/pipermail/gmx-users/2011-December/subject.html#66690">[ subject ]</a>
              <a href="http://lists.gromacs.org/pipermail/gmx-users/2011-December/author.html#66690">[ author ]</a>
         </li></ul>
    <hr>  

<pre>lq z wrote:
&gt;<i> Dear GMXers,
</i>&gt;<i> 
</i>&gt;<i> I can apply harmonic bond, angle, and dihedral restraints between two 
</i>&gt;<i> molecules (3 atoms on one, and one atom on the other one). If yes, how 
</i>&gt;<i> to set it up in the topology file?
</i>&gt;<i> 
</i>
They have to be in the same [moleculetype].

&gt;<i> Question 2: Can I apply distance restraint between mass center of some 
</i>&gt;<i> atoms in one molecule and ONE ATOM in the other molecule?
</i>&gt;<i> 
</i>
Yes, with the pull code and suitable index groups.

&gt;<i> Question 3: Can those restraints be lambda (in alchemical free energy 
</i>&gt;<i> simulation) dependent?
</i>&gt;<i> 
</i>
Yes, see the manual.

-Justin

&gt;<i> You may have known what I&#39;m trying to do: Change one molecule to dummy, 
</i>&gt;<i> so I need restrain it at dummy state while no restraint is wanted at 
</i>&gt;<i> real state.
</i>&gt;<i> 
</i>&gt;<i> Thanks,
</i>&gt;<i> Luke
</i>&gt;<i> 
</i>
-- 
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]<a href="http://vt.edu">vt.edu</a> | (540) 231-9080
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a>

========================================
</pre><br><br><div class="gmail_quote">On Fri, Dec 2, 2011 at 11:59 AM, lq z <span dir="ltr">&lt;<a href="mailto:lqz.fsu@gmail.com">lqz.fsu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear GMXers,<br><br>I can apply harmonic bond, angle, and dihedral restraints between two molecules (3 atoms on one, and one atom on the other one). If yes, how to set it up in the topology file? <br><br>Question 2: Can I apply distance restraint between mass center of some atoms in one molecule and ONE ATOM in the other molecule?<br>

<br>Question 3: Can those restraints be lambda (in alchemical free energy simulation) dependent?<br><br>You may have known what I&#39;m trying to do: Change one molecule to dummy, so I need restrain it at dummy state while no restraint is wanted at real state.<br>

<br>Thanks,<br>Luke<br>
</blockquote></div><br>