av_mmgbsa.py
that is located in /temp4/bio/Bin/
This script can be execute in two different ways:
Process only last snapshot
For both types of execution, there is an optional first argument that
can be appended before any other arguments:
-last
if this argument is used, the energies in each output-file will not be
accumulated and averages will not be computed. In effect, only the last
snapshot will be processed.
Samuel Genheden, 2012
int
ele
vdw
gb
pb
np
ent
An internal mask sign, the tilde sign (~), are used to group the
filenames. This sign is replaced with a star (*), internally, and the
glob is expanded.
The number of groups can be 1, 2, 3, or 6, and how the expanded globs
are processed is given by the table
# groups | Effect |
1 | Each of the files are process sequentially |
2 | Each of the files are process sequentially. The entropy values are taken from the second group. |
3 | Delta values (RL - R - L) are calculated. The groups should be complex, receptor, ligand, respectively. |
6 | Delta values (RL - R - L) are calculated. The groups should be complex, receptor, ligand, respectively, 2 times. The second set of groups should contain entropy values. |
Note: if only a single file name is given (without any ~), the script will write out standard deviations for that file as well. Note that this will be the standard error of a single simulation, compared to an ensemble average that we usually compute. If two files are given (without any ~), the script will take the entropy values from the second file.
-s
in order to turn on
the script-mode
com
prot
rec
lig
del
where prot
and rec
is equivalent.
These scripts will process complex, receptor, ligand, or delta values
(RL - R - L), respectively.
-ent
,
that tell the script to not process separate entropy files.
The script will assume filenames such as R1_mmpbsa/l01_com.all.out
,
where R1
is the folder of the independent run, and will
change from 1 to the number of independent runs specified above. l01
is the ligand name as given to the script.
l01
is the name of the ligand.
av_mmgbsa.py -s l01 com 40 "ele vdw gb np ent"
av_mmgbsa.py -s l01 com 40 "ele vdw gb np" -ent
av_mmgbsa.py -last -s l01 com 40 "ele vdw gb np ent"
av_mmgbsa.py "ele vdw gb np ent" R~/l01_com.all.out
R~/l01_tr_com.all.out
av_mmgbsa.py -s l01 rec 40 "gb" -ent
av_mmgbsa.py -s l01 del 40 "ele gb" -ent
Note that in the last two examples that the -ent
is
unecessary if the entropy files exist (they will just be
ignored), but if they do not exists, one has to give this flag.