forked from asrivathsan/miniBarcoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminibarcoder_install.sh
More file actions
52 lines (46 loc) · 1.15 KB
/
minibarcoder_install.sh
File metadata and controls
52 lines (46 loc) · 1.15 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
eval "$(conda shell.bash hook)"
conda config --add channels bioconda;
conda create -n $1 python=2.7 mafft racon graphmap=0.5.2 blast seqtk git fasta3;
conda activate $1;
conda install -c anaconda biopython;
if [ $2 = '.' ]; then
echo "cloning to diretory miniBarcoder"
git clone https://github.com/asrivathsan/miniBarcoder/;
cd miniBarcoder;
python setup.py install;
else
echo "cloning to diretory $2";
git clone https://github.com/asrivathsan/miniBarcoder/ $2;
cd $2;
python setup.py install;
fi;
if command -v mafft >/dev/null 2>&1 ; then
echo "mafft is found"
else
echo "mafft not found"
fi;
if command -v blastn >/dev/null 2>&1 ; then
echo "blast is found"
else
echo "blast not found"
fi;
if command -v glsearch36 >/dev/null 2>&1 ; then
echo "glsearch36 is found"
else
echo "glsearch36 not found"
fi;
if command -v racon >/dev/null 2>&1 ; then
echo "racon is found"
else
echo "racon not found"
fi;
if command -v graphmap >/dev/null 2>&1 ; then
echo "graphmap is found"
else
echo "graphmap not found"
fi;
if command -v seqtk >/dev/null 2>&1 ; then
echo "seqtk is found"
else
echo "seqtk not found"
fi;