https://github.com/bio-phys/pydhamed
Dynamic Histogram Analysis To Determine Free Energies and Rates from Biased Simulations
Science Score: 33.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: acs.org -
✓Committers with academic emails
2 of 4 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.4%) to scientific vocabulary
Keywords
free-energies
free-energy
kinetic-modeling
kinetics
md-simulations
molecular-dynamics
python
science
Last synced: 6 months ago
·
JSON representation
Repository
Dynamic Histogram Analysis To Determine Free Energies and Rates from Biased Simulations
Basic Info
Statistics
- Stars: 19
- Watchers: 4
- Forks: 7
- Open Issues: 7
- Releases: 0
Topics
free-energies
free-energy
kinetic-modeling
kinetics
md-simulations
molecular-dynamics
python
science
Created over 8 years ago
· Last pushed almost 8 years ago
Metadata Files
Readme
License
README.rst
========
PyDHAMed
========
.. image:: https://travis-ci.org/bio-phys/PyDHAMed.svg?branch=master
:target: https://travis-ci.org/bio-phys/PyDHAMed
.. image:: https://mybinder.org/badge.svg
:target: https://mybinder.org/v2/gh/bio-phys/PyDHAMed/master
DHAMed -Dynamic Histogram Analysis extended to detailed balance
===============================================================
Input are transition counts between states/bins and biases (if any).
Biases specify the differences in the potential energy functions in the different
simulation windows/runs.
To run DHAMed from a list of count matrices and an array specfying the
biases in each simulation (window) is required.
To see how DHAMed can be used to extract free energies from biased simulations
look at the example Jupyter notebook provided.
https://github.com/bio-phys/PyDHAMed/blob/master/pydhamed/cg-rna/cg_RNA_duplex_formation.ipynb
Installation
============
To install PyDHAMed clone or download the repository
.. code:: python
git clone https://github.com/bio-phys/PyDHAMed.git
cd PyDHAMed
Then install the dowloaded repository with pip:
.. code:: python
pip install .
PyDHAMed is now ready for use.
Inputs
======
The list of the individual count matrices C contain the transition counts
between the different states (or bins in umbrella sampling). C[i,j] where
i is the product state and j the reactent state. The first row contains
thus all the transitions into state 0.The first column C[:,0] all
transition out of state 0.
The bias array contains a bias value for each state and for each simulation
(or window in umbrella sampling). The bias array has the shape N rows nwin
columns and contains the bias acting on each state in each simulation (window).
The bias NEEDS to be given in units to kB_T.
Most parameters besides count_list and bias_ar are only relevant for testing
and further code developement.
To run DHAMed
=============
.. code:: python
# import DHAMed functions
from pydhamed.optimize_dhamed import *
from pydhamed.determine_transition_counts import count_matrix
# determine transition counts for each trajectory
# Each frame in a trajectory needs to be assigned to one of the the n states
# of the system
for traj in traj_list:
count_list.append(count_matrix(traj, n_states=n))
# Bias - need to specfiy the bias acting on each of the n states in the nwin simulation.
bias_ar = np.zeros((n, nwin))
for i in range(n)
bias_ar[i,:] = np.loadtxt("bias"+i)
# run optimization
og = run_dhamed(count_list, bias_ar)
DHAMed examples
===============
Two example calculations are provided in the pydhamed folder.
Ion channel permeation:
-----------------------
Umbrella sampling simulations of ion permeation through a channel. Data from all-atom simulations are analyzed in this example Jupyter notebook. https://github.com/bio-phys/PyDHAMed/blob/master/pydhamed/glic-ion-channel/glic_ion_channel_permeation.ipynb
RNA duplex formation:
---------------------
Umbrella sampling simulations of RNA duplex formation using a coarse-grained model
https://github.com/bio-phys/PyDHAMed/blob/master/pydhamed/cg-rna/cg_RNA_duplex_formation.ipynb
References
==========
Dynamic Histogram Analysis To Determine Free Energies and Rates from biased
Simulations, L. S. Stelzl, A. Kells, E. Rosta, G. Hummer, J. Chem. Theory Comput.,
2017, http://pubs.acs.org/doi/abs/10.1021/acs.jctc.7b00373
Owner
- Name: bio-phys
- Login: bio-phys
- Kind: organization
- Repositories: 14
- Profile: https://github.com/bio-phys
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| lukas-stelzl | l****l | 31 |
| Lukas Stelzl | l****l@b****e | 14 |
| Max Linke | m****e@g****e | 12 |
| lustelzl | l****t@b****e | 8 |
Committer Domains (Top 20 + Academic)
biophys.mpg.de: 2
gmx.de: 1
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 10
- Total pull requests: 4
- Average time to close issues: about 1 month
- Average time to close pull requests: 13 minutes
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 7.4
- Average comments per pull request: 1.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lukas-stelzl (7)
- andt88 (2)
- Cal-JWRW (1)
Pull Request Authors
- kain88-de (3)
- lukas-stelzl (1)
Top Labels
Issue Labels
enhancement (3)
bug (1)