forked from likelet/circPipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_tools_manually.sh
31 lines (27 loc) · 963 Bytes
/
install_tools_manually.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
#!/usr/bin/sh
#### install CIRI
echo "Downloading CIRI..."
wget http://sourceforge.net/projects/ciri/files/CIRI-full/CIRI-full_v2.0.zip
echo "Done!"
echo "Installing CIRI..."
unzip CIRI-full_v2.0.zip
rm CIRI-full_v2.0.zip
mv CIRI-full_v2.0 CIRI
sed -i "1i\\#\!/usr/bin/perl" ./CIRI/bin/CIRI_v2.0.6/CIRI2.pl
chmod a+x ./CIRI/bin/CIRI_v2.0.6/*
echo "export PATH=\"$(pwd)/CIRI/bin/CIRI_v2.0.6:\$PATH\"" >> ~/.bashrc
source ~/.bashrc
echo "Finish CIRI installation!"
#### install Find_circ
echo "Downloading Find_circ..."
git clone http://github.com/marvin-jens/find_circ.git
echo "Done!"
echo "Installing Find_circ..."
sed -i '1d' ./find_circ/unmapped2anchors.py
sed -i "1i\\#\!/usr/bin/python" ./find_circ/unmapped2anchors.py
sed -i '1d' ./find_circ/find_circ.py
sed -i "1i\\#\!/usr/bin/python" ./find_circ/find_circ.py
chmod a+x ./find_circ/*
echo "export PATH=\"$(pwd)/find_circ:\$PATH\"" >> ~/.bashrc
source ~/.bashrc
echo "Finish Find_circ installation!"