forked from Ensembl/postgap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_dependencies.sh
executable file
·94 lines (80 loc) · 1.65 KB
/
install_dependencies.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/bin/bash
mkdir -p bin
## Tabix, bgzip
echo Installing TABIX
git clone https://github.com/samtools/htslib.git
cd htslib
git checkout 1.3.2
make
cp tabix bgzip ../bin
cd ..
## vcfkeepsamples
echo Installing VCFlib
git clone --recursive https://github.com/vcflib/vcflib.git
cd vcflib
git checkout v1.0.0-rc1
make
cp bin/vcfkeepsamples ../bin
cd ..
## bcftools
echo Installing BCFtools
git clone https://github.com/samtools/bcftools.git
cd bcftools
git checkout 1.3.1
make
cp bcftools ../bin
cd ..
# vcftools
echo Installing VCFtools
git clone https://github.com/vcftools/vcftools.git
cd vcftools
git checkout v0.1.14
./autogen.sh
./configure
make
cp src/cpp/vcftools ../bin
cd ..
# bedtools
echo Installing BEDtools
git clone https://github.com/arq5x/bedtools2.git
cd bedtools2
git checkout v2.26.0
make
cp bin/bedtools bin/intersectBed ../bin
cd ..
# libBigWig
echo Installing libBigWig
git clone https://github.com/dpryan79/libBigWig.git
cd libBigWig
make
cd ..
# htslib
echo Installing HTSlib
git clone https://github.com/samtools/htslib.git
cd htslib
git checkout 1.9
make
cd ..
# GSL
echo Installing GSL
wget ftp://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gsl/gsl-latest.tar.gz
tar -xvzpf gsl-latest.tar.gz
cd gsl*
./configure
make
cd ..
# Wiggletools
echo Installing Wiggletools
git clone https://github.com/Ensembl/WiggleTools.git
cd WiggleTools
make
cp bin/wiggletools ../bin
cd ..
# pybedtools v0.7.8, requests, pandas
pip install pybedtools==0.7.4 requests pandas flask cherrypy
# ld_vcf from ensembl-variation
gcc -Wall -O3 C/ld_vcf.c -I htslib -o bin/ld_vcf -Lhtslib -Wl,-rpath,htslib -lhts -lm
# h5py
pip install h5py==2.8.0
#sqlite
pip install pysqlite