Skip to content

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

Open
wants to merge 9 commits into
base: vfvs-a2i
Choose a base branch
from

Conversation

csecker
Copy link
Contributor

@csecker 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

Copy link
Collaborator

@mjkoop mjkoop left a 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

'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'])
Copy link
Collaborator

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.

else:
return 0

print("Pose check with posebusters failed.")
Copy link
Collaborator

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"
Copy link
Collaborator

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
@csecker
Copy link
Contributor Author

csecker commented Apr 29, 2024

A few comments to make it an easier update for users and troubleshooting

Thank you Matt for the feedback! I have now changed the things you suggested.

@csecker
Copy link
Contributor Author

csecker commented Apr 10, 2025

Fixes #59

@csecker csecker changed the title Optional pose check with posebusters for vina dockings Fixes for ATG-VS on Slurm, optional pose check and proximity checks for vina dockings Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants