forked from gymreklab/cse185-course-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_cse185_deps_wk3.sh
45 lines (37 loc) · 1.03 KB
/
install_cse185_deps_wk3.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
#!/bin/bash
set -e
##### Week 3 ######
# Install Plink
cd /sources
wget http://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20190304.zip
unzip plink_linux_x86_64_20190304.zip
cp plink /usr/local/bin
# Install bedtools
cd /sources
wget https://github.com/arq5x/bedtools2/releases/download/v2.28.0/bedtools-2.28.0.tar.gz
tar -zxvf bedtools-2.28.0.tar.gz
cd bedtools2
make
make install
# Install htslib (with tabix)
cd /sources
wget -O htslib-1.8.tar.bz2 https://github.com/samtools/htslib/releases/download/1.8/htslib-1.8.tar.bz2
tar -xjvf htslib-1.8.tar.bz2
cd htslib-1.8/
./configure
make
make install
# Install bcftools
cd /sources
wget -O bcftools-1.9.tar.bz2 https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2
tar -xjvf bcftools-1.9.tar.bz2
cd bcftools-1.9
./configure
make
make install
# Install VCFTools
cd /sources
wget https://github.com/vcftools/vcftools/releases/download/v0.1.16/vcftools-0.1.16.tar.gz
tar -xzvf vcftools-0.1.16.tar.gz
cd vcftools-0.1.16
./autogen.sh && ./configure && make && make install