Skip to content

Commit b16ab61

Browse files
committed
vacuum minimization
1 parent fc7f0f1 commit b16ab61

20 files changed

+193
-42
lines changed

cwl_adapters/combine_structure.cwl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ baseCommand: ['python', '/combine_structure.py']
1212

1313
hints:
1414
DockerRequirement:
15-
dockerPull: ndonyapour/combine_structure
15+
dockerPull: ndonyapour/combine_structure_zip
1616

1717
inputs:
1818
input_structure1:
@@ -40,6 +40,20 @@ inputs:
4040
- edam:format_3877
4141
inputBinding:
4242
prefix: --input_structure2
43+
44+
input_top_zip_path:
45+
label: Input zip file
46+
doc: |-
47+
Input zip file
48+
Type: string
49+
File type: input
50+
Accepted formats: zip
51+
Example file: https://github.com/bioexcel/biobb_md/blob/master/biobb_md/test/data/gromacs/genion.zip
52+
type: File
53+
format:
54+
- edam:format_3987
55+
inputBinding:
56+
prefix: --input_top_zip_path
4357

4458
output_structure_path:
4559
label: Output combined PDB file path

examples/config_ci.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"vs_demo_2_weekly",
1111
"vs_demo_3_weekly",
1212
"vs_demo_4_weekly",
13-
"docking_rescoring_weekly"
13+
"docking_rescoring_weekly",
14+
"stability",
15+
"docking_stability",
16+
"nmr",
17+
"tutorial"
1418
],
1519
// NOTE: Most of the workflows in this list have free variables because they are subworkflows
1620
// i.e. if you try to run them, you will get "Missing required input parameter"

examples/docking/docking.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ steps:
9090
in:
9191
input_structure1: '*receptor.xyz' # '*receptor_hydrogens.pdb'
9292
input_structure2: '*pose_ligand.xyz'
93+
input_top_zip_path: '*complex_vac.zip'
9394
output_structure_path: '&complex_vac.pdb'
9495

9596
wic:

examples/docking/docking_stability.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,31 @@ wic:
2929
inlineable: True
3030
(2, stability.yml):
3131
wic:
32-
inlineable: True
32+
inlineable: False
3333
steps:
34+
(1, setup_vac_min.yml):
35+
wic:
36+
steps:
37+
(3, solv_ion.yml):
38+
wic:
39+
steps:
40+
(4, genion):
41+
in:
42+
output_top_zip_path: '&genion_complex.zip'
3443
(2, basic.yml):
44+
in:
45+
top_zip_path: '*genion_complex.zip'
3546
wic:
3647
steps:
3748
(3, prod.yml):
3849
wic:
3950
steps:
51+
(2, grompp):
52+
in:
53+
input_top_zip_path: '*genion_complex.zip'
54+
(3, mdrun):
55+
in:
56+
output_crd_path: '&prod_complex.gro'
4057
(4, cwl_watcher_analysis.yml):
4158
wic:
4259
backend: complex
@@ -45,4 +62,7 @@ wic:
4562
steps:
4663
(1, analysis_realtime.yml):
4764
wic:
48-
backend: complex
65+
backend: complex
66+
(2, analysis_final.yml):
67+
wic:
68+
backend: complex

examples/docking/gen_topol_params.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ steps:
7070
in:
7171
input_structure1: ~input_receptor_xyz_path
7272
input_structure2: '*pose_ligand.xyz'
73+
input_top_zip_path: '*complex_vac.zip'
7374
output_structure_path: '&complex_vac.pdb'
7475

7576
wic:

examples/docking/vs_demo_2.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,18 @@ wic:
146146
wic:
147147
inlineable: False
148148
steps:
149-
(1, setup.yml):
149+
(1, setup_vac_min.yml):
150150
wic:
151151
steps:
152-
(4, genion):
153-
in:
154-
output_top_zip_path: '&genion_complex.zip'
152+
(3, solv_ion.yml):
153+
wic:
154+
steps:
155+
(4, genion):
156+
in:
157+
output_top_zip_path: '&genion_complex.zip'
155158
(2, basic.yml):
159+
in:
160+
top_zip_path: '*genion_complex.zip'
156161
wic:
157162
steps:
158163
(3, prod.yml):

examples/docking/vs_demo_3.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,18 @@ wic:
124124
wic:
125125
inlineable: False
126126
steps:
127-
(1, setup.yml):
127+
(1, setup_vac_min.yml):
128128
wic:
129129
steps:
130-
(4, genion):
131-
in:
132-
output_top_zip_path: '&genion_complex.zip'
130+
(3, solv_ion.yml):
131+
wic:
132+
steps:
133+
(4, genion):
134+
in:
135+
output_top_zip_path: '&genion_complex.zip'
133136
(2, basic.yml):
137+
in:
138+
top_zip_path: '*genion_complex.zip'
134139
wic:
135140
steps:
136141
(3, prod.yml):

examples/docking/vs_demo_4.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,18 @@ wic:
191191
wic:
192192
inlineable: False
193193
steps:
194-
(1, setup.yml):
194+
(1, setup_vac_min.yml):
195195
wic:
196196
steps:
197-
(4, genion):
198-
in:
199-
output_top_zip_path: '&genion_complex.zip'
197+
(3, solv_ion.yml):
198+
wic:
199+
steps:
200+
(4, genion):
201+
in:
202+
output_top_zip_path: '&genion_complex.zip'
200203
(2, basic.yml):
204+
in:
205+
top_zip_path: '*genion_complex.zip'
201206
wic:
202207
steps:
203208
(3, prod.yml):

examples/gromacs/basic.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
inputs:
2+
top_zip_path:
3+
type: File
4+
format:
5+
- edam:format_3987
26
nsteps:
37
type: int
48
dt:
@@ -16,6 +20,8 @@ steps:
1620
# to this level and use the following syntax to pass it to only one call site.
1721
# (Moreover, the former will create multiple definitions of &min.tpr, which is not allowed.)
1822
- min.yml:
23+
in:
24+
top_zip_path: ~top_zip_path
1925
- equil.yml:
2026
- prod.yml:
2127
in:

examples/gromacs/cg.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
inputs:
2+
top_zip_path:
3+
type: File
4+
format:
5+
- edam:format_3987
6+
17
steps:
28
- grompp:
39
in:
10+
input_top_zip_path: ~top_zip_path
411
config:
512
mdp:
613
integrator: cg

0 commit comments

Comments
 (0)