-
Notifications
You must be signed in to change notification settings - Fork 69
Fixes for ATG-VS on Slurm, optional pose check and proximity checks for vina dockings #55
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
base: vfvs-a2i
Are you sure you want to change the base?
Conversation
csecker
commented
Feb 7, 2024
- Added the option to perform plausibility checks for molecule poses generated with vina-based docking programs
- Uses PoseBusters docking pose checks: https://github.com/maabuu/posebusters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments to make it an easier update for users and troubleshooting
tools/templates/vfvs_run.py
Outdated
'output_dir': str(ligand_directory_directory) | ||
'output_dir': str(ligand_directory_directory), | ||
'run_pose_check': int(ctx['main_config']['run_pose_check']), | ||
'pose_check_timeout': int(ctx['main_config']['pose_check_timeout']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If someone uses an old all.ctrl file, this will crash during the run. I'd suggest updating the vfvs_prepare_folders.py to check for empty and set a default (off) if not in the file. Look at line 255 for an example of when sensor_screen_mode was added.
tools/templates/vfvs_run.py
Outdated
else: | ||
return 0 | ||
|
||
print("Pose check with posebusters failed.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do this as logging.error("Pose check...")
# Run pose check | ||
if(posebusters_check(item, sdf_file, pdb_file, item['pose_check_timeout']) != 1): | ||
item['score'] = None | ||
item['status'] = "failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either set the item['log']['reason'] here with why it failed, or do it in the function. It looks like it only gets set in the function currently if it times out
…s, vfvs_get_top_results.py support for slurm, updating README-slurm.md and all.ctrl, setting slurm partition option in default template
Thank you Matt for the feedback! I have now changed the things you suggested. |
…ina-based docking programs, minor fixes
Fixes #59 |