<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>

<div class=Section1 dir=RTL>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'>Hello Xavier, and sorry to bump in. I am also having that
same issue just as Maria described &#8211; could you please explain in a bit
more details why does that happen? <o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'>I mean, why does the membrane move along z-axis, and how to
solve/avoid it?<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'>Thanks a lot,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'>-Shay<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR><b><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> gmx-users-bounces@gromacs.org
[mailto:gmx-users-bounces@gromacs.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>XAvier Periole<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, July 03, 2009 12:27
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Discussion
 list for GROMACS users</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [gmx-users] Re: how
to center a MARTINI trajectory so that thelipid bilayer remains at the center
of the box (XAvier Periole)</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>This sounds pretty bad! You have a drift of your all
system apparently ...&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Did you not remove the COM of your system?&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>For membranes it is often recommended to remove the
water and the&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>lipid bilayer separately. The might drift one from the
other.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Jul 3, 2009, at 12:19 PM, maria goranovic wrote:<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Well the bilayer drifts
down in the z-direction, and eventually the leaflets almost separate, with each
leaflet being on opposite ends of the box. <br>
<br>
if i try pbc nojump, the lipids drift far away from the box&nbsp; in the xy
plane<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Fri, Jul 3, 2009 at 12:00 PM, &lt;<a
href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;
wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Send gmx-users mailing list submissions to<br>
&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
&nbsp; &nbsp; &nbsp; &nbsp;<a
href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><br>
<br>
You can reach the person managing the list at<br>
&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:gmx-users-owner@gromacs.org">gmx-users-owner@gromacs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gmx-users digest...&quot;<br>
<br>
<br>
Today's Topics:<br>
<br>
&nbsp; 1. Re: how to center a MARTINI trajectory so that the lipid<br>
&nbsp; &nbsp; &nbsp;bilayer remains at the center of the box (XAvier Periole)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 3 Jul 2009 11:43:55 +0200<br>
From: XAvier Periole &lt;<a href="mailto:x.periole@rug.nl">x.periole@rug.nl</a>&gt;<br>
Subject: Re: [gmx-users] how to center a MARTINI trajectory so that<br>
&nbsp; &nbsp; &nbsp; &nbsp;the lipid &nbsp; &nbsp; &nbsp; bilayer remains at
the center of the box<br>
To: <st1:PersonName w:st="on">Discussion list for GROMACS users</st1:PersonName>
&lt;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:EEA7DAA1-6584-4AF0-8321-3FEA30A413F4@rug.nl">EEA7DAA1-6584-4AF0-8321-3FEA30A413F4@rug.nl</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
<br>
What is the problem exactly? The two layers separate over the pbc?<br>
did you try a -pbc nojump prior the centering?<br>
<br>
On Jul 3, 2009, at 11:37 AM, maria goranovic wrote:<br>
<br>
&gt; Dear All,<br>
&gt;<br>
&gt; This has been discussed before for individual frames. But I am<br>
&gt; having a problem in trying to center a trajectory so that the<br>
&gt; bilayer remains at the center of the box. I have tried several<br>
&gt; combinations, but none of the them work. In each case, the centering<br>
&gt; and/or the fitting is done on the lipid bilayer itself.<br>
&gt;<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -<br>
&gt; center -boxcenter zero -pbc mol<br>
&gt;<br>
&gt; this one works for one particular .gro file, but not for the whole<br>
&gt; trajectory. I tried all of the following, but none of them work.<br>
&gt; What is the solution ?<br>
&gt;<br>
&gt;<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -<br>
&gt; center -boxcenter zero<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -pbc<br>
&gt; mol -boxcenter zero<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -pbc<br>
&gt; mol -center<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx &nbsp; -<br>
&gt; pbc mol -fit trans<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx &nbsp; -<br>
&gt; pbc mol -fit trans -center<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx &nbsp; -<br>
&gt; pbc mol -fit trans -center -boxcenter zero<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -fit<br>
&gt; trans<br>
&gt; trjconv -s struct-1.tpr -f temp.xtc -o final.xtc -n struct.ndx -fit<br>
&gt; progressive<br>
&gt;<br>
&gt; --<br>
&gt; Maria G.<br>
&gt; <st1:PlaceName w:st="on">Technical</st1:PlaceName> <st1:PlaceType w:st="on">University</st1:PlaceType>
of <st1:country-region w:st="on"><st1:place w:st="on">Denmark</st1:place></st1:country-region><br>
&gt; <st1:City w:st="on"><st1:place w:st="on">Copenhagen</st1:place></st1:City><br>
&gt; _______________________________________________<br>
&gt; gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users"
target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt; Please search the archive at <a href="http://www.gromacs.org/search"
target="_blank">http://www.gromacs.org/search</a> before<br>
&gt; posting!<br>
&gt; Please don't post (un)subscribe requests to the list. Use the<br>
&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt; Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php"
target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gmx-users mailing list<br>
<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/search"
target="_blank">http://www.gromacs.org/search</a> before posting!<br>
<br>
End of gmx-users Digest, Vol 63, Issue 11<br>
*****************************************<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Maria G.<br>
<st1:PlaceName w:st="on">Technical</st1:PlaceName> <st1:PlaceType w:st="on">University</st1:PlaceType>
of <st1:country-region w:st="on"><st1:place w:st="on">Denmark</st1:place></st1:country-region><br>
<st1:City w:st="on"><st1:place w:st="on">Copenhagen</st1:place></st1:City><br>
_______________________________________________<br>
gmx-users mailing list &nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at http://www.gromacs.org/search before posting!<br>
Please don't post (un)subscribe requests to the list. Use the <br>
www interface or send it to gmx-users-request@gromacs.org.<br>
Can't post? Read http://www.gromacs.org/mailing_lists/users.php<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>