-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.sh
45 lines (31 loc) · 957 Bytes
/
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
# change permission
cd bin
chmod +x *.py
chmod -R 777 k8-0.2.4
tar -xzf SPAdes-3.13.0-Linux.tar.gz
rm SPAdes-3.13.0-Linux.tar.gz
cd ..
# download the reference file (GRCh38)
wget http://xinzhouneuroscience.org/wp-content/uploads/2019/05/source.tar.gz
tar -xvf source.tar.gz
rm source.tar.gz
wget http://xinzhouneuroscience.org/wp-content/uploads/2019/05/Uniqness_map.tar.gz
tar -xvf Uniqness_map.tar.gz
rm Uniqness_map.tar.gz
if ! [ -x "$(command -v samtools)" ];
then
echo 'Error: samtools is not installed...'
echo 'using Conda to install...'
conda install -c bioconda samtools
else
echo 'using existing samtools...'
fi
if ! [ -x "$(command -v minimap2)" ];
then
echo 'Error: minimap2 is not installed...'
echo 'using Conda to install...'
conda install -c bioconda minimap2
else
echo 'using existing minimap2...'
fi
echo 'You have installed Aquila dependencies and downloaded the source files successfully!'