-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
38 lines (34 loc) · 1.93 KB
/
README
File metadata and controls
38 lines (34 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
usage: MetaD_analysis_0.1.1.py [-h] [-n] [-cvs rg ab [rg ab ...]]
[-stride t [fs]] [-temp 298 [K]]
[-hills ./HILLS] [-colvar ./colvar]
[-plumed /usr/local/plumed-2.2.0/bin/plumed]
[-plot] [-pdf filename.pdf] [-nocolvar]
[-nohills] [-nt N] [-no2D]
[-rg | -xtc fname.xtc | -gro fname.gro]
This is a script that can assist in plotting data of MetaD simulations run with plumed2 with matplotlib. The script runs sum_hills for specified CVs and the the combination pairs of those.
Very basic command, plot + write pdf of all CVs and combinations:
python MetaD_analysis.py -plot -pdf plot.pdf -stride 20000
optional arguments:
-h, --help show this help message and exit
-n Dry run, no sum_hills calculation. Use if calculation
is already run before
-cvs rg ab [rg ab ...]
Specified CVs. If no CVs specified: Sumhills for all
CVs+pairs of those will be run.
-stride t [fs] Stride length
-temp 298 [K] Specify temperature of simulation in Kelvin
-hills ./HILLS Location of Hills file
-colvar ./colvar Location of the colvar file
-plumed /usr/local/plumed-2.2.0/bin/plumed
plumed location
-plot Plot in window
-pdf filename.pdf Write .pdf at specified file location
-nocolvar Do not plot the CVs from colvar
-nohills Do not plot the hillsheight
-nt N specify number of threads
-no2D Do not run 2D sum_hills
-rg Plot Rg from .xtc and .gro file
-xtc fname.xtc specify .xtc file
-gro fname.gro specify .gro file
MetaD_analysis_0.1.3.py is a version where the minimum value of the free energy
is set to zero