Skip to content

Commit 3b76941

Browse files
Merge pull request #830 from OpenFreeEnergy/issue_803_userguide_result_networks
docs: first pass at working with networks page
2 parents a6efe2f + 581525b commit 3b76941

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

docs/guide/results/working_with_networks.rst

+50-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,56 @@
33
Working with networks of results
44
================================
55

6-
issue #803
6+
After running a **network** of free energy calculations,
7+
we often want to analyse the corresponding network of results.
78

9+
.. _userguide_MLE:
810

9-
The :ref:`openfe gather <cli_gather>` command offers a way to collate information across many different individual
11+
Converting relative results to absolute estimates
12+
-------------------------------------------------
13+
14+
When a network of relative free energies has been calculated,
15+
a commonly performed task is to transform these pairwise estimations of **relative** free energy differences (:math:`\Delta \Delta G`)
16+
into **absolute** free energy differences (:math:`\Delta G`).
17+
This is done using a maximum likelihood estimator (MLE) [1]_,
18+
as implemented in the `cinnabar`_ package.
19+
This approach uses the matrix of relative pairwise measurements and their uncertainties,
20+
to estimate the overall ranking of ligands.
21+
To use this approach the network of pairwise measurements needs to be fully connected,
22+
i.e. there should be a way to trace a path along pairwise measurements between any two nodes (ligands) on the network.
23+
24+
.. note::
25+
The results of a MLE estimation will have a **mean** of 0.0,
26+
meaning that there will be some estimates with positive values and some estimates with negative values.
27+
These predictions (:math:`\Delta G_{pred}`) can be shifted to match the magnitude of the experimental data,
28+
to satisfy the below equation where the sum is performed over N molecules that have experimental data (:math:`\Delta G_{exp}`) [2]_.
29+
30+
.. math::
31+
32+
\sum_i^N \Delta G^i_{exp} = \sum_i^N \Delta G^i_{pred}
33+
34+
Gathering using the command line
35+
--------------------------------
36+
37+
After running calculations using the :ref:`quickrun command <userguide_quickrun>`,
38+
the :ref:`openfe gather <cli_gather>` command offers a way to collate information across many different individual
1039
simulations and prepare a table of results.
40+
The tool offers a summary of the relative binding affinities (``--report ddg``),
41+
or their :ref:`corresponding MLE values <userguide_MLE>` (``--report dg``).
42+
43+
Using cinnabar directly
44+
-----------------------
45+
46+
The `cinnabar`_ package can be used from within Python to manipulate networks of free energy estimates.
47+
A tutorial on using this is provided here :ref:`here <tutorials/plotting_with_cinnabar.nblink>`
48+
49+
See also
50+
--------
51+
52+
For handling the results of a single calculation, please consult :ref:`userguide_individual_results`
53+
54+
.. [1] Optimal Measurement Network of Pairwise Differences, Huafeng Xu, J. Chem. Inf. Model. 2019, 59, 11, 4720-4728
55+
.. [2] Accurate and Reliable Prediction of Relative Ligand Binding Potency in Prospective Drug Discovery by Way of a Modern Free-Energy Calculation Protocol and Force Field
56+
Lingle Wang, Yujie Wu, Yuqing Deng, Byungchan Kim, Levi Pierce, Goran Krilov, Dmitry Lupyan, Shaughnessy Robinson, Markus K. Dahlgren, Jeremy Greenwood, Donna L. Romero, Craig Masse, Jennifer L. Knight, Thomas Steinbrecher, Thijs Beuming, Wolfgang Damm, Ed Harder, Woody Sherman, Mark Brewer, Ron Wester, Mark Murcko, Leah Frye, Ramy Farid, Teng Lin, David L. Mobley, William L. Jorgensen, Bruce J. Berne, Richard A. Friesner, and Robert Abel
57+
Journal of the American Chemical Society 2015 137 (7), 2695-2703 DOI: 10.1021/ja512751q
58+
.. _cinnabar: https://github.com/OpenFreeEnergy/cinnabar

0 commit comments

Comments
 (0)