You are viewing an old version of this page. View the current version.
In order to install BioNetDB, the following packages are required:
- Java 1.8.0_60+
- Neo4j graph database
- Apache Maven (when building BioNetDB from sources)
In order to install Neo4j, follow the instructions from the Neo4j Operation Manual powered by the Neo4j Team. This describes how to install Neo4j in different deployment contexts, such as Linux, Mac OS, Windows, Debian, Docker.
In order to build BioNetDB from source code you must first get the source code of BioNetDB from GitHub, most of the dependencies - including OpenCB dependencies - will be fetched from Maven Central Repository, however in some scenarios OpenCB dependencies will need to be built from GitHub source code. Compiling and building processes are carried out by Apache Maven.
As mentioned, you get the BioNetDB source code from GitHub. You can download the tar ball or clone the git repository. Next sections describe both methods to get the source code.
Downloading the tar ball
Download the latest release from GitHub (tar.gz or zip file).
Extract the contents of the archive using tar -xfz <filename> for the tar.gz file, or gunzip <filename> for the zip file.
Cloning the BioNetDB git repository
Execute one of the following git commands:
Compiling BioNetDB source code
BioNetDB has dependencies from other OpenCB projects such as CellBase while others are third-party dependencies such as MongoDB. All BioNetDB stable releases are always merged and tagged at master branch (users are encouraged to use latest stable release for production), you can find all releases at BioNetDB Releases. We guarantee that all the dependencies needed for building stable releases are deployed at Maven Central Repository, this is true for both OpenCB and third-party dependencies. Therefore for building a stable release you only need to clone BioNetDB repository itself since all the dependencies will be fetched form Maven Central repository.
This is different for development branches. Active BioNetDB development is carried out at develop branch, in this branch third-party dependencies will be still fetched from Maven Central Repository but this is not true for OpenCB dependencies since it is very likely they are still in development and therefore they are not deployed. Keep in mind that we only guarantee that develop compiles and that bugs are expected, use this branch for development or for testing new functionalities. So, for building develop branch you may require to download and install the following OpenCB repositories in this order:
- java-common-libs:https://github.com/opencb/java-common-libs (branch 'develop')
- biodata: https://github.com/opencb/biodata (branch 'develop')
- cellbase: https://github.com/opencb/cellbase (branch 'develop')
As you can see one of our rules is that develop branch of all major applications such as BioNetDB and CellBase always depend on develop branches. So, if you really want to build develop the you can clone and build dependencies by executing:
Table of Contents:
- No labels