Skip to content

Compiling Treemix

Treemix is a method for inferring the patterns of population splits and mixtures in the history of a set of populations.[1]

Source Code

Downloads are at: https://bitbucket.org/nygcresearch/treemix/downloads/

Prerequisites

  • Needs Boost >= 1.42 so the default system Boost will not work.
    • Use boost 1.57.0 via this modulefile:

boost/openmpi/gcc/64/1.57.0

Configure

Because the Boost is not in a standard location, the configure script must be told of the location:

./configure --prefix=/mnt/HA/groups/myrsrchGrp/something_here --with-boost=${BOOSTDIR}

The environment variable BOOSTDIR is defined by the modulefile.

Build

Just type:

make make install

References

[1] Treemix official website