Predicting Drug Residence Times from Unbinding Kinetics Simulations

Tutorial Created with Software Release: 2025-3
Topics: Enzyme Engineering, Hit-to-Lead & Lead Optimization, Small Molecule Drug Discovery
Products Used: Desmond

Tutorial files

27 MB

This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed

 

Tip: You can hover over a glossary term to display its definition. You can click on an image to expand it in the page.
Abstract:

In this tutorial, you will learn to set up unbinding kinetics simulations to predict the residence times of small molecule ligands bound to a protein target. You will apply the workflow to a small molecule inhibitor of p38 MAP kinase and analyze the results by inspecting the unbinding pathways and quality metrics. You will visualize the residence time prediction for this ligand together with the predicted residence times of a few other p38 inhibitors and compare their correlation to experimental values. Finally, you can follow along with troubleshooting the workflow when applied to the BIRB796 ligand.

Tutorial Content
  1. Introduction to drug kinetics simulations

  1. Creating Projects and Importing Structures

  1. Prerequisites for running the unbinding kinetics workflow

  1. Setting up the unbinding kinetics workflow

  1. Analyzing the results of the unbinding kinetics workflow

  1. Troubleshooting a trickier example

  1. Conclusion and References

  1. Glossary of Terms

1. Introduction to drug kinetics simulations

In pre-clinical drug discovery, it’s common to focus on the binding affinity of compounds to the target as a proxy of their potency, as this is fairly straightforward to measure. However, there are other factors which can impact the in vivo potency of a drug, such as its PK/PD or ADME/T properties. In computational work, we put a lot of focus on equilibrium thermodynamical properties, such as measurements of potency related to free energies of binding (e.g. Kd, Ki, IC50). However, the kinetics of drug-target binding can fundamentally change the observed in vivo properties. Insights into the process of ligand binding or unbinding and estimations of the dissociation constant koff or the drug residence time (τ = 1/koff) can explain large shifts in potency between compounds.

The unbiased simulation of drug-target binding using molecular dynamics is still too computationally costly to be used routinely for quantitative insights. In order to make kinetic properties accessible to guide design, simulation protocols need to be fast, reliable, and applicable to new systems with minimal adaptation and validation. Schrödinger’s unbinding kinetics workflow combines random acceleration molecular dynamics (RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it.) with metadynamics to estimate residence times.

The workflow begins with an exploration stage, where the potential paths which the ligand could take to exit the binding pocket are explored by applying an accelerating force to the ligand. Initially, this force is weak and applied in a random direction to displace it. If the ligand does not move (or gets stuck), the direction of the force is randomly changed and increased to allow the ligand to find a viable exit path.

After that, the exit paths are used to define the collective variables (CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulationss) for metadynamics simulations, which bias the ligand to roughly follow the unbinding path. From the statistics of these simulations, it is possible to estimate the residence times. For a general introduction to the metadynamics approach see here. You can also find a more detailed explanation of the unbinding kinetics workflow in this publication by Smith et al.

Figure 1.1: Schematic representation of the unbinding kinetics workflow.

In this tutorial, you will use Schrödinger’s unbinding kinetics workflow to investigate the binding of a small molecule inhibitor to p38 mitogen-activated protein kinase. This kinase is involved in various pathways associated with autoimmune diseases and inflammatory processes, with many published small-molecule ligands. You will simulate the unbinding of an analog of the kinase inhibitor BIRB796, starting from a published structure p38 in complex with a ligand with a similar core. In addition to obtaining a prediction for the residence time of the ligand, you will visually analyze its egress path.

Figure 1.2: The BIRB796 kinase inhibitor and the related smaller ligand you will simulate.

2. Creating projects and importing structures

At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in Maestro to make file navigation easier. Each session in Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.

Structures can be built in Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.

  1. Double-click the Maestro icon
  1. Go to File > Save Project As
  2. Change the File name to unbinding_kinetics_tutorial, click Save.

Figure 2-1. Change Working Directory option.

  1. Pre-generated files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/unbinding_kinetics.zip
  2. After downloading the zip file, unzip the contents in your Working Directorythe location where files are saved for ease of access throughout the tutorial

