Skip to content

MolecularAI/TorchMMFF94

Repository files navigation

Maturity level-0

MMFF94 in PyTorch

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.

Features

  • PyTorch-based implementation of MMFF94
  • Molecular energy minimization
  • Optional conditioning on protein pocket environments
  • Simple interface for testing and running examples

💻 Software Requirements

  • Python >= 3.10
  • Libraries listed in requirements.txt (numpy, pytest, rdkit, torch)

🚀 Installation

Clone the repository and install the dependencies:

$ pip install -r requirements.txt

📦 Running Examples

You can run an example script with:

$ python run_examples.py

This will demonstrate basic usage, including standalone molecule minimization and pocket-conditioned optimization.


✅ Testing

To run the test suite:

pytest tests

This will execute all unit tests to ensure correct behavior.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages