Skip to content
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

Packaging force field files along with Protocols #184

Open
IAlibay opened this issue Apr 25, 2023 · 5 comments
Open

Packaging force field files along with Protocols #184

IAlibay opened this issue Apr 25, 2023 · 5 comments

Comments

@IAlibay
Copy link
Member

IAlibay commented Apr 25, 2023

Following up from today's alchemiscale call - it would be good to consider if / how we can package in force field files from host machines to compute ones.

This will particularly be important when using bespoke force fields.

@dotsdl
Copy link
Member

dotsdl commented Jun 13, 2023

From discussion:

  • having openmmforcefields process a URL given as the FF; would then download and use
  • the FF itself as a long string given as the FF

From OpenFF: probably want functionality in about 3 months
From ASAP: probably want within ~1 month

@jthorton
Copy link
Contributor

Hi ! Just pinning this PR here as a possible solution to the problem, I have found that with this change the entire bespoke force field string can be set as the small molecule force field at gufe.settings.models.OpenMMSystemGeneratorSettings.small_molecule_forcefield Onece merged we could sanity test this by running the TYK2 benchmark set again with openff-2.0.0 but set as a string as follows:

from openff.toolkit import ForceField
from gufe.settings import OpenMMSystemGeneratorFFSettings

sage = ForceField("openff-2.0.0.offxml")
ff_settings = OpenMMSystemGeneratorFFSettings()
ff_settings.small_molecule_forcefield = sage.to_string()

@ijpulidos
Copy link

This is a cool quick approach to the problem, thanks for working on this @jthorton

@dotsdl
Copy link
Member

dotsdl commented Oct 17, 2023

Is there anything remaining to close this now that openmmforcefields 0.12.0 is out?

@IAlibay
Copy link
Member Author

IAlibay commented Oct 17, 2023

I believe this still needs discussion - we will need this when we go towards gmx, files will be serialised then and we'll need to work out how to ship itps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants