From 90470bc795a17a6ddf6dca156f507d02cb056ec3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 28 Jan 2021 18:43:06 +0000 Subject: Adding support for Auspice --- doc/INSTALL.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 0367c63..124aba0 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -113,3 +113,27 @@ To update the turtle files do guix environment -C guix --ad-hoc python python-requests raptor2 curl --network -- python3 ./scripts/update_virtuoso/check_for_updates.py cache.txt dba dba where dba is the default password. + +## Run the Auspice phylo-tree viewer + +Auspice is developed by the Nextstrain team and we use it for +exploring the phylogenetic tree. It does not scale well beyond 5,000 +SARS-CoV-2 virusses, so we need to limit the input set! + +Auspice runs on a separate port. + +Running on port 4001 using your repo: + +Install node with Guix + + ~/.config/guix/current/bin/guix package -i node -p ~/opt/node + +Load Guix environment variables + + . ~/opt/node/etc/profile + +Run server after fetching data in ./data + + cd auspice + npm install --global --prefix node_modules . + env PORT=4001 ./node_modules/bin/auspice view --datasetDir ./data -- cgit v1.2.3