Skip to content

Installation

Zhicheng Liu edited this page Nov 5, 2021 · 4 revisions

Table of Content

  1. Mac
  2. Linux
  3. Docker

Mac

1. Requirements

To install Berkeley-DB with brew:

brew install berkeley-db4
pip3 install cython
BERKELEYDB_DIR=/usr/local/opt/berkeley-db\@4/ pip3 install bsddb3

To install python rockdb backend follow instructions at https://github.com/twmht/python-rocksdb

2. Install

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 .

Linux

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 .

Docker

Quickstart with docker

docker pull iqballab/bigsi
docker run iqballab/bigsi bigsi --help
Clone this wiki locally