Installation
Note
YAMMBS is currently developed for internal use at Open Force Field and is not available via conda-forge or PyPI. It must be installed from source via a git clone.
Installing from source
YAMMBS requires cloning the repository and installing from source. The recommended installation method uses Mamba or Conda to manage dependencies:
$ git clone https://github.com/openforcefield/yammbs.git
$ cd yammbs
$ mamba env create -n yammbs -f devtools/conda-envs/dev.yaml
$ mamba activate yammbs
$ pip install -e .
This will:
Clone the YAMMBS repository
Create a new conda environment with all dependencies
Install YAMMBS in editable mode
If you do not have Mamba or Conda installed, see the ecosystem installation documentation.
OS support
YAMMBS is pure Python, and we expect it to work on any platform that supports its dependencies. Our automated testing takes place on both (x86) MacOS and Ubuntu Linux.
Checkmol dependency
YAMMBS uses checkmol for molecular structure analysis. On most systems, you will need to install it separately:
macOS
$ brew install fpc
$ curl https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/checkmol.pas > checkmol.pas
$ fpc checkmol.pas -S2
$ sudo mv checkmol /usr/local/bin/
Ubuntu/Debian
$ sudo apt-get install fp-compiler
$ curl https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/checkmol.pas > checkmol.pas
$ fpc checkmol.pas -S2
$ sudo mv checkmol /usr/local/bin/