Expansion Hunter is designed for Linux and macOS operating systems. A compiled binary for the latest release can be downloaded from here. If you wish to build the program from source follow the instructions below.
Prerequisites:
- A recent version of GCC or clang compiler supporting the C++11 standard
- CMake version 3.13.0 or above
- Additional development libraries, which depend on the operating system:
- Centos7
yum install bzip2-devel libcurl-devel libstdc++-static xz-devel zlib-devel
- Ubuntu 20.04
apt install zlib1g libbz2-dev liblzma-dev libcurl4-openssl-dev
- macOS 10.15
brew install xz
- Centos7
If the above prerequisites are satisfied, you are ready to
build the program. Note that during the build procedure, cmake will
attempt to download and install abseil, boost, googletest, htslib,
and spdlog so an active internet connection is required. Assuming
that the source code is contained in a directory ExpansionHunter/,
the build procedure can be initiated as follows:
$ cd ExpansionHunter
$ mkdir build
$ cd build
$ cmake ..
$ makeIf all the above steps were successful, the ExpansionHunter executable can be found in:
build/install/bin/ExpansionHunter