Giter Site home page Giter Site logo

tutorial_hmm's Introduction

Hands-on tutorial on Data-assimilation with Markov state model and hidden Markov modeling

This repository is a set of Jupyter notebooks to help researchers already familiar with MD simulations lean how to integrate MD and experimental data with Markov state models (MSM) and hidden Markov modeling (HMM).

Getting started

This is a hands-on tutorial and uses Jupyter notebook for illustrating live codes for computing MSM and HMM. So, you need to install Jupyter in your machine. In the case of MacOS, you can install it from python's package system:

$ pip3 install jupyterlab

# If the above didn't wok, some options may be required, such as
$ pip3 install jupyterlab --user

# Or superuser priviledges may be required
$ sudo pip3 install jupyterlab

Also, we use our in-house Julia package MDToolbox.jl for using functions related to MSM and HMM. You need to download and install Julia from the Julia website, or in the case MacOS, you can install via Homebrew:

$ brew install julia

After installing Julia, required packages can be installed as follows,

$ julia -e 'using Pkg; Pkg.add(["PyPlot", "JLD2", "IJulia"])'
$ julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/matsunagalab/MDToolbox.jl.git", rev="master"))'
$ julia -e 'using IJulia'

# If you already install an older version of MDToolbox, please update it by
$ julia -e 'using Pkg; Pkg.update("MDToolbox")'

Finally, let's download this repository from GitHub:

$ git clone https://github.com/matsunagalab/hmm_tutorials.git
$ cd hmm_tutorials/

# Or if you already downloaded older versions of the tutorial files, please update them by
$ cd hmm_tutorials/
$ git fetch origin main
$ git reset --hard origin/main

You are all set now. Let's start the tutorial by starting Jupyter Lab:

$ jupyter-lab

Tutorial notebooks

References

  • Matsunaga and Sugita, JCP 2018
  • Matsunaga and Sugita, eLife 2018
  • Matsunaga and Sugita, Curr. Opin. Struct. Biol. 2020

tutorial_hmm's People

Contributors

ymatsunaga avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.