-
Notifications
You must be signed in to change notification settings - Fork 19
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
[TUTORIAL] FEP with perturbation network #193
Comments
Linking this thread with my working repo. |
I have done some work around this a while ago. Do you intend to submit this for a live comms tutorial paper as well as a general use tutorial? I can dig out the stuff I have done for this already if helpful. |
Hi @ppxasjsm yes it would be great if you can help. It would be good to update https://github.com/michellab/freenrgworkflows . I would like to implement an alternative free energy estimation method that avoids the reference compound dependency on final relative free energies. I'm thinking to adopt the Weighted least squares approach used by Mark at Cresset. |
Hi @ppxasjsm if you've done any work on LOMAP network generation to show within a notebook that would be very helpful! It's starting to look like the LOMAP build I currently have is unable to draw a decent-looking network to show in an ipynb. see https://github.com/michellab/bss_fep_advanced_tut_bg/blob/main/fep_workflow_ros1.ipynb for the default graph (uses pygraphviz) |
Yes happy to help with this! It’s been on my would like to do list for ages! |
I'm just going to build a networkx function that takes the edges text file written by LOMAP and creates a simple neato graph while loading molecule images and LOMAP scores to display on edges.. @ppxasjsm if you have code that does something similar I'd be happy to work from there |
That is a one liner in networkx though right? |
the graph generation yes, getting to the line requires some more work (rdkit to load molecules, draw images correctly + save, etc) |
update: It was a bit painful to get LOMAP and networkx to work mostly because of versioning. Feel free to use the env.yml to spare yourself to trouble if you're trying to reproduce the outputs. The LOMAP scripts can be found in Next would be using freenrgworkflows to get dGbind barplots with an optinal weighted least squares method. @jmichel80 @lohedges would this implementation be useful to have before our next meeting, or do we have enough to discuss for the time being? |
Hi @JenkeScheen great progress ! For the FEP analysis stage can you put together a notebook using current functionality in freenrgworkflows ? We will revisit later the exact approach used to estimate free energies once the code is in place. |
I have now added a draft slurm submission script (of course the BSS functionality of loading a SOMD environment still has to be added for this) the main setup notebook as well as the command to run freenrgworkflows on the output. I decided to adjust the freenrgworkflows-generated notebook a bit so that the user has a bit more freedom in the plotting which in the end is just basic python. At some point we'll have to decide on how we want to do make the analysis notebook connect to simulation outputs (i.e. could do the ipynb generator that @ppxasjsm has used, or could just work with a template notebook where users adjust paths) |
note that this workflow doesn't have .Solvation() steps yet but that should be easy to implement at a later stage; the only bottleneck there is deciding on how we can make vacuum jobs run on CPU (if that is something we want) |
This is a thread to discuss the creation of a tutorial showing how to implement free-energy perturbation using a network, e.g. generated by LOMAP, within BioSimSpace.
The text was updated successfully, but these errors were encountered: