Skip to content
Christophe Pradal edited this page Oct 3, 2018 · 3 revisions

AutoWig for Structure Analysis

Create a conda environment (only once)

First, we will generate the wrappers for Python 2.7

conda create -n autowig2 fp17=1.0.0 python=2.7 -c statiskit -c defaults --override-channels -f

Activate the environment:

conda activate autowig2

Get the intermediate code:

git clone https://github.com/pfernique/StructureAnalysis.git
cd StructureAnalysis
git checkout fp17

Install stat_tool inside the conda environment

Install the C++ library libstat_tool

conda build --python=2.7 stat_tool/bin/conda/libstat_tool -c statiskit -c defaults --override-channels
conda install -y libstat_tool --use-local -c statiskit -c defaults --override-channels

Generate the wrappers with AutoWIG

Script to copy in StructureAnalysis dir

Install the Python module python-stat_tool

conda build --python=2.7 stat_tool/bin/conda/python-stat_tool -c statiskit -c defaults --override-channels
conda install -y python-stat_tool --use-local -c statiskit -c defaults --override-channels