Skip to content

michellab/emle-bespoke

Repository files navigation

emle-bespoke

Documentation Status License: GPL v3

A package for training and patching bespoke EMLE models. Also includes routines for fitting and deriving EMLE-compatible Lennard-Jones parameters.

Table of Contents

  1. Documentation
  2. Installation
  3. Usage
  4. Log Level

Documentation

⚠️ Work in progress

For detailed documentation, including API reference, tutorials, and examples, visit the documentation website.

Installation

First, create a conda environment with all of the required dependencies:

conda env create -f environment.yaml
conda activate emle-bespoke

Finally, install emle-bespoke in interactive mode within the activated environment:

pip install -e .

Usage

Command-Line Interface (CLI)

To generate reference data and train a bespoke EMLE model for a specific solute (e.g., benzene), run the following command:

emle-bespoke --solute c1ccccc1

This command will automatically solvate benzene in a 1000-molecule cubic water box and create a simulation using the default settings.

To sample the reference configurations using a hybrid mechanically-embedded ML/MM simulation with the ANI-2x model, run:

emle-bespoke --solute c1ccccc1 --ml_model ani2x

For more information on usage and available options, run:

emle-bespoke --help

Logging Settings

By default, emle-bespoke logs messages at the INFO level. This means you will see informative messages about the overall progress but not necessarily detailed debugging information. You can control the verbosity of the logging output by setting the EMLE_BESPOKE_LOG_LEVEL environment variable:

export EMLE_BESPOKE_LOG_LEVEL="DEBUG"

If you want to include log messages from packages other than emle-bespke, set the EMLE_BESPOKE_FILTER_LOGGERS variable to 0:

export EMLE_BESPOKE_FILTER_LOGGERS=0

By default, this variable is set to 1, meaning only log messages coming from emle-bespoke are displayed.

About

A package for training and patching EMLE models, with routines for fitting LJ parameters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published