<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>The suggested pull parameters below are correct,<br>except that you should not use pull_geometry=position,<br>since that will only make group1 move, not group0.<br>You should use pull_geometry=distance,<br>pull_vec1 is that no longer required, since distance<br>will move the two groups away along the vector<br>between the two COM's.<br><br>Berk<br><br>&gt; Date: Fri, 31 Jul 2009 09:58:56 +0200<br>&gt; From: schlesi@uni-mainz.de<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] Re: Pulling a CG protein<br>&gt; <br>&gt; Hi Johnny,<br>&gt; i replied something to the pull-code of your question. But problem was,<br>&gt; i didn't edited the subject line...<br>&gt; So here is my answer (see below) with the right subject line (so that<br>&gt; you hopefully find it).<br>&gt; Hope it helps you.<br>&gt; Thomas<br>&gt; <br>&gt; &gt; <br>&gt; &gt; Message: 3<br>&gt; &gt; Date: Thu, 30 Jul 2009 12:08:40 -0700 (PDT)<br>&gt; &gt; From: "Johnny Lam" &lt;johntus@berkeley.edu&gt;<br>&gt; &gt; Subject: Re: [gmx-users] Pulling a CG protein<br>&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; Cc: baaden@smplinux.de<br>&gt; &gt; Message-ID:<br>&gt; &gt;         &lt;56441.128.32.142.53.1248980920.squirrel@calmail.berkeley.edu&gt;<br>&gt; &gt; Content-Type: text/plain;charset=iso-8859-1<br>&gt; &gt; <br>&gt; &gt; Hi XAvier, Marc, and David,<br>&gt; &gt; <br>&gt; &gt; Thank you so much for the reply and encouragement ;-). Please forgive me<br>&gt; &gt; as I am trying to learn how to reply to the thread that I started. With<br>&gt; &gt; regards to the fun discussion, it was my original intent to compare the<br>&gt; &gt; results of pulling with the MARTINI forcefield (if the pull code was<br>&gt; &gt; correct) with already published works on MD (using all-atomistic modeling<br>&gt; &gt; of course :-)). I just wanted to know whether the pull code that I am<br>&gt; &gt; using will be valid at all. If you guys can verify that would be awesome!<br>&gt; &gt; Otherwise, I'd be happy to share the results with you guys if you wish.<br>&gt; &gt; Again, thanks!<br>&gt; &gt; <br>&gt; &gt; --Johnny<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; -------------------------------------------------<br>&gt; &gt; Johnny Lam<br>&gt; &gt; ISPE Berkeley Chapter External Vice President<br>&gt; &gt; Department of Bioengineering<br>&gt; &gt; College of Engineering<br>&gt; &gt; University of California, Berkeley<br>&gt; &gt; Tel: (408) 655- 6829<br>&gt; &gt; Email: johntus@berkeley.edu<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ----------------------------------------------------------------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Message: 1<br>&gt; &gt; &gt; Date: Wed, 29 Jul 2009 16:04:54 -0700 (PDT)<br>&gt; &gt; &gt; From: "Johnny Lam" &lt;johntus@berkeley.edu&gt;<br>&gt; &gt; &gt; Subject: [gmx-users] Pulling a CG protein<br>&gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; Message-ID:<br>&gt; &gt; &gt;         &lt;55658.128.32.142.63.1248908694.squirrel@calmail.berkeley.edu&gt;<br>&gt; &gt; &gt; Content-Type: text/plain;charset=iso-8859-1<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Dear gromacs users,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi, I am trying to pull apart a relatively large protein (CG using the<br>&gt; &gt; &gt; martini force field) by pulling on two groups in opposite directions. To<br>&gt; &gt; &gt; do this, I will be using the following .mdp file. However, I am almost<br>&gt; &gt; &gt; certain that it contains errors:<br>&gt; &gt; &gt;<br>&gt; <br>&gt; -snip<br>&gt; <br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ; Pulling<br>&gt; &gt; &gt; pull                =  afm<br>&gt; &gt; &gt; pull_geometry       =  direction<br>&gt; &gt; &gt; pull_start          =  no<br>&gt; &gt; &gt; pull_nstxout        =  10<br>&gt; &gt; &gt; pull_nstfout        =  10<br>&gt; &gt; &gt; pull_ngroups        =  2<br>&gt; &gt; &gt; pull_group0         =<br>&gt; &gt; &gt; pull_group1         =  pull<br>&gt; &gt; &gt; pull_vec1           =  -0.1764 -0.9823 -0.0625<br>&gt; &gt; &gt; pull_init1          =  -0.1764 -0.9823 -0.0625<br>&gt; &gt; &gt; pull_rate1          =  0.0001<br>&gt; &gt; &gt; pull_k1             =  1000<br>&gt; &gt; &gt; pull_group2         =  freeze<br>&gt; &gt; &gt; pull_vec2           =  0.1764 0.9823 0.0625<br>&gt; &gt; &gt; pull_init2          =  0.1764 0.9823 0.0625<br>&gt; &gt; &gt; pull_rate2          =  0.0000000001<br>&gt; &gt; &gt; pull_k2             =  5000<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <br>&gt; Think the first problem is the:<br>&gt; pull = afm<br>&gt; In the manual there is no more a 'afm' option, but as far as i know<br>&gt; 'umbrella' should be the same (don't ask me why there was no error<br>&gt; message about this). If you have no pull_group0 you could get problem<br>&gt; with the com-motion.<br>&gt; If you want to pull 'pull' away from 'freeze', i would do the following:<br>&gt; <br>&gt; pull = umbrella<br>&gt; pull_geometry = position<br>&gt; pull_start = yes  (we don't want to calculate the initial distance<br>&gt; between 'pull' and 'freeze' by hand)<br>&gt; pull_ngroups = 1 (because the reference group doesn't count to this value)<br>&gt; pull_dim = Y Y Y (because we want to pull in 3D)<br>&gt; pull_group0 = freeze<br>&gt; pull_group1 = pull<br>&gt; pull_vec1 = vector from 'freeze' to 'pull'<br>&gt; pull_init1 = 0.0 0.0 0.0<br>&gt; <br>&gt; Now you are pulling 'pull' away from 'freeze' and and you should have no<br>&gt; problem with com-motion.<br>&gt; If you want to fix the position of 'freeze' i would use position_restraints.<br>&gt; One thing: once i had problems with the 'pull_weightsX', i got (with one<br>&gt; system) every time error messages (i had only 1atom in each group and<br>&gt; tried the values 0 and 1 both, but didn't work). So i left these to<br>&gt; values blank and GROMACS selected them, and it worked. In other<br>&gt; simulations with a similar setup i had no problems with 'pull_weightsX'.<br>&gt; <br>&gt; <br>&gt; &gt; &gt; The reason why group 2 has such a high force constant and low pull<br>&gt; rate is<br>&gt; &gt; &gt; because I wanted to simulate putting a harmonic constraint on the freeze<br>&gt; &gt; &gt; group. However, when I process this .mdp with grompp, I get the<br>&gt; following<br>&gt; &gt; &gt; message:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; WARNING 1 [file md_vinculin.mdp, line unknown]:<br>&gt; &gt; &gt;   Unknown or double left-hand 'pull_group2' in parameter file<br>&gt; <br>&gt; Another thing could be that you have no index group with the name 'freeze'?<br>&gt; <br>&gt; But best have also a look in the new (GROMACS 4) manual. COM pulling is<br>&gt; described from page 156 on.<br>&gt; <br>&gt; Hope this helps<br>&gt; Thomas<br>&gt; <br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; WARNING 2 [file md_vinculin.mdp, line unknown]:<br>&gt; &gt; &gt;   Unknown or double left-hand 'pull_vec2' in parameter file<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The version of gromacs I have running on my powerpc is 4.0.5 so the pull<br>&gt; &gt; &gt; code should be implemented in the .mdp file. I am not sure if I<br>&gt; specified<br>&gt; &gt; &gt; the parameters correctly. Please help! Thanks!<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --Johnny<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -------------------------------------------------<br>&gt; &gt; &gt; Johnny Lam<br>&gt; &gt; &gt; ISPE Berkeley Chapter External Vice President<br>&gt; &gt; &gt; Department of Bioengineering<br>&gt; &gt; &gt; College of Engineering<br>&gt; &gt; &gt; University of California, Berkeley<br>&gt; &gt; &gt; Tel: (408) 655- 6829<br>&gt; &gt; &gt; Email: johntus@berkeley.edu<br>&gt; &gt; &gt;<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.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 />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>