This repository provides a PyTorch implementation of the MMFF94 force field. It allows molecular energy minimization both in isolation and conditioned on a protein pocket.
- PyTorch-based implementation of MMFF94
- Molecular energy minimization
- Optional conditioning on protein pocket environments
- Simple interface for testing and running examples
- Python >= 3.10
- Libraries listed in
requirements.txt
(numpy
,pytest
,rdkit
,torch
)
Clone the repository and install the dependencies:
$ pip install -r requirements.txt
You can run an example script with:
$ python run_examples.py
This will demonstrate basic usage, including standalone molecule minimization and pocket-conditioned optimization.
To run the test suite:
pytest tests
This will execute all unit tests to ensure correct behavior.