Simulation Setup#

This section provides details on how to set up free energy calculation or MD simulations.

All protocols in OpenFE follow the same general structure:

  • Reading in input structures and Creating ChemicalSystem s

  • Defining the Protocol with specific ProtocolSettings

  • Creating LigandAtomMapping s for relative free energy calculations Protocols

Concept of a ChemicalSystems and Transformations

The image below demonstrates how, for relative free energy calculations, you plan a network of ligand transformations starting from input SDF / MOL2 / PDB files:

Concept of a LigandNetwork and AlchemicalNetwork

The procedure for setting up a simulation depends somewhat on the on the type of free energy calculation you are running. See more detailed instructions can be found under:

If you intend to set up your alchemical network using the Python interface, but to run it using the CLI, you will want to export the network in the same format used by the CLI. See dumping transformations for more details.