All Projects → bio-phys → Pydhamed

bio-phys / Pydhamed

Licence: bsd-3-clause
Dynamic Histogram Analysis To Determine Free Energies and Rates from Biased Simulations

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pydhamed

Gromacswrapper
GromacsWrapper is a python package that wraps system calls to Gromacs tools into thin classes. This allows for fairly seamless integration of the gromacs tools (v4.6.x, v5.x, 2016.x, 2018.x, 2019.x, all with the same Python code) into python scripts.
Stars: ✭ 108 (+535.29%)
Mutual labels:  science, molecular-dynamics
Design Of Experiment Python
Design-of-experiment (DOE) generator for science, engineering, and statistics
Stars: ✭ 143 (+741.18%)
Mutual labels:  jupyter-notebook, science
Freud
Powerful, efficient particle trajectory analysis in scientific Python.
Stars: ✭ 118 (+594.12%)
Mutual labels:  science, molecular-dynamics
Alchemlyb
the simple alchemistry library
Stars: ✭ 52 (+205.88%)
Mutual labels:  science, molecular-dynamics
Astropy Tutorials
Tutorials for the Astropy Project
Stars: ✭ 174 (+923.53%)
Mutual labels:  jupyter-notebook, science
Gdynet
Unsupervised learning of atomic scale dynamics from molecular dynamics.
Stars: ✭ 37 (+117.65%)
Mutual labels:  jupyter-notebook, molecular-dynamics
Openff Toolkit
The Open Forcefield Toolkit provides implementations of the SMIRNOFF format, parameterization engine, and other tools. Documentation available at http://open-forcefield-toolkit.readthedocs.io
Stars: ✭ 138 (+711.76%)
Mutual labels:  jupyter-notebook, molecular-dynamics
Vde
Variational Autoencoder for Dimensionality Reduction of Time-Series
Stars: ✭ 148 (+770.59%)
Mutual labels:  jupyter-notebook, molecular-dynamics
Awesome Python Applications
💿 Free software that works great, and also happens to be open-source Python.
Stars: ✭ 13,275 (+77988.24%)
Mutual labels:  jupyter-notebook, science
Pyiron
pyiron - an integrated development environment (IDE) for computational materials science.
Stars: ✭ 153 (+800%)
Mutual labels:  jupyter-notebook, molecular-dynamics
Sklearn Classification
Data Science Notebook on a Classification Task, using sklearn and Tensorflow.
Stars: ✭ 518 (+2947.06%)
Mutual labels:  jupyter-notebook, science
senpai
Molecular dynamics simulation software
Stars: ✭ 124 (+629.41%)
Mutual labels:  science, molecular-dynamics
Mdanalysis
MDAnalysis is a Python library to analyze molecular dynamics trajectories.
Stars: ✭ 589 (+3364.71%)
Mutual labels:  science, molecular-dynamics
Protobuf Uml Diagram
Create UML diagrams from Protobuf compiled .proto files using Python
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Batch Scoring For Dl Models
Batch Scoring For Deep Learning Models
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Nlp Exercises
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Ihearit
Prototype of World's Most Economic and Intelligent Hearing Aid System
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Text Summarization
Extractive vs. Abstractive Text Summarization Methods
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Tensorrider self driving car
基于BP神经网络的自动驾驶模型车。包含收集数据、控制模型生成与在线/离线自动运行所需的程序。
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook
Ccl2019 Chinese Humor Computation
CCL2019,“小牛杯”中文幽默计算任务的数据集及baseline
Stars: ✭ 17 (+0%)
Mutual labels:  jupyter-notebook

======== 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].