All Projects → mosdef-hub → mbuild

mosdef-hub / mbuild

Licence: other
A hierarchical, component based molecule builder

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to mbuild

AdaptivePELE
AdaptivePELE is a Python package aimed at enhancing the sampling of molecular simulations
Stars: ✭ 14 (-88.24%)
Mutual labels:  molecular-dynamics, molecular-simulation
physical validation
Physical validation of molecular simulations
Stars: ✭ 37 (-68.91%)
Mutual labels:  molecular-dynamics, molecular-simulation
foyer
A package for atom-typing as well as applying and disseminating forcefields
Stars: ✭ 78 (-34.45%)
Mutual labels:  molecular-dynamics, molecular-simulation
fahbench
Folding@home GPU benchmark
Stars: ✭ 32 (-73.11%)
Mutual labels:  molecular-dynamics
openmm-tutorials
Quickstart Python tutorials helping molecular dynamics practitioners get up to speed with OpenMM
Stars: ✭ 37 (-68.91%)
Mutual labels:  molecular-dynamics
enspara
Modeling molecular ensembles with scalable data structures and parallel computing
Stars: ✭ 28 (-76.47%)
Mutual labels:  molecular-dynamics
NNPOps
High-performance operations for neural network potentials
Stars: ✭ 48 (-59.66%)
Mutual labels:  molecular-dynamics
Pyemma
🚂 Python API for Emma's Markov Model Algorithms 🚂
Stars: ✭ 200 (+68.07%)
Mutual labels:  molecular-dynamics
QCxMS
Quantum mechanic mass spectrometry calculation program
Stars: ✭ 25 (-78.99%)
Mutual labels:  molecular-dynamics
wepy
Weighted Ensemble simulation framework in Python
Stars: ✭ 38 (-68.07%)
Mutual labels:  molecular-dynamics
calphy
A Python library and command line interface for automated free energy calculations
Stars: ✭ 28 (-76.47%)
Mutual labels:  molecular-dynamics
fftool
Tool to build force field input files for molecular simulation.
Stars: ✭ 84 (-29.41%)
Mutual labels:  molecular-dynamics
packmol
Packmol - Initial configurations for molecular dynamics simulations
Stars: ✭ 118 (-0.84%)
Mutual labels:  molecular-dynamics
awesome-molecular-dynamics
😎 A curated list of awesome Molecular Dynamics libraries, tools and software.
Stars: ✭ 76 (-36.13%)
Mutual labels:  molecular-dynamics
mdgrad
Pytorch differentiable molecular dynamics
Stars: ✭ 127 (+6.72%)
Mutual labels:  molecular-dynamics
Tensormol
Tensorflow + Molecules = TensorMol
Stars: ✭ 226 (+89.92%)
Mutual labels:  molecular-dynamics
LifeBrush
A toolkit for painting agent-based mesoscale molecular simulations and illustrations.
Stars: ✭ 38 (-68.07%)
Mutual labels:  molecular-simulation
nequip
NequIP is a code for building E(3)-equivariant interatomic potentials
Stars: ✭ 312 (+162.18%)
Mutual labels:  molecular-dynamics
CellListMap.jl
Flexible implementation of cell lists to map the calculations of particle-pair dependent functions, such as forces, energies, neighbour lists, etc.
Stars: ✭ 62 (-47.9%)
Mutual labels:  molecular-dynamics
contact map
Contact map analysis for biomolecules; based on MDTraj
Stars: ✭ 27 (-77.31%)
Mutual labels:  molecular-dynamics

mBuild: a hierarchical, component based molecule builder

Gitter chat CI Anaconda Badge codecov

With just a few lines of mBuild code, you can assemble reusable components into complex molecular systems for molecular dynamics simulations.

  • mBuild is designed to minimize or even eliminate the need to explicitly translate and orient components when building systems: you simply tell it to connect two pieces!
  • mBuild keeps track of the system's topology so you don't have to worry about manually defining bonds when constructing chemically bonded structures from smaller components.

To learn more, get started or contribute, check out our website.

mBuild within the MoSDeF Ecosystem

mBuild within the MoSDeF Ecosystem

The mBuild package is part of the Molecular Simulation Design Framework (MoSDeF) project. Libraries in the MoSDeF ecosystem are designed to provide utilities neccessary to streamline a researcher's simulation workflow. When setting up simulation studies, we also recommend users to follow the TRUE (Transparent, Reproducible, Usable-by-others, and Extensible) standard, which is a set of common practices meant to improve the reproducibility of computational simulation research.

Quick Start with Docker

To use mbuild in a jupyter-notebook that runs from a docker container with all the dependencies installed use the following command:

$ docker pull mosdef/mbuild:latest
$ docker run -it --name mbuild -p 8888:8888 mosdef/mbuild:latest su anaconda -s\
      /bin/sh -l -c "jupyter-notebook --no-browser --ip="0.0.0.0" --notebook-dir\
      /home/anaconda/mbuild-notebooks

Alternatively, you can also start a Bourne shell directly:

$ docker run -it --name mbuild mosdef/mbuild:latest

To learn more about using mBuild with docker, please refer to the documentation here.

Tutorials

Interactive tutorials can be found here:

Binder

Components in dashed boxes are drawn by hand using, e.g., Avogadro or generated elsewhere. Each component is wrapped as a simple python class with user defined attachment sites, or ports. That's the "hard" part! Now mBuild can do the rest. Each component further down the hierarchy is, again, a simple python class that describes which piece should connect to which piece.

Ultimately, complex structures can be created with just a line or two of code. Additionally, this approach seamlessly exposes tunable parameters within the hierarchy so you can actually create whole families of structures simply by adjusting a variable:

import mbuild as mb
from mbuild.examples import PMPCLayer

pattern = mb.Random2DPattern(20)  # A random arrangement of 20 pieces on a 2D surface.
pmpc_layer = PMPCLayer(chain_length=20, pattern=pattern, tile_x=3, tile_y=2)

Zwitterionic brushes on beta-cristobalite substrate

Community Recipes

Use case-specific systems can be generated via mBuild recipes. Some users have graciously contributed recipes for particular systems, including:

Citing mBuild

If you use this package, please cite our paper. The BibTeX reference is

@article{Klein2016mBuild,
      author = "Klein, Christoph and Sallai, János and Jones, Trevor J. and Iacovella, Christopher R. and McCabe, Clare and Cummings, Peter T.",
      title = "A Hierarchical, Component Based Approach to Screening Properties of Soft Matter",
      booktitle = "Foundations of Molecular Modeling and Simulation",
      series = "Molecular Modeling and Simulation: Applications and Perspectives",
      year = "2016",
      doi = "http://dx.doi.org/10.1007/978-981-10-1128-3_5"
}

License

Various sub-portions of this library may be independently distributed under different licenses. See those files for their specific terms.

This material is based upon work supported by the National Science Foundation under grants NSF CBET-1028374 and NSF ACI-1047828. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].