Software to compute and histogram pairwise LD metrics

Obtaining LDBIRD

The source code to LDBIRD is available as part of the QCTOOL package, which is currently hosted at code.enkre.net. To obtain LDBIRD you need to download version 2.1.9 or above of QCTOOL. The source code can be downloaded from the following link:


Please be aware this tarball is generated on the fly and may take a few minutes to download.

Compiling LDBIRD

QCTOOL uses the Waf build system to manage the compilation process. For this to work you need python to be installed. (Waf itself is bundled with QCTOOL). A basic compilation process goes as follows:

$ ./waf configure
$ ./waf

The first command configures the project (i.e. makes sure various prerequisites are in place). The second part compiles the QCTOOL package.

If successful you should now be able to try hptest:

$ ./build/release/apps/ldbird_v2.1.9
!! Error (OptionProcessingException): Option "-g1" must be supplied..
!! Run hptest -help for usage information.

The following is a more advanced example that specifies a path to a relevant C and C++ compiler and an installation directory.

$ CXX=/path/to/g++ CC=/path/to/gcc ./waf configure --prefix=/path/to/installation/dir
$ ./waf install

If successful hptest (along with qctool and other tools) will be installed in /path/to/installation/dir/usr/bin