Package list seer / lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

[![Build Status](](
# seer
Sequence element enrichment analysis. This document contains
installation instuctions. Usage can be found on the [wiki](, and more information in the [paper](

## Installation
### Use a pre-compiled release

Head to the [release]( page and download and unpack the tarball. If you have the dependencies installed use the dynamic version, otherwise use the static version (tested on Ubuntu only; static_all should work on other 64-bit Linux platforms).

### Use on a virtual machine

We have a virtual machine, containing SEER and other useful bioinformatics programs, which is available at
and can be imported as an appliance in [VirtualBox](

### Compile source code

First clone the repository

    git clone --recursive

If you already have dlib:

    git clone

Currently tested on Linux only, installation should proceed as

    make install

Full installation instructions are available <a href="#installation-on-ubuntubiolinux">below</a>

## Dependencies
seer currently depends on

- gzstream <>
- armadillo <>
- boost <>
- dlib <>
- HDF5 <>

You will also require

- gcc >4.9 or equivalent
- gcc libstdc++ >4.9

You probably already have boost, HDF5 and dlib (as long as you did clone --recursive).

### Installation on Ubuntu/biolinux

Running the following commands will install seer

    sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    sudo apt-get update
    sudo apt-get install g++-4.9 libhdf5-dev libopenblas-dev libboost-program-options-dev

    git clone --recursive
    cd seer

    tar xzf gzstream.tgz
    cd gzstream &&make CC=/usr/bin/gcc-4.9
    cd ..

    tar xzf armadillo-6.700.6.tar.gz
    cd armadillo-6.700.6
    CXX=/usr/bin/g++-4.9 cmake .
    sudo make install
    sudo ldconfig /usr/lib64
    cd ..
    cd src && make CXX=/usr/bin/g++-4.9

If you are having trouble finding hdf5 (e.g. on Ubuntu 16.04) try

    make CPPFLAGS="-I../gzstream -I../dlib -I/usr/include/hdf5/serial -D DLIB_NO_GUI_SUPPORT=1 -D DLIB_USE_BLAS=1 -D DLIB_USE_LAPACK=1"

### General installation instructions


Download and unpack to a folder gzstream in the root of the repository. Change into the directory and type



Best installed with your distribution's package manager. Otherwise use
a binary from <>, or
if you wish to compile from source

    gunzip < hdf5-X.Y.Z.tar.gz | tar xf -
    cd hdf5-X.Y.Z
    ./configure --prefix=/usr/local/hdf5 <more configure_flags>
    make check
    make install
    make check-install


Make sure HDF5 is installed first.

Download and unpack. Change into directory and type

    cmake -DARMA_USE_HDF5=1 .
    make install


Best installed with your distribution's package manager, and you should use the c++11 version if possible.

For a manual installation, see <> for details on how to use ./b2 to install. I recommend that you create a user-config.jam file in the boost root which modifies the gcc compilation:

    using gcc:
      : std11
      : g++
      : <cxxflags>-std=c++11

Then run

    ./b2 install toolset=gcc-std11


If not installed use the above git clone command to include with the
repository. Otherwise unpack header files to $(PREFIX)/include


Currently tested on Linux only, installation should proceed as

    make install

You may need to explicitly set the current GCC compiler, which you can
do by running

    make CXX=g++-4.9

## Usage, interpretation of results, and troubleshooting
See the [wiki](