-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathnpt_gromacs.wic
71 lines (70 loc) · 1.93 KB
/
npt_gromacs.wic
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
steps:
grompp:
in:
config: !ii
mdp:
integrator: md # Use md for performance so we can update coordinates on GPU. Use sd for proper statistical properties.
rvdw: 1.0
rcoulomb: 1.0
coulombtype: PME
nsteps: 10000
dt: 0.002
tc-grps: system
ref-t: 298
tau-t: 2
constraints: h-bonds
nstxout: 100
nstenergy: 10
pcoupl: C-rescale
tau-p: 1
ref-p: 1
compressibility: 4.5e-5
comm-mode: Linear
comm-grps: system
mdrun:
in:
output_edr_path: !ii npt.edr
output_crd_path: !ii npt.gro # Explicitly specify for rmsd
out:
- output_crd_path: !& npt.gro
#- output_trr_path: !& npt.trr
gmx_energy:
in:
config: !ii
terms: [Density]
output_xvg_path: !ii density.xvg
# - cwl_subinterpreter:
# in:
# #cachedir_path: /absolute/path/to/cachedir/ (automatically filled in by wic)
# file_pattern: !ii '*npt.edr'
# cwl_tool: !ii gmx_energy
# max_times: !ii '5'
# config: !ii
# in:
# input_energy_path: !ii npt.edr
# config: !ii
# terms: [Density]
# output_xvg_path: !ii density.xvg
wic:
graphviz:
#label: Constant\nPressure
style: invis # Make this subgraph invisible (but NOT the parent graph).
steps:
(1, grompp):
wic:
graphviz:
label: 'Update\nTopology'
(2, mdrun):
wic:
namespace: gpu # To run MD on GPU
graphviz:
label: 'Molecular\nDynamics'
(3, gmx_energy):
wic:
graphviz:
label: 'Analyze & Plot\nDensity\nTimeseries'
(4, cwl_subinterpreter):
wic:
graphviz:
#label: 'Real-time\nAnalysis'
style: invis # Make this node invisible