Giter Site home page Giter Site logo

anabiman / msr Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 847 KB

Microstate Sparse Reconstruction (MSR): a backmapping method that recovers all-atom structures from reduced/coarse-grained variables

Python 4.36% C++ 71.62% Makefile 0.42% C 23.61%
coarse-grained-molecular-dynamics inverse-problems backmapping

msr's Introduction

Microstate Sparse Reconstruction

Microstate sparse reconstruction (MSR) is a backmapping algorithm that recovers all-atom structures from coarse-grained/reduced variables. MSR uses topological information (connectivity) of a given macromolecule and methods from optimization and inverse theory to rapidly achieve this recovery. The method has also been shown to scale well for much larger systems such as an assembly of proteins.

The schematic below shows how MSR can be used to reconstruct a physically meaningful structure of a strongly perturbed alanine dipeptide.

Authors

Andrew Abi-Mansour and Peter Ortoleva Department of Chemistry, Indiana University, Bloomington

Please consider citing the following paper if your find this code useful in your research:

DOI for Citing MSR

Prerequisites

The 2 core requirements are:

If you want to use the python API, you must install:

Python API

Run make python to compile MSR as a library with a python API. A sample script (swm_example.py) is provided in the examples directory on how to use the python API.

C++ CLI

If you prefer compiling MSR as an executable, simply run make to generate a static executable (MSR.a) with the following CLI:

  • --ref: path to input reference all-atom coordinates
  • --indices: path to input bond/angle indices
  • --lengths: path to input bond/angle lengths
  • --cg: path to input CG coordinates
  • --cgOP: path to the coarse-graining operator (matrix of size natoms x ncg) file
  • [--out]: output filename of recovered all-atom positions
  • [--tol]: tolerance set for the atomic displacement, below which convergence is assumed to be achieved, defaults to 0.1A
  • [--maxiter]: max number of iterations the solver performs before giving up, defaults to 100

Feedback

Email me: andrew [at] gmail [dot] com

msr's People

Contributors

anabiman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ctcnano

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.