VINE (Variational Inference with Node Embeddings) is a program and set of supporting libraries for variational inference of phylogenetic trees.
- CMake 3.x or later
- C/C++ compiler (GCC, Clang, etc.)
- PHAST (Phylogenetic Analysis with Space/Time models)
If PHAST is installed in a standard location, CMake will usually find it automatically. Otherwise, you can specify its install prefix explicitly:
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DPHAST_ROOT=/path/to/phast
cmake --build build
cmake --install buildHere, PHAST_ROOT should point to the installation prefix of PHAST (e.g.,
/opt/homebrew/opt/phast).
Uses OpenMP by default if found by CMake. OpenMP is not required.
Note for MacOS: if OpenMP is not found by default, try explicitly specifying the LLVM compiler during configuration, e.g.,
cmake -S . -B build -DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clangThe number of threads can be controlled with the -j option.
For usage of the main vine executable and supporting programs, run them
with --help:
vine --helpFor questions or bug reports, please use the GitHub issue tracker.
Both PHAST and VINE are distributed under the BSD 3-Clause License, a permissive academic license that allows redistribution and modification provided that attribution is retained. See LICENSE for details.