Skip to content
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

Add tool to extract equilibrium pose from simulations #1135

Open
JenkeScheen opened this issue Dec 15, 2022 · 4 comments
Open

Add tool to extract equilibrium pose from simulations #1135

JenkeScheen opened this issue Dec 15, 2022 · 4 comments

Comments

@JenkeScheen
Copy link

It would be super useful for debugging and explaining perses ddG predictions if we would be able to write ligand poses that represent equilibrium during the simulations. This could e.g. be in the form of a PDB snapshot every n steps, where n is a user-set flag?

@ijpulidos
Copy link
Contributor

@JenkeScheen Thanks for opening the issue!

Just trying to clearly understand this. We are currently working on a streamlined way of extracting the trajectories from the simulation results (.nc files). I guess we could make it in a way that we extract every n steps and also initializing it after we have detected equilibration or something like that. Would this satisfy your requirements?

@JenkeScheen
Copy link
Author

Thanks @ijpulidos, it would. The use-case here is that when I present FE predictions to chemists that are trying to explore a sub-pocket with a ligand series they want to be able to do some sort of qualitative assessment that the R groups they came up with are hanging out in the intended areas (and that the ligand isn't just jumping out of the pocket, of course). A collection of snapshots (preferably at ~ equilibrium) would allow that assessment.

Ultimately we would want to be able to automate generation of a GIF showing a simulation of the ligand in the pocket but snapshots are a great starting point!

@jchodera jchodera self-assigned this Dec 19, 2022
@jchodera jchodera changed the title add tool to extract equilibrium pose from simulations Add tool to extract equilibrium pose from simulations Dec 19, 2022
@jchodera
Copy link
Member

I'll plan to implement both a CLI and Python API to extract equilibrium snapshots of both initial and final molecules.

For a CLI, how does this look as a first attempt?

perses extract-snapshots --nsnapshots 10 --initial initial.pdb --final final.pdb

Ultimately we would want to be able to automate generation of a GIF showing a simulation of the ligand in the pocket but snapshots are a great starting point!

For the record, this is a nice thing to have, but it will never be as useful as being able to interactively inspect the structure (e.g. in fragalysis). But I can see utility if we can generate both the GIF of 3D interactions and a 2D interaction diagram and push this to the real-time dashboard.

@JenkeScheen
Copy link
Author

For a CLI, how does this look as a first attempt?

Input:

  1. Are .pdb files enough as input or do we need to inject e.g. .nc as well?

Output:

  1. Perhaps an --out flag to allow custom out names?
  2. Would the output be a multi-pdb of nshapshots snapshots of the PL complex?
  3. It could be valuable to generate a large number (10-100) of ligand poses, perhaps as a multi-sdf?

For the record, this is a nice thing to have, but it will never be as useful as being able to interactively inspect [..]

Agreed, interactive is king. Although, beside being a decent placeholder until we can upload this type of visualisation to e.g. fragalysis, GIFs are nice because they can be easily embedded in slidedecks without weighing them down too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants