mHapTools installation

mHapTools is written in c++ and depends on htslib library. It has been tested on centOS and should support other Linux distributions as well.

Prerequisites

The mHaptools requires the following dependencies :

Compilation

git clone https://github.com/butyuhao/mHapTools.git
cd ./mHapTools/htslib-1.10.2
./configure --prefix=`pwd`
make
make install
cd ..
g++ -o mhaptools  haptk.cpp convert.cpp mhap.cpp merge.cpp beta.cpp summary.cpp utils.cpp \
  -I ./htslib-1.10.2/htslib -I ./include  -L ./htslib-1.10.2/ -lhts -std=c++11
export LD_LIBRARY_PATH=`pwd`/htslib-1.10.2/lib