-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·81 lines (64 loc) · 1.45 KB
/
setup.sh
File metadata and controls
executable file
·81 lines (64 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/bash
export EXPDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $EXPDIR
# Create directory structure
mkdir code log out results tmp
# setup minimap2
cd $EXPDIR/code
git clone https://github.com/lh3/minimap2.git
cd minimap2
make -j8
# setup collinearity
cd $EXPDIR/code
git clone --recursive https://github.com/ratschlab/collinearity.git
cd collinearity
# for python bindings
pip install .
# to build from source
mkdir build && cd build
cmake ..
make -j 8
# setup metagraph
cd $EXPDIR/code
git clone --recursive https://github.com/ratschlab/metagraph.git
cd metagraph
# install sdsl lite
git submodule sync
git submodule update --init --recursive
pushd metagraph/external-libraries/sdsl-lite
./install.sh $PWD
popd
mkdir metagraph/build
cd metagraph/build
cmake ..
make -j 8
# setup spumoni
cd $EXPDIR/code
git clone --recursive https://github.com/ratschlab/spumoni.git
cd spumoni
mkdir build && cd build
cmake ..
make -j 16
make install
# python bindings
cd ..
pip install .
# setup rawhash
cd $EXPDIR/code
git clone -b cmake_merge --recursive https://github.com/ratschlab/RawHash.git rawhash2
cd rawhash2
git submodule update --init --recursive
mkdir -p build && cd build
cmake NOHDF5=1 NOPOD5=1 ..
make -j 8
# for python bindings
cd ..
pip install .
# Setup Minknow API Simulator
cd $EXPDIR/code
git clone https://github.com/ratschlab/MinknoApiSimulator.git
cd MinknoApiSimulator/certs
./generate.sh
cd ..
pip install .
cd $EXPDIR