-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update main branch #215
Merged
Merged
Update main branch #215
Conversation
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
Add docking_pdb_path parameter to best_result function to avoid hard-coding file paths Modify snps.py to pass in receptor and ligand of interest through endpoint Change naming conventions to not include the date, and only run hex if the protein-ligand pair has not been run before Add a block in docking_utils.py to search for the receptor and ligand indicated by endpoints
The following classes were added: Receptor, MonomerReceptor, ComplexReceptor, Ligand, Docking, MonomerDocking, ComplexDocking, and Docker. __init__ methods were added for each class. Methods for creating receptor, ligand and docking objects were written in Docker class. Hex_docking function was written for Docking class, which is inherited by MonomerDocking and ComplexDocking.
Add a controller class called Docker, which creates instances of other classes for docking.
Receptors with more than 1000 residues will have pdb files where there is no space between columns 4 and 5. For example, it can look like this: A1000, whereas for earlier residues, it looks like this: A 345. A regex check is added to see which lines need to be further processed to separate and extract the residue number.
Files for testing include 1 small monomer receptor pdb, 1 small complex receptor pdb, 1 ligand sdf file and the hex results and outputs for these dockings. The complex receptor file was altered to create a small complex receptor, so it does not actually exist. The results for the dockings are stored in folders just as they would be in the /DATA/HEX_API/RESULTS folder.
Reformat output json to include path to results file and the date the docking was performed
Change json results when receptor or ligand not found
Module for receptor-ligand docking
Refactoring Dien code
Updated dependancies, etc
Working on documentation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update main branch