-
Notifications
You must be signed in to change notification settings - Fork 85
/
install_jbrowse.sh
executable file
·39 lines (37 loc) · 1.39 KB
/
install_jbrowse.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
#!/bin/bash
./apollo jbrowse-tools
#done_message () {
# if [ $? == 0 ]; then
# echo " done."
# if [ "x$1" != "x" ]; then
# echo $1;
# fi
# else
# echo " failed. See setup.log file for error messages." $2
# fi
#}
#
#echo > setup.log;
#echo -n "Installing Perl prerequisites ..."
#if [ -f bin/cpanm ]; then
# echo "Prerequisites installed, finished.";
# exit 0;
#fi
#
#if ! ( perl -MExtUtils::MakeMaker -e 1 >/dev/null 2>&1); then
# echo;
# echo "WARNING: Your Perl installation does not seem to include a complete set of core modules. Attempting to cope with this, but if installation fails please make sure that at least ExtUtils::MakeMaker is installed. For most users, the best way to do this is to use your system's package manager: apt, yum, fink, homebrew, or similar.";
#fi;
#( set -x;
# chmod +x web-app/jbrowse/bin/cpanm
# cd web-app/jbrowse
# bin/cpanm -v --notest -l ../../extlib/ --installdeps .< /dev/null;
# bin/cpanm -v --notest -l ../../extlib/ --installdeps .< /dev/null;
# set -e;
# bin/cpanm -v --notest -l ../../extlib/ --installdeps .< /dev/null;
# cd -
# cp -r web-app/jbrowse/bin/ bin;
# chmod +x bin/*.pl;
# cp -r web-app/jbrowse/src/perl5 src/perl5;
#) >>setup.log 2>&1;
#done_message "" "As a first troubleshooting step, make sure development libraries and header files for GD, Zlib, and libpng are installed and try again.";