Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Logo](https://img.shields.io/badge/OSMF-OpenFreeEnergy-%23002f4a)](https://openfree.energy/)
[![CI](https://github.com/OpenFreeEnergy/ExampleNotebooks/actions/workflows/ci.yaml/badge.svg)](https://github.com/OpenFreeEnergy/ExampleNotebooks/actions/workflows/CI.yml)
[![Docs](https://github.com/OpenFreeEnergy/ExampleNotebooks/actions/workflows/openfe-doc-build.yaml/badge.svg)](https://docs.openfree.energy/en/stable/?badge=stable)
[![Docs](https://github.com/OpenFreeEnergy/ExampleNotebooks/actions/workflows/openfe-doc-build.yaml/badge.svg)](https://docs.openfe.org/en/stable/?badge=stable)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/OpenFreeEnergy/ExampleNotebooks/master.svg)](https://results.pre-commit.ci/latest/github/OpenFreeEnergy/ExampleNotebooks/main)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OpenFreeEnergy/ExampleNotebooks/blob/main/showcase/openfe_showcase.ipynb)

Expand All @@ -16,7 +16,7 @@ These can be run in the browser via the Colab links.
## Running these notebooks locally

To run these notebooks locally you will need to install the `openfe` package,
this is best done using [the instuctions here](https://docs.openfree.energy/en/stable/installation.html)
this is best done using [the instuctions here](https://docs.openfe.org/en/latest/installation.html)

Then you can download a copy of the notebooks:

Expand Down
2 changes: 1 addition & 1 deletion abfe_tutorial/abfe_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"\n",
"<div class=\"alert alert-block alert-info\">\n",
"\n",
"**Learn more:** To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfree.energy/en/stable/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfree.energy/en/stable/tutorials/charge_molecules_cli_tutorial.html).\n",
"**Learn more:** To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfe.org/en/latest/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfe.org/en/latest/how_to_guides/charge_molecules_cli.html).\n",
"\n",
"</div>"
]
Expand Down
2 changes: 1 addition & 1 deletion ahfe_tutorial/ahfe_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"source": [
"<div class=\"alert alert-block alert-info\">\n",
"\n",
"**Partial charges:** The ligand in `benzene_am1bcc.sdf` already has AM1-BCC partial charges, so the same charges are used in every repeat. To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfree.energy/en/stable/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfree.energy/en/stable/tutorials/charge_molecules_cli_tutorial.html).\n",
"**Partial charges:** The ligand in `benzene_am1bcc.sdf` already has AM1-BCC partial charges, so the same charges are used in every repeat. To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfe.org/en/latest/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfe.org/en/latest/how_to_guides/charge_molecules_cli.html).\n",
"\n",
"</div>"
]
Expand Down
4 changes: 2 additions & 2 deletions cookbook/bespoke_parameters_showcase.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"This tutorial gives a step-by-step guide on the use of OpenFF-BespokeFit generated force field parameters with OpenFE protocols. Here we will focus on relative\n",
"binding free energy (RBFE) calculations, but this strategy can be used with any OpenMM-based OpenFE protocol. \n",
"\n",
"Here we will assume you have succesfully planned your RBFE campaign using OpenFE by following the [showcase](http://try.openfree.energy/) or [RBFE tutorial](https://docs.openfree.energy/en/stable/tutorials/rbfe_cli_tutorial.html#rbfe-cli-tutorial) and will be using the `TYK2` test system in this example with the planned network provided for you at `assets/ligand_network.graphml`. You should have also already generated a set of bespoke parameters for your ligand series following the [BespokeFit production guide](https://docs.openforcefield.org/projects/bespokefit/en/latest/getting-started/quick-start.html#production-fits) and combined the parameters into a single SMIRNOFF style `offxml` file following the [gathering results guide](https://docs.openforcefield.org/projects/bespokefit/en/latest/users/bespoke-results.html) an example bespoke force field is provied for you at `assets/bespoke-1.3.0-default.offxml`."
"Here we will assume you have succesfully planned your RBFE campaign using OpenFE by following the [showcase](http://try.openfree.energy/) or [RBFE tutorial](https://docs.openfe.org/en/latest/tutorials/rbfe_cli_tutorial.html#rbfe-cli-tutorial) and will be using the `TYK2` test system in this example with the planned network provided for you at `assets/ligand_network.graphml`. You should have also already generated a set of bespoke parameters for your ligand series following the [BespokeFit production guide](https://docs.openforcefield.org/projects/bespokefit/en/latest/getting-started/quick-start.html#production-fits) and combined the parameters into a single SMIRNOFF style `offxml` file following the [gathering results guide](https://docs.openforcefield.org/projects/bespokefit/en/latest/users/bespoke-results.html) an example bespoke force field is provied for you at `assets/bespoke-1.3.0-default.offxml`."
]
},
{
Expand Down Expand Up @@ -44,7 +44,7 @@
"source": [
"## Running the simulations\n",
"\n",
"We are now ready to build a new set of transformations which can be executed locally using the [OpenFE quickrun CLI](https://docs.openfree.energy/en/stable/tutorials/rbfe_cli_tutorial.html#running-the-simulations). We will be following the [python API tutorial](https://docs.openfree.energy/en/stable/tutorials/rbfe_python_tutorial.html#Creating-a-Protocol) to create the transformations, you should check that documentation for more details on the next steps."
"We are now ready to build a new set of transformations which can be executed locally using the [OpenFE quickrun CLI](https://docs.openfe.org/en/latest/tutorials/rbfe_cli_tutorial.html#running-the-simulations). We will be following the [python API tutorial](https://docs.openfe.org/en/latest/tutorials/rbfe_python_tutorial.html#Creating-a-Protocol) to create the transformations, you should check that documentation for more details on the next steps."
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions cookbook/choose_protocol.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"| Settings | [RelativeHybridTopologyProtocolSettings] | \n",
"| MD Engine | [OpenMM] |\n",
"\n",
"[RelativeHybridTopologyProtocol]: https://docs.openfree.energy/en/stable/reference/api/generated/openfe.protocols.openmm_rfe.RelativeHybridTopologyProtocol.html\n",
"[RelativeHybridTopologyProtocolSettings]: https://docs.openfree.energy/en/stable/reference/api/openmm_rfe.html#openfe.protocols.openmm_rfe.RelativeHybridTopologyProtocolSettings\n",
"[RelativeHybridTopologyProtocol]: https://docs.openfe.org/en/latest/reference/api/generated/openfe.protocols.openmm_rfe.equil_rfe_methods.RelativeHybridTopologyProtocol.html\n",
"[RelativeHybridTopologyProtocolSettings]: https://docs.openfe.org/en/latest/reference/api/openmm_rfe.html#openfe.protocols.openmm_rfe.RelativeHybridTopologyProtocolSettings\n",
"[OpenMM]: https://openmm.org"
]
},
Expand Down
18 changes: 9 additions & 9 deletions cookbook/create_alchemical_network.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"\n",
"However, in an `AlchemicalNetwork`, these transformations include all the information needed to perform the transformation. By contrast, a `LigandNetwork` includes only the ligands themselves.\n",
"\n",
"See the [User Guide: Alchemical Networks](https://docs.openfree.energy/en/stable/guide/setup/alchemical_network_model.html) for more background information.\n",
"See the [User Guide: Alchemical Networks](https://docs.openfe.org/en/latest/guide/setup/alchemical_network_model.html) for more background information.\n",
"\n",
"[Alchemical Network]: https://docs.openfree.energy/en/stable/reference/api/generated/openfe.AlchemicalNetwork.html"
"[Alchemical Network]: https://docs.openfe.org/en/latest/reference/api/generated/openfe.AlchemicalNetwork.html"
]
},
{
Expand All @@ -29,7 +29,7 @@
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"This notebook creates an Hybrid Topology RBFE AlchemicalNetwork as an example. For other protocol types, see our step-by-step tutorials on running <a href=https://docs.openfree.energy/en/stable/tutorials/septop_tutorial.html>SepTop RBFE</a> and <a href=https://docs.openfree.energy/en/stable/tutorials/abfe_tutorial.html>ABFE</a> calculations.\n",
"This notebook creates an Hybrid Topology RBFE AlchemicalNetwork as an example. For other protocol types, see our step-by-step tutorials on running <a href=https://docs.openfe.org/en/latest/tutorials/septop_tutorial.html>SepTop RBFE</a> and <a href=https://docs.openfe.org/en/latest/tutorials/abfe_tutorial.html>ABFE</a> calculations.\n",
"</div>\n"
]
},
Expand All @@ -52,7 +52,7 @@
"metadata": {},
"source": [
"This how-to guide assumes you've already loaded a `LigandNetwork`.\n",
"To learn how to build a `LigandNetwork`, see [Planning a Ligand Network](https://docs.openfree.energy/en/stable/how_to_guides/generate_ligand_network.html)."
"To learn how to build a `LigandNetwork`, see [Planning a Ligand Network](https://docs.openfe.org/en/latest/how_to_guides/generate_ligand_network.html)."
]
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@
"source": [
"<div class=\"alert alert-block alert-info\">\n",
"\n",
"**Partial charges:** The ligands in `somebenzenes_am1bcc.sdf` already have AM1-BCC partial charges, so the same charges are used in every repeat. To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfree.energy/en/stable/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfree.energy/en/stable/tutorials/charge_molecules_cli_tutorial.html).\n",
"**Partial charges:** The ligands in `somebenzenes_am1bcc.sdf` already have AM1-BCC partial charges, so the same charges are used in every repeat. To assign partial charges to your own ligands, see the how-to guide on [assigning partial charges with the Python API](https://docs.openfe.org/en/latest/how_to_guides/user_charges.html) or the [partial charges CLI tutorial](https://docs.openfe.org/en/latest/tutorials/charge_molecules_cli_tutorial.html).\n",
"\n",
"</div>"
]
Expand All @@ -97,7 +97,7 @@
"source": [
"This how-to guide assumes you've already loaded a `Protocol`. For more information, see [Choose and Configure a Protocol]:\n",
"\n",
"[Choose and Configure a Protocol]: https://docs.openfree.energy/en/stable/how_to_guides/choose_protocol.html"
"[Choose and Configure a Protocol]: https://docs.openfe.org/en/latest/how_to_guides/choose_protocol.html"
]
},
{
Expand All @@ -119,7 +119,7 @@
"source": [
"This how-to guide assumes you've already loaded a solvent and all the other chemical components of the system, including any proteins or cofactors. For more information, see [Loading your data into Components]:\n",
"\n",
"[Loading your data into Components]: https://docs.openfree.energy/en/stable/how_to_guides/loading_molecules.html"
"[Loading your data into Components]: https://docs.openfe.org/en/latest/how_to_guides/loading_molecules.html"
]
},
{
Expand Down Expand Up @@ -167,7 +167,7 @@
"source": [
"To create an `AlchemicalNetwork` loop over the `LigandNetwork` edges and manually create the `Transformation` objects for each of them. This gives you full control over the entire network. For more information, see [Under the Hood]:\n",
"\n",
"[Under the Hood]: https://docs.openfree.energy/en/stable/how_to_guides/under_the_hood.html"
"[Under the Hood]: https://docs.openfe.org/en/latest/guide/under_the_hood.html"
]
},
{
Expand Down Expand Up @@ -284,7 +284,7 @@
"source": [
"While the `AlchemicalNetwork` class itself has no on-disk representation, the `Transformation` instances that compose it do. Write an alchemical network to disk by iterating over its edges. For more information, see [Writing a Transformation to JSON].\n",
"\n",
"[Writing a Transformation to JSON]: https://docs.openfree.energy/en/stable/how_to_guides/dumping_transformation.html"
"[Writing a Transformation to JSON]: https://docs.openfe.org/en/latest/how_to_guides/dumping_transformation.html"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions cookbook/exploring_protocol_settings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Exploring Free Energy Protocol settings\n",
"\n",
"The free energy protocols implemented in **openfe** expose a number of simulation settings that can affect the convergence properties, accuracy and precision of an alchemical transformation. In this notebook, we will explore changes to common settings, advising when you might want to consider changing them and how to change them in practice. For a detailed explanation of the individual protocols and their limitations see the [protocol documentation](https://docs.openfree.energy/en/latest/guide/protocols/) and references therein.\n",
"The free energy protocols implemented in **openfe** expose a number of simulation settings that can affect the convergence properties, accuracy and precision of an alchemical transformation. In this notebook, we will explore changes to common settings, advising when you might want to consider changing them and how to change them in practice. For a detailed explanation of the individual protocols and their limitations see the [protocol documentation](https://docs.openfe.org/en/latest/guide/protocols/) and references therein.\n",
"\n",
"The default settings for a `Protocol` can be inspected via the common `default_settings()` class method. The following example shows how to retrieve the default settings for the `RelativeHybridTopologyProtocol`:"
]
Expand Down Expand Up @@ -39,7 +39,7 @@
"\n",
"<div alert class=\"alert alert-info\">\n",
"\n",
"**Tip:** For a complete explanation of each setting and how to customize the object see [Choose and Configure a Protocol](https://docs.openfree.energy/en/latest/how_to_guides/choose_protocol.html).\n",
"**Tip:** For a complete explanation of each setting and how to customize the object see [Choose and Configure a Protocol](https://docs.openfe.org/en/latest/how_to_guides/choose_protocol.html).\n",
"\n",
"</div>\n",
"\n",
Expand Down Expand Up @@ -308,7 +308,7 @@
"\n",
"#### Changing the number of repeats\n",
"\n",
"The following example shows how to increase the number of independent repeats per single execution of the `RelativeHybridTopologyProtocol` to `4`. Note that you can also execute the protocol multiple times with a single repeat per execution which may be more efficient, see the [quickrun guide](https://docs.openfree.energy/en/stable/guide/execution/quickrun_execution.html#parallel-execution-of-repeats-with-quickrun) for more information."
"The following example shows how to increase the number of independent repeats per single execution of the `RelativeHybridTopologyProtocol` to `4`. Note that you can also execute the protocol multiple times with a single repeat per execution which may be more efficient, see the [quickrun guide](https://docs.openfe.org/en/latest/guide/execution/quickrun_execution.html#parallel-execution-of-repeats-with-quickrun) for more information."
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions cookbook/generate_ligand_network.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "5da95fa6-c9a7-48a2-9d8e-e35b3b6818f6",
"metadata": {},
"source": [
"For an introduction to ``LigandNetwork``s, see [User Guide: Defining the Ligand Network](https://docs.openfree.energy/en/latest/guide/setup/creating_ligand_networks.html). "
"For an introduction to ``LigandNetwork``s, see [User Guide: Defining the Ligand Network](https://docs.openfe.org/en/latest/guide/setup/creating_ligand_networks.html). "
]
},
{
Expand All @@ -31,7 +31,7 @@
"source": [
"This how-to guide assumes you have already loaded a collection of `SmallMoleculeComponent` objects into an iterable called `ligands`.\n",
"\n",
"For more information, see the [Loading Small Molecules how-to guide](https://docs.openfree.energy/en/stable/how_to_guides/loading_molecules.html#loading-small-molecules)."
"For more information, see the [Loading Small Molecules how-to guide](https://docs.openfe.org/en/latest/how_to_guides/loading_molecules.html#loading-small-molecules)."
]
},
{
Expand Down Expand Up @@ -87,7 +87,7 @@
"Each atom mapper suggests one or more mappings, which can be scored seperately.\n",
"As a result, multiple atom mappers can be used to generate additional mappings for network planning.\n",
"\n",
"[LigandAtomMapper]: https://docs.openfree.energy/en/stable/reference/api/generated/openfe.setup.atom_mapping.LigandAtomMapper.html"
"[LigandAtomMapper]: https://docs.openfe.org/en/latest/reference/api/generated/openfe.setup.atom_mapping.LigandAtomMapper.html"
]
},
{
Expand Down Expand Up @@ -979,7 +979,7 @@
"source": [
"For more ways to visualize a `LigandNetwork`, see [Visualizing Ligand Networks].\n",
"\n",
"[Visualizing Ligand Networks]: https://docs.openfree.energy/en/stable/how_to_guides/ligandnetwork_vis.html"
"[Visualizing Ligand Networks]: https://docs.openfe.org/en/latest/how_to_guides/ligandnetwork_vis.html"
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions cookbook/hand_write_ligand_network.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"\n",
"Although this is the most flexible way to define a ``LigandNetwork``, we encourage you to use **openfe** helper functionality when possible for performance, reproducibility, and ease of use:\n",
"\n",
" - [Loading Ligand Networks Exported by Orion or FEP+](https://docs.openfree.energy/en/stable/how_to_guides/network_from_orion_fepp.html)\n",
" - [Planning a Ligand Network](https://docs.openfree.energy/en/stable/how_to_guides/generate_ligand_network.html)\n"
" - [Loading Ligand Networks Exported by Orion or FEP+](https://docs.openfe.org/en/latest/how_to_guides/network_from_orion_fepp.html)\n",
" - [Planning a Ligand Network](https://docs.openfe.org/en/latest/how_to_guides/generate_ligand_network.html)\n"
]
},
{
Expand All @@ -40,7 +40,7 @@
"source": [
"This how-to guide assumes you've already loaded a collection of `SmallMoleculeComponent` objects into an iterable called `ligands`.\n",
"\n",
"For more information, see [Loading Small Molecules](https://docs.openfree.energy/en/stable/how_to_guides/loading_molecules.html#loading-small-molecules)."
"For more information, see [Loading Small Molecules](https://docs.openfe.org/en/latest/how_to_guides/loading_molecules.html#loading-small-molecules)."
]
},
{
Expand Down Expand Up @@ -92,7 +92,7 @@
"source": [
"As we will only specify the topology of the network, OpenFE must generate atom mappings for us. For this, it needs an atom mapper; for more information, see [Choose an Atom Mapper]:\n",
"\n",
"[Choose an Atom Mapper]: https://docs.openfree.energy/en/stable/how_to_guides/generate_ligand_network.html#Choose-an-atom-mapper"
"[Choose an Atom Mapper]: https://docs.openfe.org/en/latest/how_to_guides/generate_ligand_network.html#Choose-an-atom-mapper"
]
},
{
Expand Down Expand Up @@ -240,7 +240,7 @@
"source": [
"For more ways to visualize a `LigandNetwork`, see [Visualizing Ligand Networks].\n",
"\n",
"[Visualizing Ligand Networks]: https://docs.openfree.energy/en/stable/how_to_guides/ligandnetwork_vis.html"
"[Visualizing Ligand Networks]: https://docs.openfe.org/en/latest/how_to_guides/ligandnetwork_vis.html"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion cookbook/ligandnetwork_vis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"id": "0d405db9-1ab5-43e1-aa51-89b5bdb283d7",
"metadata": {},
"source": [
"You will need to create a `LigandNetwork` for your system of interest. For more information, see [Generating a Ligand Network](https://docs.openfree.energy/en/stable/how_to_guides/generate_ligand_network.html)."
"You will need to create a `LigandNetwork` for your system of interest. For more information, see [Generating a Ligand Network](https://docs.openfe.org/en/latest/how_to_guides/generate_ligand_network.html)."
]
},
{
Expand Down
Loading
Loading