Skip to content

Commit f773fcd

Browse files
authored
Merge pull request #43 from jfennick/weekly_ci
Weekly ci
2 parents c131cef + 513a4ef commit f773fcd

9 files changed

+101
-30
lines changed

examples/config_ci.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// need to manually exclude large workflows.
77
// See https://en.wikipedia.org/wiki/Graph_isomorphism_problem
88
"large_workflows": [
9-
"dsb", "dsb1", "elm", "vs_demo_2", "vs_demo_3", "vs_demo_4"
9+
"dsb", "dsb1", "elm", "vs_demo_2", "vs_demo_3", "vs_demo_4",
10+
"vs_demo_2_weekly",
11+
"vs_demo_3_weekly",
12+
"vs_demo_4_weekly",
13+
"docking_rescoring_weekly"
1014
],
1115
// NOTE: Most of the workflows in this list have free variables because they are subworkflows
1216
// i.e. if you try to run them, you will get "Missing required input parameter"
@@ -68,5 +72,13 @@
6872
"cwl_watcher_protein",
6973
// Skip vs_demo_4 so we don't accidentally DOS pdbbind.org.cn
7074
"vs_demo_4"
75+
],
76+
// Run computationally intensive stress tests weekly.
77+
// e.g. these workflows should scatter over much larger input arrays.
78+
"run_weekly": [
79+
"vs_demo_2_weekly",
80+
"vs_demo_3_weekly",
81+
"vs_demo_4_weekly",
82+
"docking_rescoring_weekly"
7183
]
7284
}

examples/docking/vs_demo_2_weekly.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- vs_demo_2.yml:
3+
4+
wic:
5+
steps:
6+
(1, vs_demo_2.yml):
7+
wic:
8+
steps:
9+
(3, download_smiles_ligand_db.yml):
10+
in:
11+
max_row: 16 # Override default 1
12+
(8, autodock_vina_filter):
13+
in:
14+
max_num_poses_per_ligand: 2 # Override default 1
15+
max_num_poses_total: 16 # Override default 1

examples/docking/vs_demo_3_weekly.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- vs_demo_3.yml:
3+
4+
wic:
5+
steps:
6+
(1, vs_demo_3.yml):
7+
wic:
8+
steps:
9+
(3, download_smiles_ligand_db.yml):
10+
in:
11+
max_row: 16 # Override default 1
12+
(6, autodock_vina_filter):
13+
in:
14+
max_num_poses_per_ligand: 2 # Override default 1
15+
max_num_poses_total: 16 # Override default 1

examples/docking/vs_demo_4.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ steps:
22
- extract_pdbbind_refined:
33
in:
44
# https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.query.html
5-
# The query() method uses a slightly modified Python syntax by default.
6-
# For example, the & and | (bitwise) operators have the precedence of their
7-
# boolean cousins, and and or. This is syntactically valid Python, however
5+
# The query() method uses a slightly modified Python syntax by default.
6+
# For example, the & and | (bitwise) operators have the precedence of their
7+
# boolean cousins, and and or. This is syntactically valid Python, however
88
# the semantics are different.
9-
query: '(Kd_Ki == "Kd") and (value < 0.000002)'
9+
query: '(Kd_Ki == "Kd") and (value < 0.001)'
1010
max_row: 1 #25 # Use 1 for CI
1111
convert_Kd_dG: 'True'
1212
output_txt_path: '&binding_data.txt'

examples/docking/vs_demo_4_weekly.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- vs_demo_4.yml:
3+
4+
wic:
5+
steps:
6+
(1, vs_demo_4.yml):
7+
wic:
8+
steps:
9+
(1, extract_pdbbind_refined):
10+
in:
11+
max_row: 16 # Override default 1
12+
(6, autodock_vina_filter):
13+
in:
14+
max_num_poses_per_ligand: 2 # Override default 1
15+
max_num_poses_total: 16 # Override default 1

examples/gromacs/npt_gromacs.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ steps:
3131
config:
3232
terms: [Density]
3333
output_xvg_path: 'density.xvg'
34-
- cwl_watcher:
35-
in:
36-
#cachedir_path: /absolute/path/to/cachedir/ (automatically filled in by wic)
37-
file_pattern: '*npt.edr' # This * is a glob wildcard, NOT an explicit edge!
38-
cwl_tool: gmx_energy
39-
max_times: '5'
40-
config:
41-
in:
42-
input_energy_path: npt.edr
43-
config:
44-
terms: [Density]
45-
output_xvg_path: density.xvg
34+
# - cwl_watcher:
35+
# in:
36+
# #cachedir_path: /absolute/path/to/cachedir/ (automatically filled in by wic)
37+
# file_pattern: '*npt.edr' # This * is a glob wildcard, NOT an explicit edge!
38+
# cwl_tool: gmx_energy
39+
# max_times: '5'
40+
# config:
41+
# in:
42+
# input_energy_path: npt.edr
43+
# config:
44+
# terms: [Density]
45+
# output_xvg_path: density.xvg
4646

4747
wic:
4848
graphviz:

examples/gromacs/nvt.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ steps:
3030
output_xvg_path: temperature.xvg
3131
# NOTE: explicit edges are not supported with cwl_watcher, and all filenames
3232
# must be globally unique!
33-
- cwl_watcher:
34-
in:
35-
#cachedir_path: /absolute/path/to/cachedir/ (automatically filled in by wic)
36-
file_pattern: '*nvt.edr' # This * is a glob wildcard, NOT an explicit edge!
37-
cwl_tool: gmx_energy
38-
max_times: '5'
39-
config:
40-
in:
41-
input_energy_path: '*nvt.edr' # This * is automatically removed.
42-
config:
43-
terms: [Temperature]
44-
output_xvg_path: temperature.xvg
33+
# - cwl_watcher:
34+
# in:
35+
# #cachedir_path: /absolute/path/to/cachedir/ (automatically filled in by wic)
36+
# file_pattern: '*nvt.edr' # This * is a glob wildcard, NOT an explicit edge!
37+
# cwl_tool: gmx_energy
38+
# max_times: '5'
39+
# config:
40+
# in:
41+
# input_energy_path: '*nvt.edr' # This * is automatically removed.
42+
# config:
43+
# terms: [Temperature]
44+
# output_xvg_path: temperature.xvg
4545

4646
wic:
4747
graphviz:

examples/gromacs/prod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
output_crd_path: '&prod.gro'
4747
output_trr_path: '&prod.trr' # Explicitly specify for cwl_watcher
4848
output_edr_path: '&prod.edr'
49-
- cwl_watcher_analysis.yml:
49+
# - cwl_watcher_analysis.yml:
5050

5151
wic:
5252
graphviz:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
steps:
2+
- docking_rescoring.yml:
3+
4+
wic:
5+
steps:
6+
(1, docking_rescoring.yml):
7+
wic:
8+
steps:
9+
(1, extract_pdbbind_refined):
10+
in:
11+
max_row: 1000 # Default 500
12+
(2, random_subset_rows):
13+
in:
14+
num_of_samples: 32

0 commit comments

Comments
 (0)