Skip to main content

Structure-based Models for Biomolecules using OpenMM

Project description

Citing OpenSMOG PyPI conda-forge ReadTheDocs SMOG server Update GitHub-Stars

Documentation | Install | Tutorials

Overview

OpenSMOG is a Python library for performing molecular dynamics simulations using Structure-Based Models. OpenSMOG uses the OpenMM. Python API, which supports a wide variety of potential energy functions, including those that are commonly employed in C-alpha and all-atom models. While it is possible to use this library in a standalone fashion, it is expected that users will generate input files using the SMOG2 software (version 2.4, or later, with the flag -OpenSMOG). Details on how to generate OpenSMOG-compatible force fields files can be found in the SMOG2 User Manual.

Citation

When using OpenSMOG and SMOG2, please use the following references.

Installation

The OpenSMOG library can be installed via conda or pip, or compiled from source (GitHub).

Install via conda

The code below will install OpenSMOG from conda-forge.

conda install -c conda-forge OpenSMOG

Install via pip

The code below will install OpenSMOG from PyPI.

pip install OpenSMOG

Install OpenMM

The OpenSMOG library uses OpenMM API to run the molecular dynamics simulations. These requirements can be met by installing the following packages from the conda-forge channel:

conda install -c conda-forge openmm

The following are libraries required for installing OpenSMOG:

Installing SMOG2

The inputs OpenSMOG simulations are generated using SMOG2 (version 2.4 and later). Here, there is a quick installation guide based on conda (Linux and Windows-WSL only).

First, download SMOG 2 (v2.4, or later) at smog-server.org

Second, create a new conda environment and activate it (called smog2.4, but name as appropriate):

conda create --name smog2.4 perl
conda activate smog2.4

Next, it is necessary to install a few Perl modules:

conda install -c bioconda perl-xml-simple perl-xml-libxml java-jdk
conda install -c eumetsat perl-pdl
perl -MCPAN -e 'install XML::Validator::Schema'

Add the Perl and smog2 path into the configure.smog2 file (described in the README that comes with SMOG 2).

which perl

Then load and test the smog2 installation:

source configure.smog2
./test-config

As described in the SMOG 2 manual, it is highly recommended that you also download smog-check and run all checks before using the SMOG 2 software.

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

OpenSMOG-1.0.1.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file OpenSMOG-1.0.1.tar.gz.

File metadata

  • Download URL: OpenSMOG-1.0.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for OpenSMOG-1.0.1.tar.gz
Algorithm Hash digest
SHA256 833147548de85861fdb7aa854e45ab4bf515c18ebddb2d42535bda4730ad4694
MD5 7e5702ab1bebfa4baf5e955441ce4571
BLAKE2b-256 6501fedb87f1aefb7ab31bcc6ed8724dee53773111941eb51d4f7132eb9b5035

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page