3. Prerequisites for running the unbinding kinetics workflow

Before running the unbinding kinetics workflow, you should have a good understanding of the target and have reviewed the available structural data. The workflow is more likely to succeed for systems where the binding pocket is solvent-exposed enough to let the ligand desorb without major receptor rearrangements. Very small, very large or highly flexible ligands can also reduce the predictivity of the method. Additionally, the workflow assumes that the ligand unbinds in a first-order kinetics process. For ligands with known transient binding sites, this assumption may not hold, and results may be less accurate.

Having an experimental structure with the ligand of interest bound to the target as a starting point is helpful to minimize the uncertainty due to ligand placement. If this is not available, you can generate a pose for the ligand by docking it into whatever ligand-bound receptor structure is available. In contrast to FEP+, not all ligands in a series need to use the same receptor structure for results of the unbinding kinetics workflow to be comparable. So if multiple target structures are available, we recommend choosing the structure for each ligand individually to maximize similarity with the cognate ligand.

As with all molecular dynamics applications, your structure should be prepared, with missing atoms or loops rebuilt as well as possible, as well as proper protonation and tautomerization states assigned for the receptor and ligand. Consult the Introduction to Structure Preparation and Visualization tutorial, the Best Practices for Structure Preparation, and the Best Practices for Unbinding Kinetics for more in-depth guidance before preparing your system. All ligand torsions not well-represented in the default OPLS parameters need to be parametrized using the ForceField Builder.

The structure you will use in this tutorial is a result of docking Ligand 1 into the 3NNV X-ray structure of p38 bound to a similar ligand. This structure has already been prepared using the protein preparation workflow, and the prepared ligand has been docked into it with core constraints, otherwise using the default settings for Glide. The ligand in this tutorial only contains torsions well-represented by the OPLS4 force-field, so no additional fitting is necessary.

Before running the unbinding kinetics workflow for your own system, you should also run RB-FEP+ on the system using a set of ligands with known experimental binding affinities. The FEP+ prediction error should be less than 1.3 kcal/mol. This step validates both the choices made during system preparation and the ligand poses (if not obtained from experiment). To learn how to run RB-FEP+ simulations, see the BACE1 Inhibitor Design Using Free Energy Perturbation tutorial or the Free energy calculations for drug design with FEP+ online course.

4. Setting up the unbinding kinetics workflow

In this section, you will learn to set up the unbinding kinetics workflow simulations. This section uses command line tools from the Schrödinger suite. For operating system-specific instructions on getting started using the command line interface, see Running Schrödinger Applications from the Command Line.

The unbinding kinetics workflow script automatically performs the necessary tasks for setting up the system for MD, such as running the Desmond System Builder, setting up the appropriate equilibration protocol, and launching the job.

The parameters of the workflow generalize well across systems and detailed tweaking should not be necessary in most cases. Unless working with ligands with very long expected residence times, we recommend lowering the residence time cutoff from its default of 1012 s to 1010 s to reduce the computational time spent on replicas which seem to be stuck.

Figure 4-1. Launching the unbinding kinetics workflow from the command line.

Running the job from the command line is straightforward..

  1. Open a terminal window with a properly configured $SCHRODINGER environment in your working directory.
  2. Type $SCHRODINGER/unbinding_kinetics p38-Lig1.mae -residence-time-cutoff 1.00e+10 -HOST <your_cpu_host> -SUBHOST <your_gpu_host> -OPLSDIR <your_opls_dir> -JOBNAME kinetics_p38_Lig1
    • Do not press Enter unless you want to run this computationally intensive job!
    • You can find the results of this job in the tutorial zip archive under outputs/kinetics_p38_Lig1

The unbinding kinetics script workflow takes additional optional arguments that may be helpful in specific cases, such as adding a lipid bilayer membrane or tweaking the simulation parameters. See Running Unbinding Kinetics from the Command Line for an explanation of the most common arguments and the unbinding_kinetics command help for the full list.

