<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv127541651"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div id="yiv127541651yui_3_2_0_18_133416178648548">Could you please give how g_select is used?<br><span id="yiv127541651yui_3_2_0_18_1334161786485101"></span><span>Is there a tutorial for that?<br><br>Greetings<br>Lara</span></div><div id="yiv127541651yui_3_2_0_18_133416178648548"><br><span id="yiv127541651yui_3_2_0_18_1334161786485101"></span></div><div id="yiv127541651yui_3_2_0_18_133416178648548"><span id="yiv127541651yui_3_2_0_18_1334161786485101"></span></div><div><br id="yiv127541651yui_3_2_0_18_133416178648551"></div>  <div class="yiv127541651yui_3_2_0_18_133416178648554" id="yiv127541651yui_3_2_0_18_133416178648556" style="font-family:times new roman, new york, times,
 serif;font-size:12pt;"> <div class="yiv127541651yui_3_2_0_18_133416178648561" style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt;<br> <b><span style="
font-weight:bold;">An:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt; <br> <b><span style="font-weight:bold;">Gesendet:</span></b> 15:57 Mittwoch, 11.April 2012<br> <b><span style="font-weight:bold;">Betreff:</span></b> Re: [gmx-users] File editing - only one layer of water around a molecule<br> </font> </div> <br><div id="yiv127541651">
  

    
  <div>
    Please leave the discussion on the mailing list, so that others can
    contribute and benefit now and via the archives.<br>
    <br>
    On 11/04/2012 10:53 PM, Lara Bunte wrote:
    <blockquote type="cite">
      <div class="yiv127541651yui_3_2_0_18_133416178648573" style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times new roman, new york, times, serif;font-size:12pt;">
        <div>Hi</div>
        <div><br>
        </div>
        <div>How to do that? I searched the manual for "layer" and I
          don't find something that helped. I also have no idea about
          what distances.</div>
      </div>
    </blockquote>
    <br>
    There's no standard definition of a layer - it depends what you're
    trying to do. A layer around a protein with a concavity might need
    to be defined quite differently from a layer around a monatomic ion
    or next to a hydrophobic phase boundary.<br>
    <br>
    Ultimately, you need to get some idea about distances :-) Look up
    how long a water O-H bond is. Wikipedia will do. What does your
    knowledge of the structure of water suggest about a likely range for
    a O-H-O distance? How does that relate to how big a "layer" might
    be? Do you care how rough the layer is? Do you care if your layer
    has water molecule(s) between a water molecule and your solute? Use
    g_select to select water atoms within some range of your solute and
    look at the results.<br>
    <br>
    Mark<br>
    <br>
    <blockquote type="cite">
      <div class="yiv127541651yui_3_2_0_18_133416178648575" style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times new roman, new york, times, serif;font-size:12pt;">
        <div> I have a small molecule in a big water box and I only want
          one layer (later 2, 3, ..n) that I want to keep around the
          molecule and remove the rest. <br>
        </div>
        <div><br>
        </div>
        <div>In appendix I put one of this .pdb files that you can see
          what I mean. <br>
        </div>
        <div><br>
        </div>
        <div>Thanks for help</div>
        <div><br>
        </div>
        <div>Greetings</div>
        <div>Lara<br>
          <span></span></div>
        <div><br>
          <span></span></div>
        <div><span></span></div>
        <div><br>
        </div>
        <div class="yiv127541651yui_3_2_0_18_133416178648577" style="font-family:times new roman, new york, times, serif;font-size:12pt;">
          <div class="yiv127541651yui_3_2_0_18_133416178648579" style="font-family:times new roman, new york, times, serif;font-size:12pt;">
            <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b>
                Mark Abraham <a rel="nofollow" class="yiv127541651moz-txt-link-rfc2396E" ymailto="mailto:mark.abraham@anu.edu.au" target="_blank" href="mailto:mark.abraham@anu.edu.au">&lt;mark.abraham@anu.edu.au&gt;</a><br>
                <b><span style="font-weight:bold;">An:</span></b> Lara
                Bunte <a rel="nofollow" class="yiv127541651moz-txt-link-rfc2396E" ymailto="mailto:lara.bunte@yahoo.de" target="_blank" href="mailto:lara.bunte@yahoo.de">&lt;lara.bunte@yahoo.de&gt;</a> <br>
                <b><span style="font-weight:bold;">Gesendet:</span></b>
                14:07 Mittwoch, 11.April 2012<br>
                <b><span style="font-weight:bold;">Betreff:</span></b>
                Re: [gmx-users] File editing - only one layer of water
                around a molecule<br>
              </font> </div>
            <br>
            
            <div id="yiv127541651">
              <div>&nbsp;</div>
              <div>&nbsp;</div>
              <span>On 11/04/12, <b class="yiv127541651name">Lara Bunte
                </b><a rel="nofollow" class="yiv127541651moz-txt-link-rfc2396E" ymailto="mailto:lara.bunte@yahoo.de" target="_blank" href="mailto:lara.bunte@yahoo.de">&lt;lara.bunte@yahoo.de&gt;</a> wrote:</span>
              <blockquote style="border-left:1px solid rgb(0, 0, 255);padding-left:13px;margin-left:0px;" class="yiv127541651iwcQuote" type="cite">Hi<br>
                <br>
                I read g_select description and I still don't know how
                to solve my problem. No if you have a pdb file with a
                molecule in water. How to remove all the water except of
                one layer? How could I do this with g_select? What other
                solutions could be used, with i.e. other software?</blockquote>
              <div>&nbsp;</div>
              <div>First, define "a layer" in a way that suits what you
                are trying to observe. Copy literature approaches if
                suitable.&nbsp;Then seek to cast that definition in terms of
                distances between atoms, which is all that you have to
                work with.</div>
              <div>&nbsp;</div>
              <div>Mark&nbsp;</div>
              <div>&nbsp;</div>
              <blockquote style="border-left:1px solid rgb(0, 0, 255);padding-left:13px;margin-left:0px;" class="yiv127541651iwcQuote" type="cite">
                <div class="yiv127541651mimepart yiv127541651text
                  yiv127541651plain"><br>
                  <br>
                  Greetings<br>
                  Lara<br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <br>
                  ----- Ursprüngliche Message -----<br>
                  Von: Mark Abraham <a rel="nofollow" class="yiv127541651moz-txt-link-rfc2396E" ymailto="mailto:Mark.Abraham@anu.edu.au" target="_blank" href="mailto:Mark.Abraham@anu.edu.au">&lt;Mark.Abraham@anu.edu.au&gt;</a><br>
                  An: Discussion list for GROMACS users
                  <a rel="nofollow" class="yiv127541651moz-txt-link-rfc2396E" ymailto="mailto:gmx-users@gromacs.org" target="_blank" href="mailto:gmx-users@gromacs.org">&lt;gmx-users@gromacs.org&gt;</a><br>
                  CC: <br>
                  Gesendet: 14:27 Mittwoch, 4.April 2012<br>
                  Betreff: Re: [gmx-users] File editing - only one layer
                  of water around a molecule<br>
                  <br>
                  On 4/04/2012 7:27 PM, Lara Bunte wrote:<br>
                  &gt; Hello<br>
                  &gt; <br>
                  &gt; I have a question about editing a pdb file.<br>
                  &gt; <br>
                  &gt; I have a molecule in a box of water as a pdb
                  file. I want to remove all water except of ONE layer
                  around he molecule.&nbsp; How to do that?<br>
                  &gt; <br>
                  &gt; <br>
                  &gt; Do you know a software that is able to do that?
                  Do you know how it could work with programs like PyMol
                  or others?<br>
                  <br>
                  There's many ways to do it. The GROMACS way is to use
                  g_select with some geometric criterion for the layer
                  to generate an index group describing the layer, and
                  then using that with trjconv -n to take the subset out
                  of the trajectory file.<br>
                  <br>
                  Mark<br>
                  -- gmx-users mailing list&nbsp; &nbsp; <a rel="nofollow" class="yiv127541651moz-txt-link-abbreviated" ymailto="mailto:gmx-users@gromacs.org" target="_blank" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
                  <a rel="nofollow" target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
                  Please search the archive at <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">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 rel="nofollow" class="yiv127541651moz-txt-link-abbreviated" ymailto="mailto:gmx-users-request@gromacs.org" target="_blank" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
                  Can't post? Read <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a><br>
                  <br>
                  -- <br>
                  gmx-users mailing list&nbsp;&nbsp;&nbsp; <a rel="nofollow" class="yiv127541651moz-txt-link-abbreviated" ymailto="mailto:gmx-users@gromacs.org" target="_blank" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
                  <a rel="nofollow" target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
                  Please search the archive at <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a>
                  before posting!<br>
                  Please don't post (un)subscribe requests to the list.
                  Use the <br>
                  www interface or send it to
                  <a rel="nofollow" class="yiv127541651moz-txt-link-abbreviated" ymailto="mailto:gmx-users-request@gromacs.org" target="_blank" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
                  Can't post? Read <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a><br>
                </div>
              </blockquote>
              <div>&nbsp;</div>
            </div>
            
            <br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>
</div><br>-- <br>gmx-users mailing list&nbsp; &nbsp; <a rel="nofollow" ymailto="mailto:gmx-users@gromacs.org" target="_blank" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a rel="nofollow" target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the <br>www interface or send it to <a rel="nofollow" ymailto="mailto:gmx-users-request@gromacs.org" target="_blank" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a rel="nofollow" target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a><br><br> </div>
 </div>  </div></div></div></div></body></html>