Coder Social home page Coder Social logo

inniag / openmm-scripts-amoeba Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 3.0 195 KB

:microscope: OpenMM scripts for polarisable molecular dynamics with the AMOEBA force field

License: MIT License

Shell 1.00% Python 95.64% R 3.36%
molecular-dynamics molecular-simulation polarisation ion-channels amoeba

openmm-scripts-amoeba's Introduction

Please cite G. Klesse, S. Rao, S. J. Tucker, and M. S. P. Sansom. "Induced polarization in MD simulations of the 5HT3 receptor channel." Journal of the American Chemical Society, 2020 if you make use of these scripts in your academic work.

OpenMM Scripts for AMOEBA Force Field MD Simulations

This repository provides scripts for running GPU-accelerated molecular dynamics simulations employing the polarisable AMOEBA force field. The code is geared towards the specific use case of simulating ion channels, but should also be useful for other membrane proteins as well as soluble biomolecules. It makes use of the powerful OpenMM and MDAnalysis libraries.

Some interesting features of this code that extend the basic OpenMM functionality include:

  • guessing bonds in nonstandard residues which would overflow the CONECT record index in PDB files, a prerequisite for lipid bilayer simulation
  • converting systems equilibrated in Gromacs to valid OpenMM input and converting OpenMM DCD trajectories to XTC format enabling further analysis with Gromacs' tools
  • lipid parameters for the AMOEBA force field and a script for converting force field parameter files in Tinker's PRM format to the XML format used by OpenMM
  • performing umbrella sampling simulations of ions moving along the permeation pathway of an ion channel with output compatible with the Grossfield lab's WHAM tool
  • job submission scripts for running simulations on SLURM clusters and support for restarting and extending simulations that exceed queuing system time limits

The code is structured into self-contained Python scripts. This is intended to enable easy portability to support the common scientific workflow of preparing simulations on a local workstation, executing them on a remote HPC cluster, and analysing data back on the workstation.

Dependencies

The scripts in this repository depend on both OpenMM and MDAnalysis as well as on a number of underlying packages from the Python scientific stack. These dependencies are most easily installed using conda:

conda env create -f requirements.yml
conda activate openmm-scripts-amoeba

Note that this will install OpenMM version 7.1.1 as used in the JACS paper cited above, which only supports CUDA version 8.0. Newer versions of OpenMM support different CUDA versions and you might want to adapt the requirements.yml file accordingly if you want to use a more recent CUDA version.

Usage

See the different subdirectories of /scripts for instructions on how to use the code.

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.