Installation Instructions

Manual Installation of Dependencies

The StruM package depends on the following libraries:

Installing dependencies with Conda

By far the easiest way to install all of the dependencies is with conda. With conda installed, the dependencies can be installed with:

conda install numpy scipy matplotlib cython openmp

Installing dependencies with PyPI

Another method for installing the dependencies manually is using the pip command from PyPI. Then the dependencies can be installed with:

pip install numpy scipy matplotlib cython openmp

Installation of StruM Package

To install the StruM package, simply download the source code, navigate to that directory, and run the installation:

wget "https://github.com/pdeford/StructuralMotifs/archive/master.zip"
unzip -q master.zip
cd StructuralMotifs-master

If you only want it installed into your current directory for small scale use, use the following command:

python setup.py build_ext --inplace

If you want to install it system wide, use this command instead:

python setup.py build_ext
python setup.py install