-
Notifications
You must be signed in to change notification settings - Fork 25
/
softwareInstall.sh
49 lines (36 loc) · 1.16 KB
/
softwareInstall.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
###Get repository of the course.
#git clone https://github.com/bioinformatics-core-shared-training/cruk-bioinf-sschool.git
sudo apt-get update
sudo apt-get install -y git samtools tophat sra-toolkit pkg-config bwa wget bedtools python-dev
##Download required R packages. Assumes R 3.2.0
sudo R -f installBiocPkgs.R
#### Get and compile fastx toolkit
wget https://github.com/agordon/libgtextutils/releases/download/0.7/libgtextutils-0.7.tar.gz
gunzip libgtextutils-0.7.tar.gz
tar -xvf libgtextutils-0.7.tar
cd libgtextutils-0.7
./configure
make
sudo make install
cd ../
wget https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2
tar -xjf fastx_toolkit-0.0.14.tar.bz2
cd fastx_toolkit-0.0.14
./configure
make
sudo make install
##fastqc
wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.3_source.zip
unzip fastqc_v0.11.3_source.zip
#chmod 755 FastQC/fastqc
#sudo ln -s $(pwd)/FastQC/fastqc /usr/bin/fastqc
##tidy-up
rm *.zip
rim *.tar
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install cython
sudo pip install cutadapt
sudo pip install Numpy
sudo pip install MACS2
rm get-pip.py