Torsions with 90/270 degree phases are sometimes mis-applied #10
Replies: 6 comments
-
I found these phase angles come from this file: http://www.ccl.net/cca/data/parm_at_Frosst/parm_Frosst.frcmod and has been used in all versions of openff offxml files Also, in 0.10.6 (not in 0.11.0), the two permutations of the propertorsion atom indices look weird. Is this a bug or a feature? Should this be 3-2-1-0, instead of 3-1-2-0? |
Beta Was this translation helpful? Give feedback.
-
Just to comment on this -- that's right, it should be 3, 2, 1, 0 @wenyan4work. It was a minor bug, fixed in openforcefield/openff-toolkit#1185. However, I'm not sure |
Beta Was this translation helpful? Give feedback.
-
Thank you, @lilyminium ! Could you also comment on the issue of the order of atoms in the result returned by 'label_molecule'? For example in the parameter t25, the order defined by the smirks pattern is S-C-C-N, but in our molecule since the N has an atom index smaller than S, the parsed result becomes N-C-C-S. |
Beta Was this translation helpful? Give feedback.
-
This is a really great question @wenyan4work. I could be wrong, but I don't really see a physical justification why general dihedral parameters should have a "handedness" - That is, I'd think that all of our dihedral parameters should be "even". Chemically, if we intended parameters to have a handedness, I'd also expect to see stereochemistry in the SMIRKS (or for the SMIRKS to be constructed such that they guarantee some symmetry, so that the term is applied many times across the central bond and the handedness cancels out) In addition to
Plotting some of these as The other weird thing about these parameters is that they have multiple terms with the same periodicities - t25 and 26 have periodicities of I'm looking through other information sources and will compile information here - This isn't the first time this has come up but I'm not sure that the question was resolved before. Most conversations see that the 90 and 270 values were in parm@Frosst, and everyone assumes they must have a good reason, and the discussion ends there. But maybe it was a mistake all along. |
Beta Was this translation helpful? Give feedback.
-
Slack DM thread from March 2021: Christopher Bayly It was unexpected by us so we are fixing our related bug but it seems really really odd to me (physics-wise). Without using too much of your time can you tell me when we started doing this? Jeffrey Wagner Christopher Bayly |
Beta Was this translation helpful? Give feedback.
-
Dear OpenFF developers,
When we are using this wonderful package, we found there are three propertorsion parameters in the sage offxml file somewhat mysterious:
More specifically, they are:
These phase values transform the cos series from an even function to an odd function. Therefore, when a dihedral angle is calculated from the atom indices (ordered) as 1-2-3-4 or 4-3-2-1, we get different results.
The
label_molecule
function in openff toolkit seems to always return atom indices according to their indices in the Molecule data, therefore, the order of the returned 4 atom indices does not always match the order in the defined smirks pattern.For example, for t25, the smirks pattern defined the atom sequence as S-C-C-N, but in a molecule the N atom may appear before the S atom, so in the returned (sorted) atom indices, this group of torsion may be listed as N-C-C-S, and cause some discrepancies for the torsion energy calculations.
Did I misunderstand the 'label_molecule' function or the role of the 'phase' parameter?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions