-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Overhaul parameterization scheme used for small molecules #536
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…FTemplateGenerator
…tests; WARNING: May be bugs due to complex merge
…es into alchemical-factory-tests
I should be able to finish this up quickly now! |
Merged
…n and test to use explicit-hydrogen canonical isomeric SMILES
… due to strict stereochemistry
jchodera
requested review from
dominicrufa and
hannahbrucemacdonald
and removed request for
dominicrufa
June 6, 2019 12:53
@hannahbrucemacdonald @dominicrufa : Would be great to get your reviews / comments on this, since I think I've resurrected all the tests I can easily resurrect at this point. Be sure to check out the change in information flow where |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR (originally #517) changes the way that we parameterize small molecules with GAFF.
OEGAFFTemplateGenerator
Instead of using the flawed
gaffTemplateGenerator
, which was buggy in perceiving chemistry from the OpenMMTopology
(which lacks chemical information)---and didn't even run in many cases onosx
---I have implemented a newOEGAFFTemplateGenerator
that acceptsOEMol
versions of molecules it should match within theTopology
object in order to determine what chemical species they are.The
OEGAFFTemplateGenerator
also supports the ability to specify a JSON cache file, allowing parameters for small molecules to be computed only once and then cached thereafter. This should also greatly speed up testing.Examples:
SystemGenerator
The
SystemGenerator
has been moved toperses.forcefield
. To use theOEGAFFTemplateGenerator
, we simple specify someoemols
and optionally acache
path to the JSON file that stores small molecule parameters. This will automatically configure anOEGAFFTemplateGenerator
.Here's an example:
Status
I'm still working on remediating code and examples that had previously used the
gaffTemplateGenerator
.SystemGenerator
perses/tests/testsystems.py
perses/tests/test_RJMC_vacuum.py
perses/tests/test_hybrid_builder.py
perses/tests/test_elimination.py
perses/dispersed/feptasks.py
related to managing nonequilibrium integrators attached to contexts and those not attached to contexts