forked from Phelimb/BIGSI
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Zhicheng Liu edited this page Jul 3, 2020
·
4 revisions
To install Berkeley-DB with brew:
brew install berkeley-db4
pip3 install cython
BERKELEYDB_DIR=/usr/local/opt/berkeley-db4/ pip3 install bsddb3
To install python rockdb backend follow instructions at https://github.com/twmht/python-rocksdb
git clone https://github.com/iqbal-lab-org/BIGSI.git
cd BIGSI
pip3 install -r requirements.txt
pip3 install -r optional-requirements.txt
pip3 install .
To install Berkeley-DB backend:
export BERKELEYDB_DIR=~/usr/local/
export BERKELEY_VERSION=4.8.30
# Download, configure and install BerkeleyDB
wget -P /tmp http://download.oracle.com/berkeley-db/db-"${BERKELEY_VERSION}".tar.gz
tar -xf /tmp/db-"${BERKELEY_VERSION}".tar.gz -C /tmp
rm -f /tmp/db-"${BERKELEY_VERSION}".tar.gz
cd /tmp/db-"${BERKELEY_VERSION}"/build_unix
../dist/configure --prefix $BERKELEYDB_DIR && make && make install
pip3 install cython
pip3 install bsddb3
To install rockdb backend follow instructions:
https://github.com/twmht/python-rocksdb
git clone https://github.com/iqbal-lab-org/BIGSI.git
cd BIGSI
pip3 install -r requirements.txt
pip3 install -r optional-requirements.txt
pip3 install .