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

Regarding PMF calculation with error bar (bootsrapping) #17

Open
SoumyaCYZ opened this issue Dec 15, 2024 · 5 comments
Open

Regarding PMF calculation with error bar (bootsrapping) #17

SoumyaCYZ opened this issue Dec 15, 2024 · 5 comments

Comments

@SoumyaCYZ
Copy link

Hope you are fine and doing well. I have performed an umbrella sampling simulation using the center of mass distance (dz) between membrane and peptide. I have pulled the peptide 4.4 nm to 0nm. Windows are nicely overlapped. I have tried to calculate the PMF using the following command--> "wham --min 0.0 --max 4.4 --bins 101 --temperature 310 --file metadata -o pmf.out --bt 100 --seed 1234". Can I fix the bins=101 (the total number of windows=41)? How should we fix the bin, tolerance, iterations, and bt parameters for WHAM? In some PMF calculations, I have seen bins=bt. It will be a great help if you tell me the protocol in detail. Apart from this what is the unit of free energy in the outputfile?

@dnlbauer
Copy link
Owner

Seems like your question is not really related to the tool, but to the method itself. I don't see a problem in setting bins greater than the number of windows. You just have to make sure there are still "enough" samples in each bin if the number of bins > number of windows.

See #16 for the free energy unit.

@SoumyaCYZ
Copy link
Author

Thanks, sir for your suggestion. I have checked all of my COLVAR files. Each window is nicely overlapped. I have a small doubt. When I used 10 or 20 bootstrapping steps (bt) the error was approx +/- 1.5 kJ/mol. But when I increased bt to 200 the error was +/- 0.3 kJ/mol. Is there any correct protocol to choose bt?

@dnlbauer
Copy link
Owner

dnlbauer commented Dec 25, 2024 via email

@SoumyaCYZ
Copy link
Author

Yes sir I observed the same trend. After certain BT steps the errors are not changing. But in Grossfield's code bootstrapping broke because the very high free energies caused underflows on the probability, which in turn ruins the bootstrapping. I think the process involves a large energy barrier, bootstrap is not a good option. So in order to check the convergence we should plot the free energy profiles (for e.g. 0-10, 0-20,0-30, and 0-40 ns) and compare (block averaging).

@dnlbauer
Copy link
Owner

dnlbauer commented Dec 28, 2024 via email

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