eHive installation and setup

eHive dependencies

eHive system depends on the following components that you may need to download and install first:
  1. Perl 5.10 or higher
  2. A database engine of your choice. eHive keeps its state in a database, so you will need
    1. a server installed on the machine where you want to maintain the state of your pipeline(s) and
    2. clients installed on the machines where the jobs are to be executed.
    At the moment, the following database options are available:
  3. Perl DBI API version 1.6 or higher -- Perl database interface that has to include a driver for the database engine of your choice above.
  4. Perl libraries for visualisation (optional but recommended). They can be found on CPAN:

Installing EnsEMBL core and eHive code

Create a directory for EnsEMBL repositories:

It is advised to have a dedicated directory where EnsEMBL-related packages will be deployed. Unlike DBI modules that can be installed system-wide by the system administrator, you will benefit from full (read+write) access to the EnsEMBL files/directories, so it is best to install them under your home directory. For example,
        $ mkdir $HOME/ensembl_main

Set a variable pointing at this directory:

Change into your EnsEMBL codebase directory:

        $ cd $ENSEMBL_CVS_ROOT_DIR

Check out the EnsEMBL repositories by cloning them from GitHub:

  1. EnsEMBL core API:
        git clone
  2. eHive code:
        git clone

Add new packages to the PERL5LIB variable:

Add eHive scripts' path to the PATH variable (optional but useful) :