forked from bystrogenomics/bystro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-mac.sh
executable file
·41 lines (30 loc) · 1.18 KB
/
install-mac.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
#!/usr/bin/env bash
if [[ -n "$1" ]]
then
INSTALL_DIR=$1
else
INSTALL_DIR=~
fi
# LiftOver is used for the LiftOverCadd.pm package, to liftOver cadd to hg38
# and cadd's GRCh37.p13 MT to hg19
. ./install/install-liftover-linux.sh;
. ./install/install-mac-deps.sh;
. ./install/install-lmdb-linux.sh;
. ~/.bash_profile;
# Perlbrew simplifies version management
# Mac doesn't like/build 5.28.0 without failing some tests
# However, even 5.26.0 and .2 will fail test 21 "wrapped lines longer than"
# Which seems to be of little consequence
. ./install/install-perlbrew-linux.sh $INSTALL_DIR perl-5.26.2 ~/.bash_profile 1
. ./install/install-perl-libs.sh;
# Bystro is increasingly a golang progrma. Perl currently handles db fetching,
. ./install/install-go-mac.sh $INSTALL_DIR;
. ~/.bash_profile;
. ./install/install-go-packages.sh;
# Not necessary for first install, but allows us to have a single entry point
# for installation and updates
. ./install/update-packages.sh;
. ./install/export-bystro-libs.sh ~/.bash_profile
. ~/.bash_profile;
mkdir -p logs;
printf "\n\nREMEMBER TO INCREASE ULIMIT ABOVE 1024 IF RUNNING MANY FORKS\n\nIF RUNNING 1st TIME RUN: `source $PERLBREW_ROOT/etc/bashrc`";