<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>This issue has been resolved.<br>It was indeed a problem of a pull group consisting of multiple molecules.<br>In this case the choice of the pull_pbcatom mdp parameter was critical.<br>If you do not set this, it takes the numerically middle atom of the group.<br>In this case that was an atom in a lipid head group.<br>The distance of this reference head group atom to the head groups<br>on the other side of the bilayer was shorter through pbc and the solvent<br>than through the bilayer.<br>Setting pull_pbcatom by hand to a tail end atom resolved the issue.<br><br>Berk<br><br><hr id="stopSpelling">From: gmx3@hotmail.com<br>To: gmx-users@gromacs.org<br>Subject: RE: [gmx-users] Transition difficulties: version 3.3.3        to        4.0.3        regarding pull_geometry=distance<br>Date: Wed, 28 Jan 2009 10:45:33 +0100<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi,<br><br>You can mail the system to me.<br>Please include all the details required to run the system<br>and the different results you get with the exact Gromacs version numbers.<br><br>Berk<br><br>&gt; Date: Wed, 28 Jan 2009 00:52:06 -0500<br>&gt; From: fiedler@umich.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] Transition difficulties: version 3.3.3        to        4.0.3        regarding pull_geometry=distance<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; The permeants in my bilayer system are improperly pulled in calculations <br>&gt; using all versions of Gromacs 4.0.x including the VERSION <br>&gt; 4.0.99_development_20090120.  Since, due to restrictions, I can not <br>&gt; provide the topology file for my system to bugzilla, I constructed a <br>&gt; similar prototypical system using Prof. Tieleman's POPC bilayer <br>&gt; coordinates and field parameters.  A buckyball permenat doped in the <br>&gt; center of this system did indeed react similarly in a 4.0.3 calculation <br>&gt; with an improper pull away from the equilibrated 3.3.1 constraint force <br>&gt; coordinates.  It was heartening to see that this problem was fixed for <br>&gt; that system, by using VERSION 4.0.99_development_20090120.  <br>&gt; Unfortunately, again the problem remained for my actual system, even <br>&gt; with use of the newest version of code.<br>&gt; <br>&gt; Since the cylinder option is now operational, I have a viable <br>&gt; work-around for this problem.  I am quite appreciative of the attention <br>&gt; that this issue has received.  If there is continued interest, and a <br>&gt; willingness for an engineer to receive the topology file in a less <br>&gt; public forum than bugzilla, I believe we could proceed with the <br>&gt; debugging process.<br>&gt; <br>&gt; Thank you,<br>&gt; <br>&gt; Steve Fiedler<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Berk Hess wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; Just to be sure, the pull code is producing the correct results now?<br>&gt; &gt; The only problems should be in several analysis tools.<br>&gt; &gt;<br>&gt; &gt; The analysis tools have been written only with analysis of molecules<br>&gt; &gt; or parts of molecules in mind. When you want to analyze groups<br>&gt; &gt; that cover two molecules or more there will be pbc problems.<br>&gt; &gt; These are not simple to fix. If the distances between all the atoms<br>&gt; &gt; in the group are less than half a box length there is a unique COM.<br>&gt; &gt; The procedure should be similar to what trjconv -pbc cluster does.<br>&gt; &gt;<br>&gt; &gt; I can try to implement this for g_traj and g_dist.<br>&gt; &gt; Are there other tools that cause problems?<br>&gt; &gt;<br>&gt; &gt; Berk<br>&gt; &gt;<br>&gt; &gt; &gt; Date: Mon, 26 Jan 2009 17:46:26 -0500<br>&gt; &gt; &gt; From: fiedler@umich.edu<br>&gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; Subject: Re: [gmx-users] Transition difficulties: version 3.3.3 to <br>&gt; &gt; 4.0.3 regarding pull_geometry=distance<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi Chris,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Your suggestions were helpful. Due to the nature of this problem, there<br>&gt; &gt; &gt; were limitations in the application of the sequence of steps that you<br>&gt; &gt; &gt; recommended. Specifically, the difference in the equilibrated structure<br>&gt; &gt; &gt; from version 3.3.x to the calculated reference center of mass from<br>&gt; &gt; &gt; version 4.0.x causes an unreasonable "jump" with constraint force<br>&gt; &gt; &gt; calculation. Resultant bad contacts prohibit generation of a pull<br>&gt; &gt; &gt; output file.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; More generally though, I believe I understand your broader point: the<br>&gt; &gt; &gt; sensitive nature of the periodic box with respect to the pull code and<br>&gt; &gt; &gt; possible discrepancies in the pbc treatment by various utilities, may<br>&gt; &gt; &gt; cause confusion with the diagnostic process. The test bilayer system I<br>&gt; &gt; &gt; created however, centered distantly from the x and y box edges, may<br>&gt; &gt; &gt; effectively remove this set of concerns. For example, this<br>&gt; &gt; &gt; configuration is relatively unchanged upon "recentering", however it is<br>&gt; &gt; &gt; still susceptible to the problem that is the subject of this discussion.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; If I can reproduce this phenomenon with a publicly available topology<br>&gt; &gt; &gt; file, I can provide the necessary input files for inspection.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thank you again,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Steve Fiedler<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; chris.neale@utoronto.ca wrote:<br>&gt; &gt; &gt; &gt; Hi Steve,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; what I intended to suggest was actually something different (and much<br>&gt; &gt; &gt; &gt; easier).<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The idea is not that you need some special system to be able to<br>&gt; &gt; &gt; &gt; utilize the pull code, but that the pull code is correct whereas the<br>&gt; &gt; &gt; &gt; g_dist and g_traj programs are not as good at treating pbc in the way<br>&gt; &gt; &gt; &gt; that one desires.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I suggest the following.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 1. Take your original system and run the pull code for a very short<br>&gt; &gt; &gt; &gt; simulation. Use the last line of the output to calculate the relevant<br>&gt; &gt; &gt; &gt; displacement<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 2. Now use trjconv -b -e to get the last frame of the .xtc that<br>&gt; &gt; &gt; &gt; resulted from that short MD run as a .gro file, call it final.gro. I<br>&gt; &gt; &gt; &gt; suspect that your groups are not entirely in the same simulation box<br>&gt; &gt; &gt; &gt; in final.gro.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 3. Now make a new .ndx file from that .gro and give it a single<br>&gt; &gt; &gt; &gt; residue that is near your binding pocket, call it R_1<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 4. Now apply trjconv -center -pbc mol -ur compact while selecting R_1<br>&gt; &gt; &gt; &gt; for centering, call the new .gro file final_center.gro<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 5. Visualize final_center.gro and ensure that all of your relevant<br>&gt; &gt; &gt; &gt; atoms are in the same image in the way that puts the minimum distance<br>&gt; &gt; &gt; &gt; between them along a path that is entirely contained within the unit<br>&gt; &gt; &gt; &gt; cell. If not, go back to step 3 and try making a group R_2, etc.<br>&gt; &gt; &gt; &gt; until this process works. NOTE: you might think that giving trjconv<br>&gt; &gt; &gt; &gt; -center the relevant groups that you use for pulling will be a good<br>&gt; &gt; &gt; &gt; idea here, but it is not. The problem there is that the atoms may be<br>&gt; &gt; &gt; &gt; "centered" by placing half on the left boundary and half on the right<br>&gt; &gt; &gt; &gt; boundary. I find using one logically selected residue or atom is the<br>&gt; &gt; &gt; &gt; best method here.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 6. Assuming that you got what you wanted in step 5, now run g_traj <br>&gt; &gt; and<br>&gt; &gt; &gt; &gt; g_dist on final_center.gro. In my case, I found that g_traj and <br>&gt; &gt; g_dist<br>&gt; &gt; &gt; &gt; give the same answer as the pull code output when I am using<br>&gt; &gt; &gt; &gt; final_center.gro, but not always when I am using final.gro.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; *** I always laugh when these problems arise because, in an important<br>&gt; &gt; &gt; &gt; sense, the protein *did* jump out of the simulation box... at <br>&gt; &gt; least as<br>&gt; &gt; &gt; &gt; far as g_traj and g_dist are concerned. This, we must hope, is<br>&gt; &gt; &gt; &gt; correctly treated in the pull code even though it is incorrectly (or<br>&gt; &gt; &gt; &gt; at least unintuitively) treated by g_traj and g_dist.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Chris.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; -- original message --<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Hi,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thank you Berk and Chris for the suggestions.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; To address the possibility that this issue is related to periodic<br>&gt; &gt; &gt; &gt; boundaries, I used two approaches:<br>&gt; &gt; &gt; &gt; 1. The pull group of interest (permeant) was centered in the x-y plane<br>&gt; &gt; &gt; &gt; of the box using Chris' approach. I then used the genconf utility to<br>&gt; &gt; &gt; &gt; replicate my lipid box to a 9x9 grid in the x-y plane and removed all<br>&gt; &gt; &gt; &gt; but the center box. This generated the coordinates for a bilayer <br>&gt; &gt; system<br>&gt; &gt; &gt; &gt; with all lipid molecules inside a box and intact. The discrepancy<br>&gt; &gt; &gt; &gt; between the grompp (version 4.0.3) output and distances as <br>&gt; &gt; calculated by<br>&gt; &gt; &gt; &gt; g_traj (version 4.0.3) persist, 2.667 vs. 0.3996 nm.<br>&gt; &gt; &gt; &gt; 2. I constructed a three atom system containing 2 reference atoms of<br>&gt; &gt; &gt; &gt; type A, and a "pull" atom of type B. Proper output from grompp was<br>&gt; &gt; &gt; &gt; observed for all coordinates of both the reference and pulled atoms,<br>&gt; &gt; &gt; &gt; include coordinates for atoms moved outside the box in the x-y plane.<br>&gt; &gt; &gt; &gt; The coordinate, topology, and run control parameter file are given <br>&gt; &gt; below.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; If there are additional suggestions, I would be greatly appreciative.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thank you,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Steve Fiedler<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; &gt; conf.gro<br>&gt; &gt; &gt; &gt; Three atoms<br>&gt; &gt; &gt; &gt; 3<br>&gt; &gt; &gt; &gt; 1AAA A 1 1.500 1.500 1.000<br>&gt; &gt; &gt; &gt; 2AAA A 2 0.500 1.500 1.000<br>&gt; &gt; &gt; &gt; 3BBB B 3 -1.500 1.500 1.700<br>&gt; &gt; &gt; &gt; 3.00000 3.00000 3.00000<br>&gt; &gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; &gt; index.ndx<br>&gt; &gt; &gt; &gt; [ System ]<br>&gt; &gt; &gt; &gt; 1 2 3<br>&gt; &gt; &gt; &gt; [ Ref ]<br>&gt; &gt; &gt; &gt; 1 2<br>&gt; &gt; &gt; &gt; [ Pulled ]<br>&gt; &gt; &gt; &gt; 3<br>&gt; &gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; &gt; grompp.mdp<br>&gt; &gt; &gt; &gt; title = ThreeAtoms<br>&gt; &gt; &gt; &gt; integrator = md<br>&gt; &gt; &gt; &gt; dt = 0.001<br>&gt; &gt; &gt; &gt; nsteps = 1<br>&gt; &gt; &gt; &gt; ns_type = grid<br>&gt; &gt; &gt; &gt; pbc = xyz<br>&gt; &gt; &gt; &gt; coulombtype = shift<br>&gt; &gt; &gt; &gt; rlist = 1.4<br>&gt; &gt; &gt; &gt; rcoulomb = 1.4<br>&gt; &gt; &gt; &gt; rvdw = 1.4<br>&gt; &gt; &gt; &gt; tcoupl = no<br>&gt; &gt; &gt; &gt; pcoupl = no<br>&gt; &gt; &gt; &gt; constraint_algorithm = shake<br>&gt; &gt; &gt; &gt; shake_tol = 1e-4<br>&gt; &gt; &gt; &gt; gen-vel = no<br>&gt; &gt; &gt; &gt; gen-temp = 0<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; nstxout = 1<br>&gt; &gt; &gt; &gt; nstvout = 0<br>&gt; &gt; &gt; &gt; nstfout = 0<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; pull = umbrella<br>&gt; &gt; &gt; &gt; pull_geometry = distance<br>&gt; &gt; &gt; &gt; pull_dim = N N Y<br>&gt; &gt; &gt; &gt; pull_start = no<br>&gt; &gt; &gt; &gt; pull_init1 = 0.7<br>&gt; &gt; &gt; &gt; pull_group0 = Ref<br>&gt; &gt; &gt; &gt; pull_group1 = Pulled<br>&gt; &gt; &gt; &gt; pull_k1 = 10000<br>&gt; &gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; &gt; topology.top<br>&gt; &gt; &gt; &gt; ; topology for two partially charged atoms<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ defaults ]<br>&gt; &gt; &gt; &gt; ; nbfunc comb-rule gen-pairs fudgeLJ fudgeQQ<br>&gt; &gt; &gt; &gt; 1 3 yes 0.125 0.5<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ atomtypes ]<br>&gt; &gt; &gt; &gt; ;name mass charge ptype sig eps<br>&gt; &gt; &gt; &gt; A 1000.0000 0.000 A 0.50000 9.90000<br>&gt; &gt; &gt; &gt; B 9.0000 0.000 A 0.30000 9.00000<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ nonbond_params ]<br>&gt; &gt; &gt; &gt; ; i j func sig eps<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ moleculetype ]<br>&gt; &gt; &gt; &gt; AAAA 1<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ atoms ]<br>&gt; &gt; &gt; &gt; ; nr type resnr residue atom cgnr charge mass<br>&gt; &gt; &gt; &gt; 1 A 1 AAA A 1 0.000 1000.0000<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ moleculetype ]<br>&gt; &gt; &gt; &gt; BBBB 1<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ atoms ]<br>&gt; &gt; &gt; &gt; ; nr type resnr residue atom cgnr charge mass<br>&gt; &gt; &gt; &gt; 1 B 1 BBB B 1 0.000 9.00<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ system ]<br>&gt; &gt; &gt; &gt; ; name<br>&gt; &gt; &gt; &gt; Three atoms<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; [ molecules ]<br>&gt; &gt; &gt; &gt; ; name number<br>&gt; &gt; &gt; &gt; AAAA 2<br>&gt; &gt; &gt; &gt; BBBB 1<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Chris Neale wrote:<br>&gt; &gt; &gt; &gt;&gt; I just checked similar simulations of mine and Berk's suggestion<br>&gt; &gt; &gt; &gt;&gt; accounts for similar discrepancies that I notice on a quick<br>&gt; &gt; &gt; &gt;&gt; evaluation where g_traj and g_dist fail to give me the same distance<br>&gt; &gt; &gt; &gt;&gt; as I obtain from the pull pos.xvg file. As Berk suggests, once I<br>&gt; &gt; &gt; &gt;&gt; first trjconv -center -pbc mol -ur compact (giving an appropriate<br>&gt; &gt; &gt; &gt;&gt; residue for centering that puts all relevant pulled atoms in the <br>&gt; &gt; same<br>&gt; &gt; &gt; &gt;&gt; box) then g_traj and g_dist both give me the exact same answer as I<br>&gt; &gt; &gt; &gt;&gt; calculate based on pull pos.xvg. Chris -- original message -- Hi,<br>&gt; &gt; &gt; &gt;&gt; There could be a problem with periodic boundary conditions. Do you<br>&gt; &gt; &gt; &gt;&gt; have multiple molecules in a pull group, or broken molecules? In <br>&gt; &gt; that<br>&gt; &gt; &gt; &gt;&gt; case the COM position of 3.3.3 and g_traj are both incorrect. The<br>&gt; &gt; &gt; &gt;&gt; pull code in 4.0 grompp and mdrun are (as far as I know) always<br>&gt; &gt; &gt; &gt;&gt; correct. Berk<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before<br>&gt; &gt; &gt; &gt; posting!<br>&gt; &gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use thewww<br>&gt; &gt; &gt; &gt; interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; Steve Fiedler, Ph.D.<br>&gt; &gt; &gt; Research Fellow<br>&gt; &gt; &gt; Department of Mechanical Engineering<br>&gt; &gt; &gt; The University of Michigan<br>&gt; &gt; &gt; 2024 G.G. Brown<br>&gt; &gt; &gt; 2350 Hayward St.<br>&gt; &gt; &gt; Ann Arbor, MI 48109-2125<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before <br>&gt; &gt; posting!<br>&gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; What can you do with the new Windows Live? Find out <br>&gt; &gt; &lt;http://www.microsoft.com/windows/windowslive/default.aspx&gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br><hr>Express yourself instantly with MSN Messenger! <a href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/">MSN Messenger</a><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>