#!/bin/bash #Create the right PYTHONPATH for Weblogo, and then launch Weblogo case $BIRCH_PLATFORM in linux-x86_64) #Create the right PYTHONPATH for Weblogo, and then launch Weblogo PVERSION=`python3 --version | cut -f2 -d" " | cut -c 1-3` PYTHONPATH=$BIRCH/lib-$BIRCH_PLATFORM/python/lib/python$PVERSION/site-packages:$BIRCH/lib-$BIRCH_PLATFORM/python/lib64/python$PVERSION/site-packages export PYTHONPATH echo "Running WebLogo using $PYTHONPATH" $BIRCH/lib-$BIRCH_PLATFORM/python/bin/weblogo $* ;; osx-x86_64) # On OSX we use an older version of weblogo, v3.4, which is # pure Python. Newer versions fo weblogo use Scipy binaries, # which don't seem to compile on OSX. $BIRCH/lib-$BIRCH_PLATFORM/weblogo/weblogo $* ;; esac