<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
OK,<br>however, just one point about your last comment:<br><br>&gt; I suspect this is why g_wham is finding a range of values only equal to half of <br>&gt; your expected reaction coordinate; it is considering only the positive <br>&gt; displacement along the reaction coordinate.<br><br>It seems like all the channel is explored, not only one half. If g_wham was only considering the positive displacement I should see a profile for just one half of the channel, shouldn´t I? and I can see a profile typical for the entire channel.<br><br>Rebeca.<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Date: Thu, 31 May 2012 15:42:06 -0400<br>&gt; From: jalemkul@vt.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] Re: boundaries in PMF<br>&gt; <br>&gt; <br>&gt; <br>&gt; On 5/31/12 3:37 PM, Rebeca García Fandiño wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; the center of mass of my channel is at the middle of the ion channel, and it is<br>&gt; &gt; a symmetric system, so I suppose these results would be OK. Anyway, I will check<br>&gt; &gt; the options you propose.<br>&gt; <br>&gt; If you are sampling regions above and below the channel/membrane, then the <br>&gt; "distance" geometry is not appropriate; you need either "direction" or (perhaps <br>&gt; the most flexible option) "position."  There are a number of useful discussions <br>&gt; on such topics in the list archive and in my umbrella sampling tutorial for you <br>&gt; to consider.  You can likely create a series of .tpr files from new .mdp files <br>&gt; with correct options to run the analysis.<br>&gt; <br>&gt; I suspect this is why g_wham is finding a range of values only equal to half of <br>&gt; your expected reaction coordinate; it is considering only the positive <br>&gt; displacement along the reaction coordinate.<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt; &gt; Thanks a lot for all your comments!!<br>&gt; &gt; Best wishes,<br>&gt; &gt; Rebeca.<br>&gt; &gt;<br>&gt; &gt;  &gt; Date: Thu, 31 May 2012 20:08:26 +0200<br>&gt; &gt;  &gt; From: schlesi@uni-mainz.de<br>&gt; &gt;  &gt; To: gmx-users@gromacs.org<br>&gt; &gt;  &gt; Subject: [gmx-users] Re: boundaries in PMF<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; Where is the center of mass of reference group (MOL) located?<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; It seems that the COM is near the middle of the ion channel. Since you<br>&gt; &gt;  &gt; use 'pull_geometry=distance', g_wham will look only for the distance<br>&gt; &gt;  &gt; between 'MOL' and 'Na' and that leads to problem.<br>&gt; &gt;  &gt; If the com of 'MOL' sits in the center of the channel (which is around<br>&gt; &gt;  &gt; 5nm long), one has 2.5nm in both directions. Since g_wham uses only the<br>&gt; &gt;  &gt; distance you get the PMF for half of the channel, but with the data of<br>&gt; &gt;  &gt; both parts.<br>&gt; &gt;  &gt; If the channel would be symmetric and the com of 'MOL' would lie exactly<br>&gt; &gt;  &gt; in the middle of the channel, this could be ok. But if even one of both<br>&gt; &gt;  &gt; assumptions is wrong, the results would be errorous.<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; A better approach would be to use 'pull_geometry=direction', since the<br>&gt; &gt;  &gt; you define a vector along which the windows lie and do not have the<br>&gt; &gt;  &gt; problem that the distance is in both directions (along positive and<br>&gt; &gt;  &gt; negative vector) the same.<br>&gt; &gt;  &gt; Only problem could be that g_wham supports 'pull_geometry=direction'<br>&gt; &gt;  &gt; only from gromacs 4.5.x (don't know this, since instead of umbrella<br>&gt; &gt;  &gt; smapling i use thermodynamik integration, where one uses constraints<br>&gt; &gt;  &gt; (instead of restraints) and integrates the constraint-force; but the<br>&gt; &gt;  &gt; conceptual problem with 'distance/direction' is the same).<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; Another approach (with 'pull_geometry=distance') would be to use a<br>&gt; &gt;  &gt; reference group which is just outside of the channel (like going some<br>&gt; &gt;  &gt; steps away from the channel, along the vector which goes through the<br>&gt; &gt;  &gt; channel). If there is only water, it would be bad, because then the<br>&gt; &gt;  &gt; reference group would be move away.<br>&gt; &gt;  &gt; But then on could use the entry and exit of the channel as a reference<br>&gt; &gt;  &gt; point for two simulations. In the case that the entry is the reference<br>&gt; &gt;  &gt; group, the PMF would be ill defined near the entry, but from the<br>&gt; &gt;  &gt; simulation with the exit as reference you would get the right PMF for<br>&gt; &gt;  &gt; the entry region and vice versa.<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; Greetings<br>&gt; &gt;  &gt; Thomas<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt;<br>&gt; &gt;  &gt; Am 31.05.2012 19:39, schrieb gmx-users-request@gromacs.org:<br>&gt; &gt;  &gt; &gt; Thanks a lot for your quick answer. The mdp file I have used is copied<br>&gt; &gt;  &gt; &gt; below. What is strange is that when I look at the *gro files for the<br>&gt; &gt;  &gt; &gt; different windows (100 windows in total), i. e: window 1: 8704Na Na56458<br>&gt; &gt;  &gt; &gt; 5.134 5.085 5.824 window 50: 8704Na Na56458 5.053 5.081 3.459 window<br>&gt; &gt;  &gt; &gt; 100: 8704Na Na56458 4.990 5.042 0.951 you can see that the z-coordinate<br>&gt; &gt;  &gt; &gt; goes from 0.951 to 5.824 nm I should have a total distance in the x-axis<br>&gt; &gt;  &gt; &gt; of about 5 nm, and however, the boundaries calculated by g_wham are<br>&gt; &gt;  &gt; &gt; "Determined boundaries to 0.000035 to 2.603290 " Can you see anything in<br>&gt; &gt;  &gt; &gt; the mdp file which is causing this behaviour...? Thanks again for your<br>&gt; &gt;  &gt; &gt; help! MDP FILE USED: title = Umbrella pulling simulation define =<br>&gt; &gt;  &gt; &gt; -DPOSRES_B define = ; Run parameters integrator = md dt = 0.002 tinit =<br>&gt; &gt;  &gt; &gt; 0 nsteps = 500000 ; 1 ns nstcomm = 10 ; Output parameters nstxout = 5000<br>&gt; &gt;  &gt; &gt; ; every 10 ps nstvout = 5000 nstfout = 5000 nstxtcout = 5000 ; every 10<br>&gt; &gt;  &gt; &gt; ps nstenergy = 5000 ; Bond parameters constraint_algorithm = lincs<br>&gt; &gt;  &gt; &gt; constraints = all-bonds continuation = yes ; Single-range cutoff scheme<br>&gt; &gt;  &gt; &gt; nstlist = 5 ns_type = grid rlist = 1.4 rcoulomb = 1.4 rvdw = 1.4 ; PME<br>&gt; &gt;  &gt; &gt; electrostatics parameters coulombtype = PME fourierspacing = 0.12<br>&gt; &gt;  &gt; &gt; fourier_nx = 0 fourier_ny = 0 fourier_nz = 0 pme_order = 4 ewald_rtol =<br>&gt; &gt;  &gt; &gt; 1e-5 optimize_fft = yes ;Berendsen temperature coupling is on Tcoupl =<br>&gt; &gt;  &gt; &gt; V-rescale tau_t = 0.1 0.1 0.1 tc-grps = MOL dop WAT_Cl_Na ref_t = 300<br>&gt; &gt;  &gt; &gt; 300 300 ; Pressure coupling Pcoupl = Parrinello-Rahman Pcoupltype =<br>&gt; &gt;  &gt; &gt; Semiisotropic ; Time constant (ps), compressibility (1/bar) and<br>&gt; &gt;  &gt; &gt; reference P (bar) tau-p = 1.0 1.0 compressibility = 4.6E-5 4.6E-5 ref-p<br>&gt; &gt;  &gt; &gt; = 1.0 1.0 ; Generate velocities is off gen_vel = no ; Periodic boundary<br>&gt; &gt;  &gt; &gt; conditions are on in all directions pbc = xyz ; Long-range dispersion<br>&gt; &gt;  &gt; &gt; correction DispCorr = EnerPres ; Pull code pull = umbrella pull_geometry<br>&gt; &gt;  &gt; &gt; = distance pull_dim = N N Y pull_start = yes pull_ngroups = 1<br>&gt; &gt;  &gt; &gt; pull_group0 = MOL pull_group1 = Na pull_init1 = 0 pull_rate1 = 0.0<br>&gt; &gt;  &gt; &gt; pull_k1 = 1000 ; kJ mol^-1 nm^-2 pull_nstxout = 1000 ; every 2 ps<br>&gt; &gt;  &gt; &gt; pull_nstfout = 1000 ; every 2 ps<br>&gt; &gt;  &gt; &gt;&gt; &gt; Date: Thu, 31 May 2012 13:25:26 -0400<br>&gt; &gt;  &gt; &gt;&gt; &gt; From:jalemkul@vt.edu<br>&gt; &gt;  &gt; &gt;&gt; &gt; To:gmx-users@gromacs.org<br>&gt; &gt;  &gt; &gt;&gt; &gt; Subject: Re: [gmx-users] boundaries in PMF<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt; On 5/31/12 1:20 PM, Rebeca Garc?a Fandi?o wrote:<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; Hi,<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; I am trying to calculate a PMF for an ion along a channel. Everything<br>&gt; &gt; went OK,<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; but when I used g_wham I got a profile with strange dimensions for<br>&gt; &gt; the x-axis.<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; What are the boundaries g_wham is using for calculating the units of<br>&gt; &gt; x-axis?<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt; The values are based on the restraint distances along the reaction<br>&gt; &gt; coordinate.<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; I have used:<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; g_wham -it tpr-files.dat -if pullf-files.dat -o file_output.xvg -hist<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; file_histo_output.xvg -unit kCal -cycl yes<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; (version 4.0.7)<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; and the units I got in the x-axis are determined by the boundaries:<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; "Determined boundaries to 0.000035 to 2.603290"<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; Which are these units? nm?<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt; Yes.<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; The z coordinate for my ion explores at least 5 nm!!<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt; I am a bit confused about that.<br>&gt; &gt;  &gt; &gt;&gt;&gt; &gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt; The exact output depends on how you set up the umbrella sampling (in the<br>&gt; &gt; .mdp<br>&gt; &gt;  &gt; &gt;&gt; &gt; file). The range of values corresponds to whatever the distances are<br>&gt; &gt; that are<br>&gt; &gt;  &gt; &gt;&gt; &gt; sampled in the various windows. Perhaps there is a sign issue here? Do you<br>&gt; &gt;  &gt; &gt;&gt; &gt; have some restraints that are at negative displacement and others at<br>&gt; &gt; positive?<br>&gt; &gt;  &gt; &gt;&gt; &gt; Did you set up the .mdp files properly to account for this behavior?<br>&gt; &gt;  &gt; &gt;&gt; &gt;<br>&gt; &gt;  &gt; &gt;&gt; &gt; -Justin<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://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt;  &gt; Please search the archive at<br>&gt; &gt; http://www.gromacs.org/Support/Mailing_Lists/Search before 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/Support/Mailing_Lists<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; -- <br>&gt; ========================================<br>&gt; <br>&gt; Justin A. Lemkul, Ph.D.<br>&gt; Research Scientist<br>&gt; Department of Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; <br>&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/Support/Mailing_Lists/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/Support/Mailing_Lists<br></div>                                               </div></body>
</html>