RE: [gmx-users] RE: Gibbs Energy Calculation and charges
Thank you for the pointer Michael. couple-intramol = no What a diff of the output from gmxdump of the two tpr files shows is in both of these cases (normal and double charged), when: lambda is set to 1.0 (atoms within both molecules will have zero charge) lambda is set to 0.00 and 0.50, respectively (both will have the same charge) There are the following differences: functype[] = LJC14_Q, qi and qj are set to the original charges, not the ones scaled by lambda functype[] = LJC_NB, qi and qj are set to the original charges, not the ones scaled by lambda atom[] = q is set to the original charges, not the ones scaled by lambda So this explains why I do not see the two topologies giving the same value at the same atomic charges, since the topologies being simulated are not the same. The 1-4 charge interactions are still at the original charges, as are the 1-5 and beyond. What is the reason that the charges are being left untouched here with changing lambda? I can understand when we are dealing with LJ/van der Waals, since the 1-4 are important for the proper dihedrals, but what is the reason for charges being left untouched? Having thought this through, answered it myself, it is because here we are interested in molecule - external environment interactions being turned off, we are moving the entire molecule from full interacting with its external environment to non-interacting. The molecule itself should be left alone. Turning to the side issue of turning couple-intramol on - couple-intramol = yes diff of the equivalent files, there are the following differences: functype[] = LJC14_Q, qi and qj are set to the original charges, not the ones scaled by lambda atom[] = q is set to the original charges, not the ones scaled by lambda Which confirms what Michael mentioned earlier about couple-intramol only affecting those 1-5 and beyond i.e. LJC_NB Which then begs the question, why does the value of dH/dl change so dramatically when this option is turned on, as I observed at http://ozreef.org/stuff/gromacs/couple-intramol.png The only thing being changed is the fact that LJC_NB is now being scaled with lambda. Catch ya, Dr. Dallas Warren Drug Delivery, Disposition and Dynamics Monash Institute of Pharmaceutical Sciences, Monash University 381 Royal Parade, Parkville VIC 3052 [email protected] +61 3 9903 9304 - When the only tool you own is a hammer, every problem begins to resemble a nail. > -Original Message- > From: [email protected] [mailto:gmx-users- > [email protected]] On Behalf Of Michael Shirts > Sent: Thursday, 31 October 2013 1:52 PM > To: Discussion list for GROMACS users > Subject: Re: [gmx-users] RE: Gibbs Energy Calculation and charges > > I likely won't have much time to look at it tonight, but you can see > exactly what the option is doing to the topology. run gmxdump on the > tpr. All of the stuff that couple-intramol does is in grompp, so the > results will show up in the detailed listings of the interactions, and > which ones have which values set for the A and B states. > > On Wed, Oct 30, 2013 at 5:36 PM, Dallas Warren > wrote: > > Michael, thanks for taking the time to comment and have a look. > > > > The real issue I am having is a bit deeper into the topic than that, > my last reply was just an observation on something else. Will > summarise what I have been doing etc. > > > > I have a molecule that are calculating the Gibbs energy of hydration > and solvation (octanol). In a second topology the only difference is > that the atomic charges have been doubled. Considering that charges > are scaled linearly with lambda, the normal charge values of dH/dl from > lambda 0 to 1 obtained should reproduce that of the double charged > molecule from lambda 0.5 to 1.0. Is that a correct interpretation? > Since the only difference should be that charge of the atoms and over > that range the charge will be identical. > > > > I was using couple-intramol = no and the following are the results > from those simulations. > > > > For the OE atom within the molecule, I have plotted the following > graphs of dH/dl versus charge of that atom for both of the topologies. > > octanol - http://ozreef.org/stuff/octanol.gif > > water - http://ozreef.org/stuff/water.gif > > mdp file - http://ozreef.org/stuff/gromacs/mdout.mdp > > > > The mismatch between the two topologies is the real issue that I am > having. I was hoping to get the two to overlap. > > > > My conclusion based on this is that there is actually something else > being changed with the topology by GROMACS when the simulations are > being run. The comments in the manual a
Re: [gmx-users] RE: Gibbs Energy Calculation and charges
I likely won't have much time to look at it tonight, but you can see exactly what the option is doing to the topology. run gmxdump on the tpr. All of the stuff that couple-intramol does is in grompp, so the results will show up in the detailed listings of the interactions, and which ones have which values set for the A and B states. On Wed, Oct 30, 2013 at 5:36 PM, Dallas Warren wrote: > Michael, thanks for taking the time to comment and have a look. > > The real issue I am having is a bit deeper into the topic than that, my last > reply was just an observation on something else. Will summarise what I have > been doing etc. > > I have a molecule that are calculating the Gibbs energy of hydration and > solvation (octanol). In a second topology the only difference is that the > atomic charges have been doubled. Considering that charges are scaled > linearly with lambda, the normal charge values of dH/dl from lambda 0 to 1 > obtained should reproduce that of the double charged molecule from lambda 0.5 > to 1.0. Is that a correct interpretation? Since the only difference should > be that charge of the atoms and over that range the charge will be identical. > > I was using couple-intramol = no and the following are the results from those > simulations. > > For the OE atom within the molecule, I have plotted the following graphs of > dH/dl versus charge of that atom for both of the topologies. > octanol - http://ozreef.org/stuff/octanol.gif > water - http://ozreef.org/stuff/water.gif > mdp file - http://ozreef.org/stuff/gromacs/mdout.mdp > > The mismatch between the two topologies is the real issue that I am having. > I was hoping to get the two to overlap. > > My conclusion based on this is that there is actually something else being > changed with the topology by GROMACS when the simulations are being run. The > comments in the manual allude to that, but not entirely sure what is going on. > >> From the manual: >> >>couple-intramol: >> >>no >> All intra-molecular non-bonded interactions for moleculetype >>couple-moltype are replaced by exclusions and explicit pair >>interactions. In this manner the decoupled state of the molecule >>corresponds to the proper vacuum state without periodicity effects. >>yes >> The intra-molecular Van der Waals and Coulomb interactions are >>also turned on/off. This can be useful for partitioning free-energies >>of relatively large molecules, where the intra-molecular non-bonded >>interactions might lead to kinetically trapped vacuum conformations. >>The 1-4 pair interactions are not turned off. > > Chris Neale commented: >>Ah, I see. I guess that you are using couple-intramol = no (the default in >>v4.6.3 at least). That means >>that the intramolecular charge-charge interactions are always at >>full-strength (and therefore different). >>I would expect that normal at lambda=0 should be the same as double at >>lambda=0.5 only for >>couple-intramol = yes >>If you were using couple-intramol = yes already, then I am as confused as you >>are. > > >From Chris' comment, I then went back and repeated the calculation using > >couple-intramol = yes with the results of this in the below image (plus the > >previous when set to no for comparison) > > http://ozreef.org/stuff/gromacs/couple-intramol.png > > My rather garbled comment that you saw was my attempt to make sense of the > fact that this setting made things worse (and try to add something to get > this issue to have another pass on the list, hoping someone like yourself > will comment), and the value of dH/dl for c-i=yes at lambda=1 matches with > c-i=no at lambad=0. This you can see with the previously linked to graphs. > > Hopefully that helps understand what I have been doing and the issues. > > Catch ya, > > Dr. Dallas Warren > Drug Delivery, Disposition and Dynamics > Monash Institute of Pharmaceutical Sciences, Monash University > 381 Royal Parade, Parkville VIC 3052 > [email protected] > +61 3 9903 9304 > - > When the only tool you own is a hammer, every problem begins to resemble a > nail. > -- > gmx-users mailing [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > * Please don't post (un)subscribe requests to the list. Use the > www interface or send it to [email protected]. > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
RE: [gmx-users] RE: Gibbs Energy Calculation and charges
Michael, thanks for taking the time to comment and have a look. The real issue I am having is a bit deeper into the topic than that, my last reply was just an observation on something else. Will summarise what I have been doing etc. I have a molecule that are calculating the Gibbs energy of hydration and solvation (octanol). In a second topology the only difference is that the atomic charges have been doubled. Considering that charges are scaled linearly with lambda, the normal charge values of dH/dl from lambda 0 to 1 obtained should reproduce that of the double charged molecule from lambda 0.5 to 1.0. Is that a correct interpretation? Since the only difference should be that charge of the atoms and over that range the charge will be identical. I was using couple-intramol = no and the following are the results from those simulations. For the OE atom within the molecule, I have plotted the following graphs of dH/dl versus charge of that atom for both of the topologies. octanol - http://ozreef.org/stuff/octanol.gif water - http://ozreef.org/stuff/water.gif mdp file - http://ozreef.org/stuff/gromacs/mdout.mdp The mismatch between the two topologies is the real issue that I am having. I was hoping to get the two to overlap. My conclusion based on this is that there is actually something else being changed with the topology by GROMACS when the simulations are being run. The comments in the manual allude to that, but not entirely sure what is going on. > From the manual: > >couple-intramol: > >no > All intra-molecular non-bonded interactions for moleculetype >couple-moltype are replaced by exclusions and explicit pair >interactions. In this manner the decoupled state of the molecule >corresponds to the proper vacuum state without periodicity effects. >yes > The intra-molecular Van der Waals and Coulomb interactions are >also turned on/off. This can be useful for partitioning free-energies >of relatively large molecules, where the intra-molecular non-bonded >interactions might lead to kinetically trapped vacuum conformations. >The 1-4 pair interactions are not turned off. Chris Neale commented: >Ah, I see. I guess that you are using couple-intramol = no (the default in >v4.6.3 at least). That means >that the intramolecular charge-charge interactions are always at full-strength >(and therefore different). >I would expect that normal at lambda=0 should be the same as double at >lambda=0.5 only for >couple-intramol = yes >If you were using couple-intramol = yes already, then I am as confused as you >are. >From Chris' comment, I then went back and repeated the calculation using >couple-intramol = yes with the results of this in the below image (plus the >previous when set to no for comparison) http://ozreef.org/stuff/gromacs/couple-intramol.png My rather garbled comment that you saw was my attempt to make sense of the fact that this setting made things worse (and try to add something to get this issue to have another pass on the list, hoping someone like yourself will comment), and the value of dH/dl for c-i=yes at lambda=1 matches with c-i=no at lambad=0. This you can see with the previously linked to graphs. Hopefully that helps understand what I have been doing and the issues. Catch ya, Dr. Dallas Warren Drug Delivery, Disposition and Dynamics Monash Institute of Pharmaceutical Sciences, Monash University 381 Royal Parade, Parkville VIC 3052 [email protected] +61 3 9903 9304 - When the only tool you own is a hammer, every problem begins to resemble a nail. -- gmx-users mailing [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! * Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
Re: [gmx-users] RE: Gibbs Energy Calculation and charges
I think the grammar got a little garbled there, so I'm not sure quite what you are claiming. One important thing to remember; 1-4 interactions are treated as bonded interactions right now FOR COUPLE intramol (not for lambda dependence of the potential energy function), so whether couple-intramol is set to yes or no does not affect these interactions at all. It only affects the nonbondeds with distances greater than 1-5. At least to me, this is nonintuitive (and we're coming up with a better scheme for 5.0), but might that explain what you are getting? On Tue, Oct 29, 2013 at 9:44 PM, Dallas Warren wrote: > Just want this to make another pass, just in case those in the know missed it. > > Using couple-intrmol = yes the resulting dH/dl plot actually looks like that > at lamba = 1 it is actually equal to couple-intramol = no with lambda = 0. > > Should that be the case? > > Catch ya, > > Dr. Dallas Warren > Drug Delivery, Disposition and Dynamics > Monash Institute of Pharmaceutical Sciences, Monash University > 381 Royal Parade, Parkville VIC 3052 > [email protected] > +61 3 9903 9304 > - > When the only tool you own is a hammer, every problem begins to resemble a > nail. > >> -Original Message- >> From: [email protected] [mailto:gmx-users- >> [email protected]] On Behalf Of Dallas Warren >> Sent: Tuesday, 22 October 2013 2:49 PM >> To: Discussion list for GROMACS users >> Subject: [gmx-users] RE: Gibbs Energy Calculation and charges >> >> I have completed the simulations using couple-intramol = yes >> >> Reminder, have a molecule that are calculating the Gibbs energy of >> hydration and solvation (octanol). In one topology the only difference >> is the atomic charges have been doubled. Considering that charges are >> scaled linearly with lambda, the normal charge values of dH/dl from >> lambda 0 to 1 obtained should reproduce that of the double charged >> molecule from lambda 0.5 to 1.0. >> >> Here is the mdout.mdp file from one of the simulations using couple- >> intramol = yes. The difference with the simulations run using couple- >> intramol = no is only that setting, checked using the diff command. >> Copy of the mdout.mdp file can be found: >> >> http://ozreef.org/stuff/gromacs/mdout.mdp >> >> Changing to couple-intrmol = yes makes things significantly worse. >> >> Here are the plots of dH/dl obtained as a function of the charge of one >> of the atoms, OE (calculated based on fact that at lambda = 0 fully >> charged, lambda = 1 no charged) >> >> http://ozreef.org/stuff/gromacs/couple-intramol.png >> >> Anyone with some insight on what is going on here? >> >> >From the manual: >> >> couple-intramol: >> >> no >> All intra-molecular non-bonded interactions for moleculetype >> couple-moltype are replaced by exclusions and explicit pair >> interactions. In this manner the decoupled state of the molecule >> corresponds to the proper vacuum state without periodicity effects. >> yes >> The intra-molecular Van der Waals and Coulomb interactions are >> also turned on/off. This can be useful for partitioning free-energies >> of relatively large molecules, where the intra-molecular non-bonded >> interactions might lead to kinetically trapped vacuum conformations. >> The 1-4 pair interactions are not turned off. >> >> >> Catch ya, >> >> Dr. Dallas Warren >> Drug Delivery, Disposition and Dynamics >> Monash Institute of Pharmaceutical Sciences, Monash University >> 381 Royal Parade, Parkville VIC 3052 >> [email protected] >> +61 3 9903 9304 >> - >> When the only tool you own is a hammer, every problem begins to >> resemble a nail. >> >> >> > -Original Message- >> > From: [email protected] [mailto:gmx-users- >> > [email protected]] On Behalf Of Dallas Warren >> > Sent: Thursday, 17 October 2013 3:32 PM >> > To: Discussion list for GROMACS users >> > Subject: [gmx-users] RE: Gibbs Energy Calculation and charges >> > >> > Chris, >> > >> > Thank you, that appears to be the issue then. >> > >> > Running them again now with couple-intramol = yes >> > >> > Will report back once that is completed with the results. >> > >> > Catch ya, >> > >> > Dr. Dallas Warren >> > Drug Delivery, Disposition and Dynamics >> > Monash Institute of Pharmaceutical Sciences, Monash University >> > 381 Royal Parade, Parkville VIC 3052 >> > [email protected] >> > +61 3 9903 9304 >> > - >> > When the only tool you own is a hammer, every problem begins to >> > resemble a nail. >> > >> > >> > > -Original Message- >> > > From: [email protected] [mailto:gmx-users- >> > > [email protected]] On Behalf Of Christopher Neale >> > > Sent: Thursday, 17 October 2013 2:15 PM >> > > To: [email protected] >> > > Subject: [gmx-users] Gibbs Energy Calculation and charges >> > > >> > > Ah, I see. I

