-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Andy Pohl edited this page Jun 6, 2014
·
4 revisions
libbeato is needed for various other programs. To install:
git clone https://github.com/CRG-Barcelona/libbeato.git
cd libbeato/
./configure
make
make install
If you don't have root or sudo access, then do the configure step as:
./configure --prefix=$HOME
Finally, to take advantage of the BAM functionality, the htslib library needs installing first:
git clone https://github.com/samtools/htslib.git
cd htslib
<edit Makefile, changing the prefix line to something which will work>
make
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:
./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.