Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into openfe-1.0.0rc0-test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed May 1, 2024
2 parents 1ae7400 + 9fea50f commit edfd2ea
Show file tree
Hide file tree
Showing 8 changed files with 191 additions and 2,449 deletions.
4 changes: 1 addition & 3 deletions .binder/environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: openfe-notebooks
channels:
- jaimergp/label/unsupported-cudatoolkit-shim
- conda-forge/label/openfe_rc
- conda-forge/label/gufe_rc
- conda-forge
dependencies:
- MDAnalysis
Expand Down Expand Up @@ -30,5 +28,5 @@ dependencies:
- rdkit
- typing_extensions
- gufe>=0.9.4
- openfe>=1.0.0rc0
- openfe~=1.0
- py3dmol
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
# Note: we temporarily pin to macos-12 to avoid compatibility issues
# between AT22+ and macos-13+ runners
os: [ubuntu-latest, macos-12]
python-version: ["3.11",]

steps:
Expand Down Expand Up @@ -63,4 +65,4 @@ jobs:
- name: Run example notebooks
run: |
python -m pytest -v setup/ openmm_rbfe/ networks/ --nbval-lax -n auto --dist loadscope
python -m pytest -v setup/ showcase/ cookbook/ openmm_rbfe/ networks/ --nbval-lax -n auto --dist loadscope
2 changes: 1 addition & 1 deletion networks/Preparing AlchemicalNetworks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.10.11"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion networks/ligand_networks_for_developers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.11.7"
}
},
"nbformat": 4,
Expand Down
11 changes: 2 additions & 9 deletions openmm_md/plain_md.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@
{
"cell_type": "markdown",
"id": "088a1bc4-e5f3-47ac-8ebf-1a904fa82f80",
"metadata": {
"editable": true,
"nbsphinx": "hidden",
"slideshow": {
"slide_type": ""
},
"tags": []
},
"metadata": {},
"source": [
"# Running a Molecular Dynamics (MD) simulation of a protein-ligand complex\n"
"# Running a Molecular Dynamics (MD) simulation of a protein-ligand complex"
]
},
{
Expand Down
2,591 changes: 170 additions & 2,421 deletions openmm_rbfe/OpenFE_showcase_1_RBFE_of_T4lysozyme.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openmm_rbfe/benchmark_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.11.7"
}
},
"nbformat": 4,
Expand Down
22 changes: 11 additions & 11 deletions rbfe_tutorial/cli_tutorial.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Relative Free Energies with the OpenFE CLI

This tutorial will show how to use the OpenFE command line interface to get
free energies -- with no Python at all! This will work for simple setups, you
free energies -- with no Python at all! This will work for simple setups, but you
may need to use the Python interface for more complicated setups.

The entire process of running the campaign of simulations is split into 3
stages; each of which corresponds to a CLI command:
stages, each of which corresponds to a CLI command:

1. Setting up the necessary files to describe each of the individual
simulations to run.
2. Running the simulations.
3. Gathering the results of separate simulations into a single table.
simulations to run
2. Running the simulations
3. Gathering the results of separate simulations into a single table

To work through this tutorial, start out with a fresh directory. You can download the tutorial materials (including this file) using the command:

Expand Down Expand Up @@ -40,7 +40,7 @@ To run the command, we do the following:
the option `-M tyk2_ligands.sdf`. You can also use `-M` with a directory, and
it will load all molecules found in any SDF or MOL2 file in that directory.
* Pass a PDB of the protein target (TYK2) with `-p tyk2_protein.pdb`.
* Instruct `openfe` to ouput files into a directory called `network_setup`
* Instruct `openfe` to output files into a directory called `network_setup`
with the `-o network_setup` option.

```bash
Expand Down Expand Up @@ -101,10 +101,10 @@ how these simulation are set up:
minimum distance of 1.2 nm from the solute to the edge of the box.
4. The protocol used is OpenFE's OpenMM-based Hybrid Topology RFE protocol, with [default settings](https://docs.openfree.energy/en/stable/reference/api/openmm_rfe.html#protocol-settings).

## Customize you Campaign Setup
## Customize your campaign setup

OpenFE contains many different options and methods for setting up a calculation campaign.
The options can be easily accessed and modified with providing a settings
OpenFE contains many different options and methods for setting up a simulation campaign.
The options can be easily accessed and modified by providing a settings
file in the `.yaml` format.
Let's assume you want to exchange the LOMAP atom mapper with the Kartograf
atom mapper and the Minimal Spanning Tree
Expand All @@ -123,7 +123,7 @@ network:
openfe plan-rbfe-network -M tyk2_ligands.sdf -p tyk2_protein.pdb -o network_setup -s settings.yaml
```

3. The output of the CLI program will now reflect the made changes:
3. The output of the CLI program will now reflect the changes made:

```text
RBFE-NETWORK PLANNER
Expand Down Expand Up @@ -236,7 +236,7 @@ files are the actual results of a simulation. Other files that are generated
during the simulation (such as detailed simulation information) have been
replaced by empty files to keep the size smaller. The structure looks something
like this:

openfe
<!-- take the top lines from `tree results` -->

```text
Expand Down

0 comments on commit edfd2ea

Please sign in to comment.