<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I've often found it necessary to do multiple trjconv steps to get the result I want.&nbsp; So in this case, I'd probably make sure my protein is genuinely centered in the box, then take that output .xtc and then make sure everything is whole and approximately in the box (-pbc whole).<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Ilya Chorny &lt;ichorny@gmail.com&gt;<BR>To: Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<BR>Sent: Tuesday, April 22, 2008 11:52:23 PM<BR>Subject: Re: [gmx-users] How to center my trimer in my simulation box.<BR><BR>So I got it to center my protein (using -pbc nojump)&nbsp; and keep the trimer and the membrane in tact but it completely destroyed my water. I was hoping I could get the whole simulation box back with the protein in the center.&nbsp; Is that possible?<BR><BR>Thanks,<BR><BR>Ilya<BR><BR><BR>
<DIV class=gmail_quote>On Tue, Apr 22, 2008 at 3:25 PM, Ilya Chorny &lt;<A href="mailto:ichorny@gmail.com" target=_blank rel=nofollow ymailto="mailto:ichorny@gmail.com">ichorny@gmail.com</A>&gt; wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Just to clarify.
<DIV><BR></DIV>
<DIV>I would run</DIV>
<DIV><BR></DIV>
<DIV>trjconv -f *.gro -s *.tpr -pbc nojump -o out.gro?</DIV>
<DIV><BR></DIV>
<DIV>What would I run next?</DIV>
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV><BR></DIV>
<DIV>Ilya</DIV>
<DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c><BR><BR>
<DIV class=gmail_quote>On Tue, Apr 22, 2008 at 2:59 PM, Xavier Periole &lt;<A href="mailto:X.Periole@rug.nl" target=_blank rel=nofollow ymailto="mailto:X.Periole@rug.nl">X.Periole@rug.nl</A>&gt; wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>On Tue, 22 Apr 2008 14:14:19 -0700<BR>&nbsp;"Ilya Chorny" &lt;<A href="mailto:ichorny@gmail.com" target=_blank rel=nofollow ymailto="mailto:ichorny@gmail.com">ichorny@gmail.com</A>&gt; wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello,<BR><BR>I am simulating a trimer in a membrane. In one of my simulation &nbsp;two of the<BR>monomers are on one side of the box and the other monomer is on the other<BR>side of the box. I tried using trjconv to center the whole thing in the<BR>center of my simulation cell but have failed miserably. I also searched<BR>around for about an hour and could not find anything.<BR><BR>I use trjconv -f *.gro -s *.tpr -center rect -pbc whole -o *.gro.<BR></BLOCKQUOTE></DIV>first run<BR>trjconv -pbc nojump
<DIV><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Any advice?<BR><BR>Thanks,<BR><BR>Ilya<BR><BR>-- <BR>Ilya Chorny Ph.D.<BR></BLOCKQUOTE><BR></DIV>-----------------------------------------------------<BR>XAvier Periole - PhD<BR><BR>NMR &amp; Molecular Dynamics Group<BR>University of Groningen<BR>The Netherlands<BR><A href="http://md.chem.rug.nl/~periole" target=_blank rel=nofollow>http://md.chem.rug.nl/~periole</A><BR>-----------------------------------------------------<BR>_______________________________________________<BR>gmx-users mailing list &nbsp; &nbsp;<A href="mailto:gmx-users@gromacs.org" target=_blank rel=nofollow ymailto="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR><A href="http://www.gromacs.org/mailman/listinfo/gmx-users" target=_blank rel=nofollow>http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>Please search the archive at <A href="http://www.gromacs.org/search"
 target=_blank rel=nofollow>http://www.gromacs.org/search</A> before posting!<BR>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <A href="mailto:gmx-users-request@gromacs.org" target=_blank rel=nofollow ymailto="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.<BR>Can't post? Read <A href="http://www.gromacs.org/mailing_lists/users.php" target=_blank rel=nofollow>http://www.gromacs.org/mailing_lists/users.php</A><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR></DIV></DIV>-- <BR>Ilya Chorny Ph.D.<BR></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Ilya Chorny Ph.D.<BR></DIV><BR></DIV></div><br>

      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>