Skip to content

Commit cbdfdb6

Browse files
Brandon Duane WalkerBrandon Duane Walker
authored andcommitted
files for comparing topology workflow
1 parent 37e7144 commit cbdfdb6

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

cwl_adapters/extract_ligand_protein.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ $namespaces:
8282
edam: https://edamontology.org/
8383

8484
$schemas:
85-
- https://raw.githubusercontent.com/edamontology/edamontology/master/EDAM_dev.owl
85+
- https://raw.githubusercontent.com/edamontology/edamontology/master/EDAM_dev.owl
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
steps:
2+
- id: extract_pdbbind_refined
3+
in:
4+
# 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
8+
# the semantics are different.
9+
query: !ii '(Kd_Ki == "Kd") and (value < 0.2)'
10+
max_row: !ii 1000 #25 # Use 1 for CI
11+
convert_Kd_dG: !ii True
12+
output_txt_path: !ii binding_data.txt
13+
out:
14+
- output_txt_path: !& binding_data.txt
15+
- output_pdb_paths: !& pdbbind_pdbs
16+
- output_sdf_paths: !& pdbbind_sdfs
17+
- experimental_dGs: !& exp_dGs
18+
- pdb_ids: !& pdbids
19+
20+
- id: extract_protein
21+
scatter: [input_pdb_path]
22+
in:
23+
input_pdb_path: !* pdbbind_pdbs
24+
output_pdb_path: !ii pdbbind_protein_openmm.pdb
25+
out:
26+
- output_pdb_path: !& pdbbind_protein_openmm.pdb
27+
28+
- id: extract_ligand_protein
29+
scatter: [input_pdb_path]
30+
in:
31+
input_pdb_path: !* pdbbind_pdbs
32+
output_pdb_path: !ii pdbbind_protein_mdanalysis.pdb
33+
out:
34+
- output_pdb_path: !& pdbbind_protein_mdanalysis.pdb
35+
36+
- id: topology_check
37+
scatter: [file1,file2]
38+
scatterMethod: dotproduct
39+
in:
40+
file1: !* pdbbind_protein_openmm.pdb
41+
file2: !* pdbbind_protein_mdanalysis.pdb
42+
topology_changed: !ii test_valid
43+
out:
44+
- topology_changed: !& test_valid
45+
46+
# - count_results:
47+
# in:
48+
# ids: !* pdbids
49+
# results: !* test_valid

0 commit comments

Comments
 (0)