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

Are there any example scripts for ML/MM? #89

Open
Ko-o-o opened this issue Jan 16, 2025 · 2 comments
Open

Are there any example scripts for ML/MM? #89

Ko-o-o opened this issue Jan 16, 2025 · 2 comments

Comments

@Ko-o-o
Copy link

Ko-o-o commented Jan 16, 2025

Hello,
I have read this paper (https://doi.org/10.1021/acs.jpcb.3c06662) and would like to try ML/MM calculations.
However, I am struggling to understand what kind of Python script is needed for this purpose.

Would it be possible to provide a working Python script example, such as for alanine dipeptide?
Additionally, is it possible to perform MD simulations using only the machine learning potential?

Thank you for your help!

@JMorado
Copy link
Contributor

JMorado commented Jan 16, 2025

Hi,

You can find some usage instructions for openmm-ml here. These instructions can be combined with the standard approach for running simulations in OpenMM. The documentation includes several examples. See here.

Technically speaking, yes, it is possible to perform MD simulations using only the MLP. However, these simulations may be very expensive, and the ML potential might not have been trained to reproduce condesed-phase behaviour. For the MLPs provided with this package (ANI and MACE), you should be cautious regarding the results when using them in this way. These MLPs are near-sighted, meaning they only consider chemical environments within 3–4 A.

@Ko-o-o
Copy link
Author

Ko-o-o commented Jan 16, 2025

Thank you for your prompt and detailed response.
I am a beginner with OpenMM, so I'll learn step by step.

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

2 participants