-
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.
[LAB-470] 442 tool author attribution to iojson (#599)
Co-authored-by: Aakaash Meduri <aakaash.meduri@gmail.com>
- Loading branch information
1 parent
4604cce
commit a6fc994
Showing
20 changed files
with
180 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
{ | ||
"class": "CommandLineTool", | ||
"name": "equibind", | ||
"description": "Docking of small molecules to a protein", | ||
"baseCommand": ["/bin/bash", "-c"], | ||
"arguments": [ | ||
"python main.py --protein $(inputs.protein.filepath) --small_molecule_library $(inputs.small_molecule.filepath);", | ||
"mv /outputs/ligands_predicted.sdf /outputs/$(inputs.protein.basename)_$(inputs.small_molecule.basename)_docked.$(inputs.small_molecule.ext);", | ||
"cp $(inputs.protein.filepath) /outputs/;", | ||
"rmdir /outputs/dummy;" | ||
], | ||
"dockerPull": "ghcr.io/labdao/equibind@sha256:ae2cec63b3924774727ed1c6c8af95cf4aaea2d3f0c5acbec56478505ccb2b07", | ||
"gpuBool": false, | ||
"networkBool": false, | ||
"inputs": { | ||
"protein": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.pdb"] | ||
}, | ||
"small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.sdf", "*.mol2"] | ||
} | ||
"class": "CommandLineTool", | ||
"name": "equibind", | ||
"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/* /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"] | ||
}, | ||
"outputs": { | ||
"best_docked_small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*_docked.sdf"] | ||
}, | ||
"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"] | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,63 +1,64 @@ | ||
{ | ||
"class": "CommandLineTool", | ||
"name": "diffdock", | ||
"description": "Docking of small molecules to a protein", | ||
"baseCommand": ["/bin/bash", "-c"], | ||
"arguments": [ | ||
"python datasets/esm_embedding_preparation.py --protein_path $(inputs.protein.filepath) --out_file /outputs/prepared_for_esm.fasta;", | ||
"HOME=esm/model_weights python esm/scripts/extract.py esm2_t33_650M_UR50D /outputs/prepared_for_esm.fasta /outputs/esm2_output --repr_layers $(inputs.repr_layers.default) --include per_tok && cp -r /outputs/esm2_output data/esm2_output;", | ||
"python -m inference --protein_path $(inputs.protein.filepath) --ligand $(inputs.small_molecule.filepath) --out_dir /outputs --inference_steps $(inputs.inference_steps.default) --samples_per_complex $(inputs.samples_per_complex.default) --batch_size $(inputs.batch_size.default) --actual_steps $(inputs.actual_steps.default) --no_final_step_noise;", | ||
"cp $(inputs.protein.filepath) /outputs" | ||
], | ||
"dockerPull": "ghcr.io/labdao/diffdock:main@sha256:b00432de73478d3da578e4a16ee669178828109f3c7bf9c58d44bb7514f68629", | ||
"gpuBool": true, | ||
"networkBool": true, | ||
"memoryGB": 12, | ||
"inputs": { | ||
"protein": { | ||
"type": "File", | ||
"glob": ["*.pdb"] | ||
}, | ||
"small_molecule": { | ||
"type": "File", | ||
"glob": ["*.sdf", "*.mol2"] | ||
}, | ||
"repr_layers": { | ||
"type": "int", | ||
"default": "33" | ||
}, | ||
"inference_steps": { | ||
"type": "int", | ||
"default": "20" | ||
}, | ||
"samples_per_complex": { | ||
"type": "int", | ||
"default": "40" | ||
}, | ||
"batch_size": { | ||
"type": "int", | ||
"default": "10" | ||
}, | ||
"actual_steps": { | ||
"type": "int", | ||
"default": "18" | ||
} | ||
}, | ||
"outputs": { | ||
"best_docked_small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["index*/rank1.sdf"] | ||
}, | ||
"all_docked_small_molecules": { | ||
"type": "Array", | ||
"item": "File", | ||
"glob": ["index*/rank*.sdf"] | ||
}, | ||
"protein": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.pdb"] | ||
} | ||
"class": "CommandLineTool", | ||
"name": "diffdock", | ||
"description": "Docking of small molecules to a protein", | ||
"author": "@misc{corso2023diffdock,\n title={DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking},\n author={Gabriele Corso and Hannes Stärk and Bowen Jing and Regina Barzilay and Tommi Jaakkola},\n year={2023},\n eprint={2210.01776},\n archivePrefix={arXiv},\n primaryClass={q-bio.BM}\n}", | ||
"baseCommand": ["/bin/bash", "-c"], | ||
"arguments": [ | ||
"python datasets/esm_embedding_preparation.py --protein_path $(inputs.protein.filepath) --out_file /outputs/prepared_for_esm.fasta;", | ||
"HOME=esm/model_weights python esm/scripts/extract.py esm2_t33_650M_UR50D /outputs/prepared_for_esm.fasta /outputs/esm2_output --repr_layers $(inputs.repr_layers.default) --include per_tok && cp -r /outputs/esm2_output data/esm2_output;", | ||
"python -m inference --protein_path $(inputs.protein.filepath) --ligand $(inputs.small_molecule.filepath) --out_dir /outputs --inference_steps $(inputs.inference_steps.default) --samples_per_complex $(inputs.samples_per_complex.default) --batch_size $(inputs.batch_size.default) --actual_steps $(inputs.actual_steps.default) --no_final_step_noise;", | ||
"cp $(inputs.protein.filepath) /outputs" | ||
], | ||
"dockerPull": "ghcr.io/labdao/diffdock:main@sha256:b00432de73478d3da578e4a16ee669178828109f3c7bf9c58d44bb7514f68629", | ||
"gpuBool": true, | ||
"networkBool": true, | ||
"memoryGB": 12, | ||
"inputs": { | ||
"protein": { | ||
"type": "File", | ||
"glob": ["*.pdb"] | ||
}, | ||
"small_molecule": { | ||
"type": "File", | ||
"glob": ["*.sdf", "*.mol2"] | ||
}, | ||
"repr_layers": { | ||
"type": "int", | ||
"default": "33" | ||
}, | ||
"inference_steps": { | ||
"type": "int", | ||
"default": "20" | ||
}, | ||
"samples_per_complex": { | ||
"type": "int", | ||
"default": "40" | ||
}, | ||
"batch_size": { | ||
"type": "int", | ||
"default": "10" | ||
}, | ||
"actual_steps": { | ||
"type": "int", | ||
"default": "18" | ||
} | ||
}, | ||
"outputs": { | ||
"best_docked_small_molecule": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["index*/rank1.sdf"] | ||
}, | ||
"all_docked_small_molecules": { | ||
"type": "Array", | ||
"item": "File", | ||
"glob": ["index*/rank*.sdf"] | ||
}, | ||
"protein": { | ||
"type": "File", | ||
"item": "", | ||
"glob": ["*.pdb"] | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.