Examples using SMIRNOFF with the toolkit

The following examples are available in the openforcefield toolkit repository. Each can be run interactively in the browser with binder, without installing anyting on your computer.

Index of provided examples

  • conformer_energies - compute conformer energies of one or more small molecules using a SMIRNOFF force field

  • SMIRNOFF_simulation - simulation of a molecule in the gas phase with the SMIRNOFF force field format

  • forcefield_modification - modify forcefield parameters and evaluate how system energy changes

  • using_smirnoff_in_amber_or_gromacs - convert a System generated with the Open Force Field Toolkit, which can be simulated natively with OpenMM, into AMBER prmtop/inpcrd and GROMACS top/gro input files through the ParmEd library.

  • swap_amber_parameters - take a prepared AMBER protein-ligand system (prmtop and crd) along with a structure file of the ligand, and replace ligand parameters with OpenFF parameters.

  • inspect_assigned_parameters - check which parameters are used in which molecules and generate parameter usage statistics.

  • using_smirnoff_with_amber_protein_forcefield - use SMIRNOFF parameters for small molecules in combination with more conventional force fields for proteins and other components of your system (using ParmEd to combine parameterized structures)

  • check_dataset_parameter_coverage - shows how to use the Open Force Field Toolkit to ingest a dataset of molecules, and generate a report summarizing any chemistry that can not be parameterized.

  • visualization - shows how rich representation of Molecule objects work in the context of Jupyter Notebooks.