As mentioned above, the workflow’s default parameters should work well in most cases. Here are a few heuristics from our experience for when it makes sense to deviate from the defaults:

  • For large ligands or those with very long residence times, you should increase the number of replicas for the metadynamics stage (-total-mtd-replicas) and each replica’s maximum duration (-time, in picoseconds).
  • For fragment-sized or weakly-binding ligands you may want to reduce the initial force constant for the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. simulations from 15 kcal/mol/A² to 5 kcal/mol/A². To do this, add -ramd-spring-fk 5.0 to the command above. See the publication for more details.
  • For systems where you suspect there are multiple competing exit channels, increasing the number of replicas for the exploration stage (-total-ramd-replicas) can help improve the sampling of unbinding paths. The barrier wall applied to the ligand during the metadynamics stage is quite soft, so the workflow should be able to recover the correct statistics even if a suboptimal CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations is chosen in the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage (within reason).

When troubleshooting or exploring the system’s response to changing parameters, keep in mind that the metadynamics stage is much more computationally intensive than the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. exploration stage. You can run only the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage by appending -ramd-only to the launch command and inspect the results up to that stage as described in the next section to see how the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. parameters affect your system before re-running the job with the final parameters.

5. Analyzing the results of the unbinding kinetics workflow

In this section, you will dig into the results of the simulation, analyzing the egress paths, predicted residence times, and reported metrics.

Please note that calculations may have been performed with a different version of the software than you are using and the results may not be exactly the same as those you produced in this tutorial. Especially for methods with a statistical component, such as MD simulations, an exact reproduction of a trajectory and its properties is only possible if the same random seed, software and hardware configuration are used. With sufficient sampling, all properties of the ensemble should be reproducible, while the properties of individual frames and the exact course of a trajectory may differ.

5.1 Visualizing the unbinding path clouds

The unbinding kinetics workflow creates a directory for each of the steps of the protocol: initial structure (1), equilibration (2), RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. setup (3), RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. simulations (4), pathway clustering (5), metadynamics simulations (6), final predictions (7). The folder structure and each stage’s results are explained here. The results for many of the stages provide both a directory with the most commonly useful files and a .tgz archive with more in-depth data. For the sake of keeping the file size low, the tutorial zip archive only contains the full results for the later stages of the workflow discussed below.

For a successful run, the most practically relevant outputs are from stage 5 (unbinding pathway clustering results) and stage 7 (final predictions). The files from other stages can be useful when troubleshooting job failures or unsuccessful runs of the protocol.

Figure 5-1. Including the RAMD stage results.

You can start your analysis by taking a look at the egress paths found in the exploration stage (stage 5).

  1. Find output/kinetics_p38_Lig1/kinetics_p38_Lig1_5/ramd_unbinding_path_summary.maegz in the tutorial files and import it.
  2. Right-click the RAMD: p38-Lig1 group heading in the Entries and click Include.
  3. Press Z to fit the view to the structure.

Note: When running the calculation for your own system, you will need to extract the stage 5 data from the <jobname>_5-out.tgz file in the job directory.

The unbinding path summary shows the unbinding paths observed during the exploration stage in the various replicas as spheres tracing the center of mass of the ligand as it unbinds. Note that these paths are not pre-determined but result from applying force to displace the ligand in whichever direction it can be displaced. The paths are colored by which cluster they belong to and the clusters are listed in descending number of paths in the cluster.

In this case, there are multiple directions in which the ligand can exit the binding pocket. The most populated cluster (light blue spheres, 11 paths) clearly corresponds to the most dominant direction for unbinding, as it is also very similar to the dark blue, light green, and pink clusters (which together account for another 14 paths). The light blue cluster will therefore be used to construct the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations for the next part of the simulation. Note that the biasing potential during the metadynamics stage will not be very steep, initially more similar to giving the ligand a nudge in a particular direction than to keeping it on railroad tracks. So the ligand will still be quite free to move around while unbinding, making the method less reliant on the accuracy of the initial choice of CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations.

Due to the inherently stochastic nature of MD simulations and the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. approach, the exact number of paths per cluster will fluctuate between runs of the workflow. If you observe very even splits between clusters representing very different unbinding paths, you may want to extend the sampling in the exploration phase by running the above command with the -ramd-only and -total-ramd-replicas <number> flags to increase the number of replicas for the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage from the default of 30. Compared to the metadynamics stage, the exploration stage is fairly computationally cheap. Once you’re confident that the sampling is robust, you can re-run the job with the original command, adding any optional flags you’ve decided to use.

