OK. I have a protein &quot;ab&quot; and ligand &quot;lig&quot;, and I want to select the bound water between them. So I used<br><br>g_select -f trajout.xtc -s mdrun.tpr -n index.ndx -select &#39;&quot;boundwaters&quot; resname SOL and within 0.4 of group &quot;ab&quot; and within 0.4 of group &quot;lig&quot;&#39; -on boundwaters.ndx<br>

<br>Then I can use the ndx file to do other things. The hard part is what after -select <br><br><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 5:11 PM, Dallas Warren <span dir="ltr">&lt;<a href="mailto:Dallas.Warren@monash.edu">Dallas.Warren@monash.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">For future reference of others that may struggle with g_select, it would be a very good idea for you to put on the emailing list how you achieved it.<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Catch ya,<br>
<br>
Dr. Dallas Warren<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Medicinal Chemistry and Drug Action<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Monash Institute of Pharmaceutical Sciences</span><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">, Monash University<br>


381 Royal Parade, Parkville VIC 3010<br>
<a href="mailto:dallas.warren@monash.edu" target="_blank">dallas.warren@monash.edu</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="tel:%2B61%203%209903%209304" value="+61399039304" target="_blank">+61 3 9903 9304</a><br>
---------------------------------<br>
When the only tool you own is a hammer, every problem begins to resemble a nail.</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:gmx-users-bounces@gromacs.org" target="_blank">gmx-users-bounces@gromacs.org</a> [mailto:<a href="mailto:gmx-users-bounces@gromacs.org" target="_blank">gmx-users-bounces@gromacs.org</a>]
<b>On Behalf Of </b>Yun Shi<br>
<b>Sent:</b> Tuesday, 3 April 2012 9:58 AM<br>
<b>To:</b> Discussion list for GROMACS users<br>
<b>Subject:</b> [gmx-users] Re: how to g_select bound water molecules<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Never mind. I got it.<u></u><u></u></p>
<div>
<p class="MsoNormal">On Mon, Apr 2, 2012 at 4:20 PM, Yun Shi &lt;<a href="mailto:yunshi09@gmail.com" target="_blank">yunshi09@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">Hello all,<br>
<br>
Can anyone tell me how to get in &quot;help examples&quot; in g_select by typing some commands?<br>
<br>
Anyway, I want to select bound waters between my ligand and protein using -select &#39;resname SOL &amp; within 0.5 ...&#39;. Any idea?<br>
<br>
Thanks for any suggestion.<span style="color:#888888"><br>
<br>
<span>Yun</span></span><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>
</div>

<br>--<br>
gmx-users mailing list    <a 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&#39;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>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></div><br>