Matthieu Foll 2011

Detecting natural selection from population-based genetic data

BayeScan is a command line based open source software, published under the GNU General Public License as published by the Free Software Foundation. BayeScan is coded using standard C++ and can be easily compiled under any system having a C++ compiler available using the “Makefile” provided along with the source code. Since version 2.1, BayeScan now uses OpenMP to implement parallel calculation on multicore CPUs, and you need to use a compiler supporting OpenMP. In Mac OS X 10.7 (Lion), compiling with the gcc version included with Xcode (gcc-4.2) leads to an error at runtime when using more than one thread ("Abort trap: 6"). This is apparently a bug in Lion with OpenMP that will certainly be solved in a future update. In the meantime you can compile it using gcc 4.6 available here, as I did myself for the binary version provided.

We provide command line executables ready to be used under Microsoft Windows, Apple Mac OS X (Intel processors), Linux 32bits and 64 bits.

We also provide a Graphical User Interface (GUI) version based on the exact same code as the command line version, but only for Microsoft Windows systems.

BayeScan is distributed as a single package containing all the necessary files, including manual, source code, executables and R scripts, current version is 2.1:
If you have some problems with version 2.1, you can still download version 2.01, and please report me what's wrong.