Skip to content
Andy Pohl edited this page Jun 6, 2014 · 4 revisions

libbeato is needed for various other programs. To install:

  1. git clone https://github.com/CRG-Barcelona/libbeato.git
  2. cd libbeato/
  3. ./configure
  4. make
  5. make install

If you don't have root or sudo access, then do the configure step as:

  1. ./configure --prefix=$HOME

Finally, to take advantage of the BAM functionality, the htslib library needs installing first:

  1. git clone https://github.com/samtools/htslib.git
  2. cd htslib
  3. <edit Makefile, changing the prefix line to something which will work>
  4. make
  5. make install

If the htslib isn't installed systemwide i.e. in a user-directory, then the installation of libbeato will need some slight modification. I recommend using presetting the CFLAGS and LDFLAGS configure variables in this manner:

  1. ./configure --prefix=$HOME CFLAGS="-g -O0 -I/${HOME}/include" LDFLAGS=-L${HOME}/lib

The htslib library and header files should then be found, because changing the prefix line to ${HOME} in the htslib Makefile will install the library in ${HOME}/lib and the headers in ${HOME}/include/htslib by default.

Clone this wiki locally