In case of a tie, the workflow uses each of the most populated clusters to determine a separate CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations and runs metadynamics on both unbinding paths. After the metadynamics simulations complete, the results and quality metrics from both paths are compared to determine the final result.

Figure 5-2. Truncated log file for the path clustering stage.

You can also check the log file of this stage for additional statistics on the paths and unbinding events.

  1. Find output/kinetics_p38_Lig1/kinetics_p38_Lig1_5/job.log in the tutorial files and open it in a text editor.

The most important metric to check here are the simulation times (given both individually for the replicas and as a summary). The force applied to the ligand is increased over the course of the simulation to force it out of the pocket. Once the distance between the ligand and the receptor Cα atoms reaches 8.0 Å, it is declared as unbound and the simulation is automatically terminated. Optimally, this should occur within 1-2 ns of RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. simulation. Our Ligand 1 has a very short residence time of only a few seconds, so the simulation time average of 300 ps across the replicas is reasonable and expected.

Shorter unbinding times (<100 ps) are likely for fragment-like or weakly-bound ligands, in which case you may want to re-run the simulation with a smaller force constant to avoid immediate unbinding and improve sampling (see above). If the simulation is taking very long, you can increase the force constant, but you should also have a more detailed look at what might prevent the ligand from unbinding (e.g. an incorrectly reconstructed part of the structure or an occluded binding pocket).

5.2 Analyzing the final results

The paths you visualized in the previous step were the initial results of the exploration stage. The following metadynamics and final analysis stages provide the data necessary to obtain the residence time prediction and quality metrics that serve as heuristics for the reliability of an individual simulation’s results.

Figure 5-3. The key output file listing residence time predictions and quality metrics.

First, take a look at the summary of residence time prediction and metrics obtained at the end of the run.

  1. Find output/kinetics_p38_Lig1/kinetics_p38_Lig1_7/kinetics_p38_Lig1.dat in the tutorial files and open it in a text editor of your choice.

This file reports the predicted residence time in seconds, as well as quality metrics to gauge the reliability of the results. In our case, the residence time prediction of 0.664 ± 0.284 s is within one order of magnitude of the experimental value of 7.14 s, i.e. within the error bars of most kinetics measurements.

