Coder Social home page Coder Social logo

openmm_workflow's Introduction

openmm_workflow

Here you will find a conda environment which forms a workflow for running common molecular dynamics tasks in openmm. To install perform the following:

  1. Clone this repository and cd to it

    git clone [email protected]:miro-astore/openmm_workflow

    cd openmm_workflow

  • (optional) if you are on a HPC or you use modules it is recomended you make sure you load CUDA such as using module load cuda
  1. Install dependencies and this environment using conda.

    conda env create -f environment.yml

To perform an unbiased molecular dynamics in a slurm environment do the following.

  1. Copy the necessary .inp files.

cp openmm_workflow/min_relax.inp .

cp openmm_workflow/unbiased_production.inp .

  • (optional) edit these files to reflect your desired minimisation, equilibration and unbiased molecular dynamics protocols.
  1. Copy the necessary .slurm files if you are in a slurm environment. It is recquired that you edit these scripts to reflect your hpc and python environments. The scripts included here only serve as examples.

cp openmm_workflow/min_relax_equil.slurm .

cp openmm_workflow/unbiased_production.slurm .

  1. Submit the minimisation and relaxation script which will start the workflow.

sbatch min_relax_equil.slurm

Openmm is extremely flexible, further customisation to the molecular dynamics protocols used in this package can be added by copying the base scripts like unbiased.py and umbrella.py in the src directory of this package.
They can then be run in the following way after modification.

python customised_openmm_script.py -ff forcefield -i custom_inputs.inp 

To add further inputs to the molecular dynamics environment through the .inp interface, any extra parameters need to be reflected by a change in src/openmm_workflow/utilities/omm_readinputs.py.

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.