<p style="border:0; padding:0; margin:0; font-family:'Gulim'; font-size:10pt; cursor: text;"><p style="font-family: Gulim; font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;">Hi Teemu and all,&nbsp;</p><p style="font-family: Gulim; font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;"><br></p><p style="font-family: Gulim; font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;">Thank you for your reply email.&nbsp;</p><p style="font-family: Gulim; font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;"><br></p><p style="font-family: Gulim; font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;"><br></p><blockquote style="font-family: Gulim; font-size: 12px; border-left-style: solid; border-left-width: 2px; margin: 0pt 0pt 0pt 0.8em; padding-left: 1em;"><div style="font-family:arial,돋움;line-height:1.5"><b>보낸사람</b> : Teemu Murtola &lt;teemu.murtola@gmail.com&gt;<br><b>받는사람</b> : Discussion list for GROMACS us &lt;gmx-users@gromacs.org&gt;<br><b>받은날짜</b> : 2015년 1월 2일(금) 01:15:25<br><b>제목</b> : Re: [gmx-users] g_select syntax unavailable in GROMACS 5.0 and 5.0.1<br><!-- original content --><div style="margin-top:5px;"><pre>Hi,

Please check the manual for the version you're using, or preferably for the
latest patch release, in case some things have been improved. The short
section on selections in the manual (can't check the section number right
now) mentions two different ways to access the help, and -select 'help ...'
is not one of them. You can try, e.g., 'gmx help selections'.</pre></div></div></blockquote><p style="font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;">The command "gmx_mpi help selections" did show the available subtopics, however I find this paragraph confusing:</p><p style="font-size: 10pt; border: 0px; padding: 0px; margin: 0px; cursor: text;"><br></p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">To get started with selections, run, e.g., gmx_mpi select without specifying</p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">selections on the command-line and use the interactive prompt to try out</p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">different selections. This tool provides output options that allow one to see</p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">what is actually selected by the given selections, and the interactive prompt</p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">reports syntax errors immediately, allowing one to try again. The subtopics</p><p style="border: 0px; padding: 0px; margin: 0px; cursor: text;">listed below give more details on different aspects of selections.</p><div style="font-size: 10pt;"><br></div><div style="font-size: 10pt;"><br></div><div style="font-size: 10pt;">Although the paragraph above mentioened "gmx_mpi select without specifying selections", I had to use "gmx_mpi help selections positions" to be able to see the thread "SPECIFYING POSITIONS IN SELECTIONS".</div><font face="monospace"><span style="font-size: 12px; line-height: 18px; white-space: pre;"><br></span></font><blockquote style="font-family: Gulim; font-size: 12px; border-left-style: solid; border-left-width: 2px; margin: 0pt 0pt 0pt 0.8em; padding-left: 1em;"><div style="font-family:arial,돋움;line-height:1.5"><div style="margin-top:5px;"><pre>
The support for help through non-interactive selections like in -select
'help' was removed for 5.0 for a few different reasons. The main one is
that 'gmx help' provides a much more natural way to access the information,
in particular now that there are several different command line options
that accept selections (for example, 'gmx gangle' has two different options
that accept selections, and it's not exactly intuitive that these
would/should also accept requests for generic selection help). It's an
unfortunate coincidence that "help all" is now parsed as a valid selection
(that has the name "help" and selects all atoms).</pre></div></div></blockquote><font face="monospace"><span style="font-size: 12px; line-height: 18px; white-space: pre;">Yep, I see. I can understand how this could be counter-intuitive. I got a little confused too, using g_select -h and gmx help selections.</span><br></font><blockquote style="font-family: Gulim; font-size: 12px; border-left-style: solid; border-left-width: 2px; margin: 0pt 0pt 0pt 0.8em; padding-left: 1em;"><div style="font-family:arial,돋움;line-height:1.5"><div style="margin-top:5px;"><pre>

For your second question, is there something wrong with just extending your
existing selection with an additional clause, for example like this:
"resname SOL and res_com z &gt;= 10 and res_com z &lt; 15"?
</pre></div></div></blockquote><font face="monospace">Yep, this worked for my systems.&nbsp;<span style="font-size: 12px; line-height: 18px; white-space: pre;">I suppose this binning method has already taken into account the center of mass of the water droplet?</span><br><span style="font-size: 12px; line-height: 18px; white-space: pre;">How do I go from here, to producing the water density profile as a function of z-direction?</span><br><br><br>Best regards,<br><span style="font-size: 12px; line-height: 18px; white-space: pre;">Kester<br></span></font><blockquote style="font-family: Gulim; font-size: 12px; border-left-style: solid; border-left-width: 2px; margin: 0pt 0pt 0pt 0.8em; padding-left: 1em;"><div style="font-family:arial,돋움;line-height:1.5"><div style="margin-top:5px;"><pre><br></pre><pre>Best regards,
Teemu
On Jan 1, 2015 5:49 AM, "Kester Wong" <kester2014@ibs.re.kr> wrote:

&gt; Dear all,
&gt;
&gt;
&gt; I have recently posted a question on how generate data that allows me to
&gt; plot a droplet profile as a function of z-direction.
&gt;
&gt;
&gt; https://www.mail-archive.com/gromacs.org_gmx-users@maillist.sys.kth.se/msg08966.html
&gt;
&gt; Knowing that this procedure requires the use of g_select, I am able to
&gt; look up some old posts on gmx-users mail list, however, typing g_select
&gt; -select 'help position' and g_select -select 'help all' simply won't work
&gt; (single quotation used instead of double quatation). I have tried these
&gt; commands on GROMACS (5.0 single and 5.0.1 double precision).
&gt;
&gt;
&gt;
&gt; Also, I have another specific question on binning my water droplet along
&gt; the z-direction:
&gt;
&gt; Firstly, I am only able to use g_select to define the bottom bin for water droplet; could you please advise on indexing the bins from the bottom water layer?
&gt;
&gt; g_select_mpi -f traj_comp.xtc -s topol.tpr -n system.ndx -b 9000 -e 10000 -select 'resname SOL and res_com z &lt; 10' -on output-system.ndx
&gt;
&gt;
&gt; How does one select SOL between z &gt; 10 and z &lt; 15, so on and so forth?
&gt;
&gt;
&gt; Happy New Year,
&gt;
&gt; Kester
&gt;
&gt;
&gt; --
&gt; Gromacs Users mailing list
&gt;
&gt; * Please search the archive at
&gt; http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
&gt; posting!
&gt;
&gt; * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
&gt;
&gt; * For (un)subscribe requests visit
&gt; https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
&gt; send a mail to gmx-users-request@gromacs.org.
&gt;
&gt;
-- 
Gromacs Users mailing list

* Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request@gromacs.org.
</kester2014@ibs.re.kr></pre></div><!-- original content --><br></div></blockquote></p>
<img src='http://mail.ibs.re.kr/checkread/MTE0MjE4Nw==/Z214LXVzZXJzQGdyb21hY3Mub3Jn/' width='1px' height='1px' />