Skip to content

Installation

vbrover edited this page Jun 18, 2020 · 29 revisions

Install

Create the directory dm/ in the current directory and copy all source files into it.

git clone https://github.com/vbrover/dm.git

Remember the directory in the environment variable $DT:

DT=$PWD/dm

Compile all executables in $DT/:

cd $DT
./make.sh

The last printed line must be "SUCCESS!".

Update to a new version

cd $DT
git pull origin master
./make.sh

Test

Slow due to extra checks.
Each test should print "SUCCESS!" at the end.

cd $DT/dm
./dm_test.sh 1
# Time: ~1 min.

cd $DT/phylogeny
./distTree_test.sh go
# Time: ~50 min. on a 1200 MHz computer

Database tables

sqsh-ms  -S <Server>  -D <Database>  -i $DT/database/distTree_inc.sql

Clone this wiki locally