Skip to content

Variational Inference with Node Embedding for Bayesian phylogenetics

License

Notifications You must be signed in to change notification settings

CshlSiepelLab/vine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VINE

VINE (Variational Inference with Node Embeddings) is a program and set of supporting libraries for variational inference of phylogenetic trees.

Requirements

  • CMake 3.x or later
  • C/C++ compiler (GCC, Clang, etc.)
  • PHAST (Phylogenetic Analysis with Space/Time models)

Building from Source

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 build

Here, PHAST_ROOT should point to the installation prefix of PHAST (e.g., /opt/homebrew/opt/phast).

Multithreading Support

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/clang

The number of threads can be controlled with the -j option.

Usage

For usage of the main vine executable and supporting programs, run them with --help:

vine --help

Support

For questions or bug reports, please use the GitHub issue tracker.

License

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.

About

Variational Inference with Node Embedding for Bayesian phylogenetics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages