-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
707 lab 680 update gateway to read bacalhau job state from appropriat…
…e state value (#708)
- Loading branch information
1 parent
2e5dec7
commit b42e187
Showing
7 changed files
with
62 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"class": "CommandLineTool", | ||
"name": "equibind gatway", | ||
"description": "Docking of small molecules to a protein", | ||
"author": "@misc{stärk2022equibind,\n title={EquiBind: Geometric Deep Learning for Drug Binding Structure Prediction}, \n author={Hannes Stärk and Octavian-Eugen Ganea and Lagnajit Pattanaik and Regina Barzilay and Tommi Jaakkola},\n year={2022},\n eprint={2202.05146},\n archivePrefix={arXiv},\n primaryClass={q-bio.BM}\n}", | ||
"baseCommand": ["/bin/bash", "-c"], | ||
"arguments": [ | ||
"mkdir -p /tmp-inputs/tmp;", | ||
"mkdir -p /tmp-outputs/tmp;", | ||
"cp /inputs/protein/* /tmp-inputs/tmp/;", | ||
"cp /inputs/small_molecule/* /tmp-inputs/tmp/;", | ||
"ls /tmp-inputs/tmp;", | ||
"cd /src && python /src/inference.py --config=/src/configs_clean/bacalhau.yml;", | ||
"mv /tmp-outputs/tmp/* /outputs/;", | ||
"mv /outputs/lig_equibind_corrected.sdf /outputs/$(inputs.protein.basename)_$(inputs.small_molecule.basename)_docked.$(inputs.small_molecule.ext);", | ||
"mv /tmp-inputs/tmp/*.pdb /outputs/;" | ||
], | ||
"dockerPull": "ghcr.io/labdao/equibind:main@sha256:21a381d9ab1ff047565685044569c8536a55e489c9531326498b28d6b3cc244f", | ||
"gpuBool": false, | ||
"networkBool": false, | ||
"inputs": { | ||
"protein": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.pdb"] | ||
}, | ||
"small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.sdf", "*.mol2"] | ||
} | ||
}, | ||
"outputs": { | ||
"best_docked_small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*_docked.sdf", "*_docked.mol2"] | ||
}, | ||
"protein": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.pdb"] | ||
} | ||
} | ||
} |