-
Notifications
You must be signed in to change notification settings - Fork 14
/
install.sh
executable file
·51 lines (35 loc) · 1.4 KB
/
install.sh
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
#! /bin/bash
cat << EndOfMessage
██╗ ██╗ ██╗██╗ ██╗ ██╗███████╗██████╗
██║ ██╔╝██╔╝╚██╗ ██║ ██║██╔════╝██╔══██╗
█████╔╝██╔╝ ╚██╗██║ ██║█████╗ ██████╔╝
██╔═██╗╚██╗ ██╔╝╚██╗ ██╔╝██╔══╝ ██╔══██╗
██║ ██╗╚██╗██╔╝ ╚████╔╝ ███████╗██║ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
By: Alexandre Drouin
Contributors:
* Gael Letarte
EndOfMessage
# Remove any prior installation
rm -r ./bin 2>/dev/null
# Get the install context
INSTALL=$(pwd -P)
cd ./core && CORE=$(pwd -P)
echo -e "Installing GATB\n-----------------"
cd kover/dataset/tools/kmer_tools
sh install.sh
cd ${CORE}
echo -e "\n\n"
echo -e "Installing setuptools\n-----------------"
pip install setuptools
echo -e "\n\n"
echo -e "Installing Kover\n-----------------"
pip install .
echo -e "\n\n"
# Create executable
cd ..
mkdir bin
cd ./bin
(echo -e "Creating Kover executable"; ln -s ../interfaces/command_line.py kover; chmod u+x ./kover)
echo -e Done.
echo -e "\n\nPlease add $INSTALL/bin/ to your PATH environment variable."