-
Notifications
You must be signed in to change notification settings - Fork 0
/
install
executable file
·64 lines (48 loc) · 1.95 KB
/
install
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
#!/usr/bin/env bash
sudo yum install gcc -y
sudo yum install cpan -y
sudo yum install openssl -y
sudo yum install openssl-devel -y
sudo yum install git-all -y
sudo yum install pigz -y
sudo yum install unzip -y
sudo yum install wget -y
# For tests involving querying ucsc directly
sudo yum install mysql-devel -y
## For vcftools
sudo yum install autoconf -y
sudo yum install automake -y
git clone git://github.com/samtools/htslib.git
git clone git://github.com/samtools/bcftools.git
cd bcftools; make && sudo make install
cd ../htslib; make && sudo make install
cd ~/
# for perlbrew, in case you want to install a different perl version
sudo yum install patch -y
git clone git://github.com/LMDB/lmdb.git && cd lmdb/libraries/liblmdb
make
sudo make install
cd ~/
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
tar -xvf go1.8.linux-amd64.tar.gz
sudo mv go /usr/local
go get github.com/akotlar/seqant-statistics
go install github.com/akotlar/seqant-statistics
go get github.com/akotlar/seq-vcf
go install github.com/akotlar/seq-vcf
(echo "" ; echo 'export PATH=$PATH:/usr/local/go/bin') >> ~/.bash_profile
# export GOROOT=/usr/local/go
(echo ""; echo 'export GOPATH=$HOME/go') >> ~/.bash_profile
echo 'export PATH=$PATH:$HOME/go/bin/' >> ~/.bash_profile && source ~/.bash_profile
## make sure you have the right priveleges
mkdir -p $GOPATH/src/github.com
go get github.com/akotlar/seqant-statistics
go install github.com/akotlar/seqant-statistics
wget -O - https://install.perlbrew.pl | bash
(echo "" ; echo "source ~/perl5/perlbrew/etc/bashrc") >> ~/.bash_profile && source ~/.bash_profile
perlbrew install perl-5.24.1 && perlbrew switch perl-5.24.1
source ~/.bash_profile
perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->edit(build_requires_install_policy => "yes"); $c->commit'
"./install-perl-libs"
echo "REMEMBER TO INCREASE ULIMIT ABOVE 1024 IF RUNNING MANY FORKS"
mkdir logs