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

Example notebook for Gromacs MD simulations #22

Merged
merged 5 commits into from
Sep 30, 2024
Merged

Conversation

hannahbaumann
Copy link
Contributor

@hannahbaumann hannahbaumann commented Sep 23, 2024

Description

This PR provides an example notebook for running MD simulations using openfe-gromacs.

Status

  • Ready to go

@hannahbaumann
Copy link
Contributor Author

The creation of an Interchange object from_openmm and saving of the Interchange to .gro and .top files is still very slow (for solvated protein-ligand systems). In this example notebook it takes ~7min. Therefore the notebook is currently very slow.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.41%. Comparing base (78840b2) to head (f9a4115).
Report is 6 commits behind head on main.

Additional details and impacted files

@hannahbaumann hannahbaumann linked an issue Sep 24, 2024 that may be closed by this pull request
@IAlibay
Copy link
Member

IAlibay commented Sep 28, 2024

The creation of an Interchange object from_openmm and saving of the Interchange to .gro and .top files is still very slow

Is this being tracked in an issue on the interchange repo? I feel like it might be off their radar.

@IAlibay
Copy link
Member

IAlibay commented Sep 30, 2024

@hannahbaumann with the fixes from #54 this should be a lgtm from me.

* Remove OpenMMEngineSettings

* Update token

* Small fix

* Removes output files from results if they should not exist

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Forgot to enable tests again

* Remove stub files

* Update results file

* Have MDPs be a dictionary rather than a list of file handles

* Move vacuuum disallowed check to Protocol creation

* Update token

* Add interchange environment variable to protocol

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update openfe_gromacs/protocols/gromacs_md/md_methods.py

Co-authored-by: Irfan Alibay <[email protected]>

* Address review comments

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add GromacsEngineSettings

* Add defaults, validator

* Rename to GromacsEngineSettings

* Update test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update openfe_gromacs/protocols/gromacs_md/md_methods.py

Co-authored-by: Irfan Alibay <[email protected]>

* Update tokens

* Update docstring in ProtocolResults

* Update tests

* Update openfe_gromacs/protocols/gromacs_md/md_methods.py

Co-authored-by: Irfan Alibay <[email protected]>

* Update openfe_gromacs/protocols/gromacs_md/md_methods.py

Co-authored-by: Irfan Alibay <[email protected]>

* Update openfe_gromacs/protocols/gromacs_md/md_methods.py

Co-authored-by: Irfan Alibay <[email protected]>

* various things

* more changes to the notebook

* Add docs building

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* move sass.py over

* Add _ext folder

* fix up docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix docs

* Add example notebook to the docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add pathlib import

* Fix title underline

* Fix the title

* Update warning

* fix a few things

---------

Co-authored-by: hannahbaumann <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hannah Baumann <[email protected]>
@hannahbaumann hannahbaumann merged commit b639493 into main Sep 30, 2024
8 of 9 checks passed
@hannahbaumann hannahbaumann deleted the example_notebook branch September 30, 2024 07:08
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

Successfully merging this pull request may close these issues.

Write example notebook
2 participants