<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>With less than 100000 atoms, making an index file from a gro file is easy with grep, cut and awk. Make a gro file with trjconv, then process it with aforementioned tools.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/Erik</DIV><DIV><BR><DIV><DIV>21 sep 2007 kl. 17.33 skrev Naser, Md Abu:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P><FONT size="2">Hi Gmx user,<BR> <BR> I have wondering whether it is possible to extract index numbers for atoms from a particular<BR> region in the box such as, if a box divided into 10 slices along z and one wants to get all the atom's<BR> index number of protein in 1st slice or 3rd, etc.<BR> <BR> With regards,<BR> <BR> Abu Naser<BR> <BR> School Of Life Sciences<BR> Heriot-Watt University<BR> Edinburgh EH14 4AS<BR> Email: <A href="mailto:mn2@hw.ac.uk">mn2@hw.ac.uk</A><BR> Phone: +44(0)1314518265<BR> Fax : +44(0) 131 451 3009<BR> <BR> <BR> <BR> <BR> </FONT> </P><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gmx-users mailing list<SPAN class="Apple-converted-space">    </SPAN><A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please search the archive at <A href="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please don't post (un)subscribe requests to the list. Use the<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">www interface or send it to <A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can't post? Read <A href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BLOCKQUOTE type="cite"></BLOCKQUOTE><DIV>_______________________________________________</DIV><DIV>Erik Marklund, PhD student</DIV><DIV>Laboratory of Molecular Biophysics,</DIV><DIV>Dept. of Cell and Molecular Biology, Uppsala University.</DIV><DIV>Husargatan 3, Box 596,<SPAN class="Apple-tab-span" style="white-space:pre"><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; ">        </SPAN></SPAN></SPAN></SPAN>75124 Uppsala, Sweden</DIV><DIV>phone:<SPAN class="Apple-tab-span" style="white-space:pre"><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; ">        </SPAN></SPAN></SPAN></SPAN>+46 18 471 4537<SPAN class="Apple-tab-span" style="white-space:pre"><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; ">                </SPAN></SPAN></SPAN></SPAN>fax: +46 18 511 755</DIV><DIV><A href="mailto:erikm@xray.bmc.uu.se">erikm@xray.bmc.uu.se</A><SPAN class="Apple-tab-span" style="white-space:pre"><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; "><SPAN class="Apple-style-span" style="white-space: pre; ">        </SPAN></SPAN></SPAN></SPAN>http://xray.bmc.uu.se/molbiophys</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>