Skip to content

Commit 85d126a

Browse files
committed
adding documentation about orientational entropy
1 parent ab8ff89 commit 85d126a

3 files changed

Lines changed: 53 additions & 10 deletions

File tree

docs/config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
run1:
44
top_traj_file: ["1AKI_prod.tpr", "1AKI_prod.trr"]
55
force_file:
6-
file_formate:
6+
file_format:
77
selection_string: 'all'
88
start: 0
99
end: 500
@@ -14,3 +14,6 @@ run1:
1414
force_partitioning: 0.5
1515
water_entropy: False
1616
grouping: 'molecules'
17+
customised_axes: True
18+
combinded_forcetorque: False
19+
search_type: 'RAD'

docs/getting_started.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,20 @@ The ``top_traj_file`` argument is required; other arguments have default values.
204204
- ``str``
205205
* - ``--kcal_force_units``
206206
- Set input units as kcal/mol
207-
- ``bool``
208207
- ``False``
208+
- ``bool``
209209
* - ``--combined_forcetorque``
210210
- Use the combined force-torque covariance matrix for the highest level to match the 2019 paper
211-
- ``bool``
212211
- ``True``
212+
- ``bool``
213213
* - ``--customised_axes``
214214
- Use custom bonded axes to get COM, MOI and PA that match the 2019 paper
215-
- ``bool``
216215
- ``True``
216+
- ``bool``
217+
* - ``--search_type``
218+
- Method for finding neighbouring molecules
219+
- ``RAD``
220+
- ``str``
217221

218222
Averaging
219223
---------
@@ -224,6 +228,15 @@ controls how averaging is done.
224228
* ``molecules`` (default): molecules are grouped by atom names and counts.
225229
* ``each``: each molecule is treated as its own group (no averaging).
226230

231+
Counting Neighbours
232+
-------------------
233+
234+
The code counts the number of neighbours for the orientational entropy.
235+
There are currently two options, chosen by the ``search_type`` argument.
236+
237+
* ``RAD`` (default): Uses the relative angular distance method.
238+
* ``grid``: Uses the MDAnalysis NeighborSearch method.
239+
227240

228241
Examples
229242
--------

docs/science.rst

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Multiscale Cell Correlation Theory
44
This section is to describe the scientific theory behind the method used in CodeEntropy.
55

66
The multiscale cell correlation (MCC) method [1-3] has been developed in the group of Richard Henchman to calculate entropy from molecular dynamics (MD) simulations.
7-
It has been applied to liquids [1,3,4], proteins [2,5,6], solutions [6-9], and complexes [6,7].
7+
It has been applied to liquids [1,3,4], proteins [2,5,6], solutions [6,8-10], and complexes [6,8].
88
The purpose of this project is to develop and release well written code that enables users from any group to calculate the entropy from their simulations using the MCC.
99
The latest code can be found at github.com/ccpbiosim/codeentropy.
1010

@@ -32,13 +32,15 @@ Model. 60 (2020), pp. 5540–5551.
3232
[6] Jas Kalayan et al. “Total Free Energy Analysis of Fully Hydrated Proteins”.
3333
In: Proteins 91 (2023), pp. 74–90.
3434

35+
[7] Jonathan Higham and Richard H. Henchman. "Locally adaptive method to define coordination shell". In: J. Chem. Phys. 145 (2016), pp. 084108
36+
3537
Additional application examples
3638
-------------------------------
37-
[7] Hafiz Saqib Ali et al."Energy-entropy method using Multiscale Cell Correlation to calculate binding free energies in the SAMPL8 Host-Guest Challenge". In: Journal of Computer Aided Molecular Design 35 (2021), 911-921.
39+
[8] Hafiz Saqib Ali et al."Energy-entropy method using Multiscale Cell Correlation to calculate binding free energies in the SAMPL8 Host-Guest Challenge". In: Journal of Computer Aided Molecular Design 35 (2021), 911-921.
3840

39-
[8] Fabio Falcioni et al. "Energy-entropy prediction of octanol-water logP of SAMPL7 N-acylsulfonamide bioisosters". In Journal of Computer Aided Molecular Design 35 (2021) 831-840.
41+
[9] Fabio Falcioni et al. "Energy-entropy prediction of octanol-water logP of SAMPL7 N-acylsulfonamide bioisosters". In Journal of Computer Aided Molecular Design 35 (2021) 831-840.
4042

41-
[9] Hafiz Saqib Ali et al. "Energy-entropy Multiscale Cell Correlation method to predict toluene–water log P in the SAMPL9 challenge". In Physical Chemistry Chemical Physics 25 (2023), 27524-27531.
43+
[10] Hafiz Saqib Ali et al. "Energy-entropy Multiscale Cell Correlation method to predict toluene–water log P in the SAMPL9 challenge". In Physical Chemistry Chemical Physics 25 (2023), 27524-27531.
4244

4345
Hierarchy
4446
---------
@@ -98,6 +100,31 @@ Orientational Entropy
98100
---------------------
99101
Orientational entropy is the term that comes from the molecule's environment (or the intermolecular configuration).
100102
The different environments are the different states for the molecule, and the statistics can be used to calculate the entropy.
101-
The simplest part is counting the number of neighbours, but symmetry should be accounted for in determining the number of orientations.
102103

103-
For water, the hydrogen bonds are very important and the number of hydrogen bond donors and acceptors in the shell around the water molecule affects the number of unique orientations.
104+
The number of orientations :math:`\Omega_{\mathrm{orient}}` relates to the number of neighbors.
105+
We are using the relative angular distance (RAD) method for identifying neighbours [7].
106+
This method considers a molecule j as part of the coordination shell of the central molecule i, if for all other molecules k:
107+
108+
.. math::
109+
\frac{1}{r_{ij}^2} > \frac{1}{r_{ik}^2} \mathrm{cos} \theta_{jik}
110+
111+
where, :math:`r_{ij}` is the distance between i and j and :math:`\theta_{jik}` is the angle between j, i, and k (with i at the vertex).
112+
The MDAnalysis NeighborSearch method can be used as an alternative to RAD, but the grid based search relies on an arbitrary cutoff.
113+
114+
The number of orientations also depends on the symmetry number of the molecule and if it is linear.
115+
Linear molecules have 2 rotational degrees of freedom and non-linear molecules have 3 rotational degrees of freedom.
116+
CodeEntropy is using the united atom beads to determine if a molecule is treated as the linear case (for example, carbon dioxide and methanol are both considered linear).
117+
118+
.. math::
119+
\Omega_{\mathrm{orient}} = max \left\{ 1, N^{3/2} \pi^{1/2} / \sigma \right\}
120+
121+
.. math::
122+
\Omega_{\mathrm{orient,linear}} = max \left\{ 1, N / \sigma \right\}
123+
124+
where N is the number of neighbours the molecule has averaged over the number of frames and :math:`\sigma` is the symmetry number of the molecule.
125+
The max of 1 or the number of neighbours expression prevents the resulting orientational entropy value being less than zero.
126+
127+
.. math::
128+
S_{\mathrm{orient}} = R \ln{ \Omega_{\mathrm{orient}} }
129+
130+
where R is the gas constant.

0 commit comments

Comments
 (0)