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

How to test convergence of ABF simlation #16

Open
sathishdasari opened this issue Jun 24, 2019 · 3 comments
Open

How to test convergence of ABF simlation #16

sathishdasari opened this issue Jun 24, 2019 · 3 comments

Comments

@sathishdasari
Copy link

Hi,
I am running an Adaptive Biasing Force (ABF) simulation of alanine dipeptide in water with two walkers. I can plot the final free energy profile after simulation is over but I do not know how to test the convergence of the ABF method with simulation time. Is there any command or code available like in plumed software where you can plot the free energy difference between two minima.

Thanks

@mquevill
Copy link
Collaborator

The "output_frequency" parameter sets how often a histogram is output from SSAGES. While we do not necessarily have a feature to determine convergence automatically, it should be relatively easy to script something to determine convergence based on the outputs from ABF over time.

@sathishdasari
Copy link
Author

Hello Sir,
In continuation of the previous question, If I want to plot a free energy profile at different time intervals how can I do that? Suppose I ran a 250 ns total simulation time and I want to plot free energy profile at time intervals of each 50 ns like 50 ns, 100 ns, 150 ns, 200 ns.

@mquevill
Copy link
Collaborator

A simple way of performing this would be to run successive 50 ns simulations. Make sure that the restart: True flag is turned on (in JSON) to continue the ABF from where it left off. As long as you use different filenames (by setting "output_file", "Nworld_output_file", and"Fworld_output_file"), you should be able to get the successive analysis that you are wanting.

If you wanted to be able to do this programmatically, you could modify the ABF::WriteData() function. This is not a functionality that is currently in ABF, but it could be a future enhancement of the method.

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

No branches or pull requests

2 participants