ddarriba / modeltest

Best-fit model selection
GNU General Public License v3.0
72 stars 21 forks source link

ModelTest-NG

ModelTest-NG is a tool for selecting the best-fit model of evolution for DNA and protein alignments. ModelTest-NG supersedes jModelTest and ProtTest in one single tool, with graphical and command console interfaces.

Documentation

If you want to read about using ModelTest-NG, a PDF manual is attached to each release. You can also browse the wiki for online documentation, and the FAQ section for common errors.

Citation

If you use ModelTest-NG, please cite the following:

Discussion group

Please use the ModelTest discussion group for any question: http://groups.google.com/group/modeltest-ng

Download

From the releases section you can download the latest stable distribution and pre-compiled binaries.

If there is no binary for your system or it is not working, you can either download the sources distribution or clone this repository, and follow the Install instructions below:

$ git clone https://github.com/ddarriba/modeltest

Install

  1. Install the dependencies. On Debian-based systems, you can simply run
sudo apt-get install flex bison

For other systems, please make sure you have following packages/libraries installed: GNU Bison Flex

  1. Build ModelTest-NG.

Multithread version:

mkdir build && cd build
cmake ..
make

MPI version:

mkdir build && cd build
cmake -DENABLE_MPI=ON ..
make

GUI version:

mkdir build && cd build
cmake -DENABLE_GUI=ON ..
make

Portable version (static linkage, compatible with old non-AVX CPUs):

mkdir build && cd build
cmake -DSTATIC_BUILD=ON -DENABLE_MODELTEST_SIMD=OFF -DENABLE_PLLMOD_SIMD=OFF ..
make

ModelTest-NG binaries will be placed in modeltest-ng/bin directory.

Build a Docker image of ModelTest-NG

If you want to build a Docker image, use a command like this:

docker build -t modeltest-ng .

Then call docker run to create a container using the created image.

docker run -it modeltest-ng bash

Disclaimer

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The jModelTest distribution includes Phyml executables.

These programs are protected by their own license and conditions, and using jModelTest implies agreeing with those conditions as well.