{ "cells": [ { "cell_type": "raw", "id": "4d9beae7-b6bd-4743-9614-42450df0697d", "metadata": { "raw_mimetype": "text/restructuredtext", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ ".. _Loading Molecules:\n", "\n", "Loading Molecules and Chemical Systems\n", "======================================" ] }, { "cell_type": "markdown", "id": "088a1bc4-e5f3-47ac-8ebf-1a904fa82f80", "metadata": { "nbsphinx": "hidden", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "# Loading Molecules and Chemical Systems" ] }, { "cell_type": "raw", "id": "acb1ed05-1874-4dd3-a41d-e18623bece44", "metadata": { "raw_mimetype": "text/restructuredtext", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "Loading Molecule Data into Components\n", "-------------------------------------" ] }, { "cell_type": "markdown", "id": "00d9ca69-1b38-4cf8-9c93-1fc4c08dae15", "metadata": { "nbsphinx": "hidden", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "## Loading Molecule Data into Components" ] }, { "cell_type": "markdown", "id": "8bc61b88-0c8d-4b89-b704-8ac4ade19c6c", "metadata": { "raw_mimetype": "", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "One of the first tasks you'll likely want to do is loading your various input files. In `openfe` the entire contents of a simulation volume, for example the ligand, protein and water is referred to\n", "as the `ChemicalSystem`.\n", "\n", "A free energy difference is defined as being between two such `ChemicalSystem` objects. To make expressing free energy calculations easier,this `ChemicalSystem` is broken down into various `Component` objects. It is these `Component` objects that are then transformed, added or removed when performing a free energy calculation.\n", "\n", "
Component
it is read only and cannot be modified.\n",
" This means that any modification/tweaking of the inputs must be done before any Component
objects are created.\n",
" This is done so that any data cannot be accidentally modified, ruining the provenance chain.\n",
"removeHs=False
keyword argument so that RDKit does not strip your hydrogens!\n",
"from_sdf_file
method will only read the first molecule in a multi-molecule file.\n",
"