Of the quality metrics, the most important is the ratio of simulation replicas in which the ligand successfully unbinds (#Unbound.Sims) to the total number of replicas (#Sims), i.e. the success rate. The p-value can be a helpful secondary quality metric.


Unbinding success rate:
Once the calculated residence time reaches 1012 s, the simulation is terminated. Failure to unbind is usually a result of emerging degrees of freedom that are orthogonal to the path collective variable defined in the exploration stage. Example causes are large receptor rearrangements, changing hydration patterns, or highly flexible ligands. The ratio of unsuccessful simulations for a given ligand should be <10%, and is a robust metric for how confident you can be of the overall results and residence time predictions.

If you see unsuccessful simulations, you should check the <jobname>_7-out/job.log (after extracting the <jobname>_7-out.tgz archive) for the Status of each replica to understand why the simulation was unsuccessful. The possible statuses are:

  • “OK” for a successful simulation,
  • “Too slow” for simulations where the maximum residence time cutoff (by default 1012 s) is reached, or
  • “Bound” for simulations where the maximum simulation time (by default 200 ns) is reached.

If you observe unsuccessful runs due to exceeding the maximum simulation time, this does not mean that the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations is bad, as this cutoff is motivated by conserving computational resources rather than any scientific reasons. You can recover the correct statistics by increasing this cutoff (-time) – see the next section of the tutorial for an example where this is necessary. If replicas fail due to the residence time cutoff, this is an indication that you should investigate the system in more detail.

In this case, all 10 replicas result in a successful unbinding, which means we can be quite confident in the results.

p-value:
In a nutshell, this value shows how closely the observed unbinding resembles a well-sampled first-order kinetics process. For an intuitive explanation of what this means, consider the following plot (automatically generated by the workflow as <jobname>_7/<jobname>.png):

The blue curve shows the sampling we’ve performed with the successful replicas, the orange curve corresponds to an ideal first-order kinetics process. The p-value describes how similar the blue curve is to the orange curve.

The p-value should always be interpreted together with the unbinding success rate, resulting in three possible cases:

  • High success rate (>90%) and high p-value (>>0.05) indicate the ideal scenario of good sampling of a singular transition state.
  • High success rate and low p-value can occur when the unbinding event does not actually follow first-order kinetics, when egress paths mix, or other factors skew the statistics. This is arguably the most frequently observed scenario, and your model will likely still be predictive. Comparing the model’s predictions to experimental data (if available) is always recommended.
    In this case, you can have a closer look at the distribution of residence times between the replicas by checking the <jobname>_7-out/job.log (after extracting the <jobname>_7-out.tgz archive) for any outliers.
  • If the success rate is low, the sampling is poor in any case and the p-value is irrelevant.
    In this case, you need to investigate your system in more detail, in particular the exit channel. If the channel corresponding to the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations is blocked but you suspect another channel exists, you could start over from the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage, increasing the sampling as described above to find new exit paths or make sure the statistics are stable. If the channel is truly occluded without significant receptor reorganization, your system may be beyond the domain of applicability of the workflow.

See the publications by Smith et al and Salvalaglio et al for more details on the p-value as a metric of metadynamics reliability.

In this example, our results show a p-value of 0.059, which together with our high success rate indicates that the simulation results are reasonable.

As mentioned above, in the case that multiple path clusters from the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage are tied in population, the metadynamics stage is run for all corresponding collective variables. All sets of statistics are reported in the <jobname>.dat file. The final result is chosen by sorting the CVs into  confidence categories based on the quality metrics (success rate ≶ 70% and/or p ≶ 0.05) and choosing the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations from the highest-confidence category which has the shortest predicted residence time.

Figure 5-4. The structure of the metadynamics output.

Next, you can visually review the unbinding paths observed in the various replicas.

  1. Find output/kinetics_p38_Lig1/kinetics_p38_Lig1_7-out/mtd_unbinding_path_summary.maegz in the tutorial files and import it.

Note: When running the calculation for your own system, you will need to extract the additional stage 7 data from the <jobname>_7-out.tgz file in the job directory in order to access this file. This archive also includes a log file and other information that may be helpful for troubleshooting.

The MetaD: p38-Lig1 group contains the ligand-receptor structure, the path CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations (path_cv_0) shown as spheres tracking the ligand center of mass along the path found in the exploration stage, and a sub-group (path_cv_0_mtd) tracking the actual center of mass of the ligand in each replica where it successfully unbinds. Each Entry from the path_cv_0_mtd group is named with the index of the corresponding replica.

Note that the predicted residence time and p-value are also visible in the Maestro Project Table as the residence time sec and KS p value properties of the path_cv_0 Entry.

Figure 5-5. Fixing the receptor in the workspace.

You can adjust the styling of the complex to your preference.

  1. Fix the p38-Lig1 Entry from the MetaD group in the workspace.
  2. Double-click Presets.

Figure 5-6. Including the unbinding tracks for each replica.

The unbinding paths are shown as clouds of spheres symbolizing the center of mass of the ligand. You can apply a color gradient to intuitively see their sequence in the simulation.

  1. Right-click the path_cv_0_mtd group in the Entries and click Include.
  2. Shift-click to select all groups labeled mtd_0-XX in the Hierarchy.
  3. Click the Style paintbrush for the Current Selection in the Hierarchy

Figure 5-7. Opening the Color by Atom Property panel.

  1. For Color Atoms, choose Other Schemes > Choose Atom Property

Figure 5-8. Coloring the points of each track by how far along the CV the ligand is there.

You can apply and tweak the color gradients if you want to.

  1. Find progress in the list and click OK.
  2. Press the Z key to fit the whole structure into view.

Figure 5-9. Stepping through the tracks for each replica.

You can step through the replicas to inspect the individual unbinding paths and compare them to the initial CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations.

  1. Fix the path_cv_0 Entry in the Workspace.
  2. Select the path_cv_0_mtd group heading in the Entries.
  3. Use the left and right arrow keys to switch between the entries.

Note: To keep the view constant when switching between entries, toggle the AUTO button in the main toolbar off.

You can see that in some replica (e.g. mtd_0-05), the ligand actually takes an egress path that is closer to one of the less-populated clusters from the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage than to the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations used in the metadynamics simulation. This is intentional and results from the softness of the biasing potential applied to the ligand during metadynamics to keep it near the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations. The ligand is thus free to explore the available space and even exit through another pore if it “wants to”. It is normal for the ligand to go off the rails like this in a few replicas, but if most of the trajectories show the ligand passing through a different pore than the one defined by the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations, this is a warning sign that the sampling in the RAMDrandom acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it. stage may have been insufficient.

You can investigate the unbinding trajectory of any of the replicas in detail (e.g. to identify transient ligand-receptor interactions). You can find the full trajectories of all replicas by extracting the <jobname>_6-out.tgz archive in the job directory.

Figure 5-10. Show properties related to the unbinding kinetics results in the Project Table.

Finally, take a look at the results for a few other p38 ligands with known residence times from literature. We have prepared a .maegz file containing the corresponding data for easy access in this tutorial.

  1. Find output/other_ligands.maegz in the tutorial files and import it.
  2. Open the Project Table
  3. In the Property Tree, double click the box for All to hide all properties.
  4. Check the box for Added by user.
  5. Expand the [Unclassified] group and check the box for residence time sec to show the prediction.

Figure 5-11. Opening the Create New Scatterplot Panel.

Now, you can plot the data.

  1. Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the path_cv_0 rows for all ligands in the Project Table.
  2. From the Gadgets menu at the top right corner of the Project Table, open the Chart Manager.
  3. Click Create to set up a new chart.

Figure 5-12. Plotting the correlation between prediction and experiment for all ligands in the series.

Maestro provides various GUI options for customizing charts. Feel free to adjust the options to your liking.

  1. In the Data section, set the X-Axis to log reference.
  2. Set the Y-Axis to log prediction.
  3. Toggle on the Diagonal with slope 1 option to visualize what perfect correlation would look like.

6. Troubleshooting a trickier example

The example you used in this tutorial was straightforward, with a mid-sized ligand with a rather short residence time and one clear egress path. To close off this tutorial, let’s look at a less well-behaved ligand: BIRB796.

Figure 5-1. Comparison of the p38/Ligand 1 structure based on 3NNV (green) and the p38/BIRB796 structure based on 1KV2 (white, reconstructed regions highlighted in magenta).

While there is a published crystal structure of p38 MAP kinase bound to BIRB796 (1KV2), this structure is missing its activation loop and an alpha-helix near the binding pocket.

These gaps can be filled in by grafting the corresponding areas of the 1WBS structure of p38 MAP kinase using the Protein Splicing panel and performing loop refinement. As mentioned above, we recommend using the crystal structure with the highest similarity to each ligand of interest, as the accuracy and stability of the initial ligand pose are more important than the precise initial position of e.g. a flexible loop.

Figure 5-2. Alternative unbinding pathway (orange) found for the BIRB796 ligand. The unbinding path which is consistently observed for smaller ligands is colored in light blue.

BIRB796 is so long that it “pierces” the binding pocket of p38, resulting in an alternative exit channel competing with the one you saw for Ligand 1. You can see this in these example results from the RAMD path clustering stage (stage 5) for the BIRB796 ligand.

By default, the RAMD stage only samples 30 replicas, which may not be sufficient to identify the correct exit channel in such cases. Increasing the number of replicas for the RAMD stage (-total-ramd-replicas) is a comparatively computationally cheap way to explore the available pathways.

Figure 5-3. Example track of the center of mass of BIRB796 (small spheres) during one replica of the metadynamics stage using the CV corresponding to the alternative unbinding path.

Even with a “bad” CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations, the biasing potential during metadynamics is soft enough that the workflow can frequently recover the correct behavior. See the image on the left for an example where using the alternative exit path for BIRB796 (following the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations shown as big spheres) leads to a “U-turn” as the ligand leaves via the preferred egress path and then moves towards where the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations is biasing it (orange arrow).

In this situation, you can still obtain a reasonably accurate prediction for the residence time, but this can also cause increased simulation times or high rates of unsuccessful simulations. If you observe multiple competing paths and/or most of the replicas taking a path different from the one described by the CVcollective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations, you should investigate the cause in more detail.

Figure 5-4. Example log file of stage 7 for the BIRB796 ligand showing that many replicas reach the simulation time cutoff before unbinding occurs.

Additionally, BIRB796 is a rather large and flexible ligand with a very long residence time reported in experiments (1.2 ⨉ 105 s).

To improve the accuracy of the metadynamics sampling in such cases, we recommend increasing the number of replicas for the metadynamics stage (-total-mtd-replicas) from 10 to 20. Additionally, lengthening the maximum metadynamics simulation time (-time) from 200 ns to 600 ns prevents the unbinding simulations from being terminated before the ligand can fully unbind. Note that the workflow automatically terminates simulations once the ligand has unbound, so the 600 ns will not be used by each of the 20 replicas. Still, these adjustments notably increase the computational cost of the metadynamics stage, resulting in a cumulative 3000 ns of simulation across all replicas to obtain a reliable prediction for this ligand.

In summary, you can see that ligands such as BIRB796 require more thorough sampling in both the RAMD and metadynamics stages, resulting in higher computational costs to obtain an accurate prediction. For reference, here is the full command to launch the unbinding kinetics workflow with the recommendations listed above for this trickier case:

$SCHRODINGER/unbinding_kinetics <input>.mae -total-ramd-replicas 50 -total-mtd-replicas 20 -time 600000 -HOST <your_cpu_host> -SUBHOST <your_gpu_host> -OPLSDIR <your_opls_dir> -JOBNAME <jobname>

When troubleshooting your own system, keep in mind that the metadynamics stage is much more computationally costly than the RAMD stage, so testing the effect of changing parameters or improving the sampling is much more efficient if done for the RAMD stage.

7. Conclusion and References

In this tutorial, you learned how to perform unbinding kinetics simulations and analyze their results. You set up the job from the command line, passing the appropriate optional arguments to improve the sampling for the BIRB796 ligand with its long residence time. Then, you inspected the outputs of the exploration stage to understand how the collective variable for the metadynamics simulation is chosen. Next, you checked the final residence time prediction and confirmed that your simulation is reliable based on the available quality metrics. You visualized the actual unbinding paths from the metadynamics stage to track the ligand’s movement out of the pocket. Finally, you visualized and calculated the correlation between predicted and experimental residence times for a series of ligands, validating the model for prospective predictions.

For further reading:
  • The Desmond User Manual is a great resource for understanding the structure of input and output files and how to customize MD workflows.
  • Salvalaglio, M.; Tiwary, P.; Parrinello, M. Assessing the Reliability of the Dynamics Reconstructed from Metadynamics. Journal of Chemical Theory and Computation 2014, 10 (4), 1420–1425. https://doi.org/10.1021/ct500040r.
  • Smith, Z.; Branduardi, D.; Lupyan, D.; D’Arrigo, G.; Tiwary, P.; Wang, L.; Krilov, G. Towards automated physics-based absolute drug residence time predictions. J. Chem. Inf. Model. 2025, 65, 24, 13360–13373. https://doi.org/10.1021/acs.jcim.5c01832.
  • Guo, D.; Heitman, L. H.; IJzerman, A. P. The Role of Target Binding Kinetics in Drug Discovery. ChemMedChem 2015, 10, 1793. https://doi.org/10.1002/cmdc.201500310

8. Glossary of Terms

CV - collective variable, a term for the abstract coordinate used to bias the system during metadynamics simulations

Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion

Included - the entry is represented in the Workspace, the circle in the In column is blue

Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data

RAMD - random acceleration molecular dynamics; a biased molecular dynamics simulation in which an accelerating force is periodically applied to part of the system to displace it.

Recent actions - This is a list of your recent actions, which you can use to reopen a panel, displayed below the Browse row. (Right-click to delete.)

Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project

Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries

Working Directory - the location where files are saved

Workspace - the 3D display area in the center of the main window, where molecular structures are displayed