You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to let everyone know about a silent failure mode that I found recently. If you're using GAFF2 to parameterize the ligand, we know that you must provide its leaprc file under systems:
systems:
# We can call our system anything we want, this example just uses a short name for the receptor hyphenated with the ligandPARP1-binder:
# These names all use the names we defined previouslyreceptor: PARP1ligand: bindersolvent: pmeleap:
parameters: [leaprc.protein.ff14SB, leaprc.gaff2, leaprc.water.tip4pew] # we knew that this needed to be included
However, what I didn't know was that I must also provide its leaprc file under molecules/binder:
molecules:
# Define our receptor. We can call it whatever we want so we just use its name here as the directivePARP1:
filepath: protein.pdb# Define our ligand moleculebinder:
filepath: ligand.mol2# Get partial chargesantechamber:
charge_method: bccnet_charge: 0leap:
parameters: [leaprc.gaff2] # must include here
If you don't, then GAFF atom types will be used, not GAFF2 atom types. This comes from this line in the code. If leaprc.gaff2 is not provided in parameters, then Yank assumes that we're using GAFF.
As far as I've seen, this never leads to an error in actually running the simulation. Instead, the simulation runs without errors, but uses an incorrect ligand force field that's a mix-and-match between GAFF and GAFF2. Therefore it's a silent failure mode and can be dangerous. I suggest that we change this line so that the failure can't happen silently.
Simon
The text was updated successfully, but these errors were encountered:
Hi there,
I just wanted to let everyone know about a silent failure mode that I found recently. If you're using GAFF2 to parameterize the ligand, we know that you must provide its leaprc file under
systems
:However, what I didn't know was that I must also provide its leaprc file under
molecules/binder
:If you don't, then GAFF atom types will be used, not GAFF2 atom types. This comes from this line in the code. If
leaprc.gaff2
is not provided inparameters
, then Yank assumes that we're using GAFF.As far as I've seen, this never leads to an error in actually running the simulation. Instead, the simulation runs without errors, but uses an incorrect ligand force field that's a mix-and-match between GAFF and GAFF2. Therefore it's a silent failure mode and can be dangerous. I suggest that we change this line so that the failure can't happen silently.
Simon
The text was updated successfully, but these errors were encountered: