@@ -41,12 +41,6 @@ SKIP_PACKAGE_MANAGER=
4141CLEAN_SRC=
4242LK_HOME=
4343LK_USER=
44- MAVEN_OPTS=" -Xss10m"
45-
46- # NOTE: java/javac not automatically picked up
47- if [ ! -z " ${JAVA_HOME: +x} " ]; then
48- PATH=${JAVA_HOME} /bin:$PATH
49- fi
5044
5145while getopts " d:u:fpc" arg;
5246do
@@ -102,7 +96,7 @@ echo "Install location"
10296echo " "
10397echo " LKTOOLS_DIR: $LKTOOLS_DIR "
10498echo " LKSRC_DIR: $LKSRC_DIR "
105- WGET_OPTS=" --read-timeout=10 --secure-protocol=auto --no-check-certificate"
99+ WGET_OPTS=" --read-timeout=10 --secure-protocol=auto --no-check-certificate -q "
106100
107101#
108102# Install required software
@@ -113,18 +107,6 @@ echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
113107echo " Install Required packages via the package manager"
114108echo " "
115109
116- # can install EPEL to get additional repositories if necessary. May be needed on RHEL/CentOS
117- # OS=`cat /etc/redhat-release | awk {'print $1}'`
118- # if [ "$OS" = "CentOS" ]
119- # then
120- # if [[ ! -e ${LKSRC_DIR}/epel-release-6-8.noarch.rpm ]];
121- # then
122- # cd $LKSRC_DIR
123- # wget $WGET_OPTS http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
124- # wget $WGET_OPTS http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
125- # rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
126- # fi
127- # fi
128110
129111if [ ! -z $SKIP_PACKAGE_MANAGER ]; then
130112 echo " Skipping package install"
@@ -134,18 +116,6 @@ elif [ $(which yum) ]; then
134116elif [ $( which apt-get) ]; then
135117 echo " Using apt-get"
136118
137- # this is a possible setup for R
138- # add-apt-repository "deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ precise/"
139- # gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 or gpg --hkp://keyserver keyserver.ubuntu.com:80 --recv-key E084DAB9
140- # gpg -a --export E084DAB9 | sudo apt-key add -
141-
142- # install oracle java
143- # apt-get install python-software-properties
144- # add-apt-repository ppa:webupd8team/java
145- # apt-get update
146- # apt-get install oracle-java7-installer
147- # update-alternatives --config java
148- # update-alternatives --config javac
149119 # apt-get -y update
150120 apt-get -q -y install bzip2 libbz2-dev libc6 libc6-dev libncurses5-dev python3-dev unzip zip ncftp gcc make perl libssl-dev libgcc1 libstdc++6 zlib1g zlib1g-dev libboost-all-dev python3-numpy python3-scipy libexpat1-dev pkg-config subversion flex subversion libgoogle-perftools-dev perl-doc git cmake maven r-base r-cran-rcpp python-pip
151121else
460430 echo " Cleaning up previous installs"
461431 rm -Rf bismark_*
462432 rm -Rf Bismark_*
433+ rm -Rf 0.22.3*
463434 rm -Rf $LKTOOLS_DIR /bismark
464435 rm -Rf $LKTOOLS_DIR /bismark2bedGraph
465436 rm -Rf $LKTOOLS_DIR /bismark2report
@@ -468,12 +439,12 @@ then
468439 rm -Rf $LKTOOLS_DIR /coverage2cytosine
469440 rm -Rf $LKTOOLS_DIR /deduplicate_bismark
470441
471- wget $WGET_OPTS https://github.com/FelixKrueger/Bismark/archive/0.17.0 .tar.gz
472- gunzip 0.17.0 .tar.gz
473- tar -xf 0.17.0 .tar
442+ wget $WGET_OPTS https://github.com/FelixKrueger/Bismark/archive/0.22.3 .tar.gz
443+ gunzip 0.22.3 .tar.gz
444+ tar -xf 0.22.3 .tar
474445 echo " Compressing TAR"
475- gzip 0.17.0 .tar
476- cd Bismark-0.17.0
446+ gzip 0.22.3 .tar
447+ cd Bismark-0.22.3
477448
478449 install ./bismark $LKTOOLS_DIR /bismark
479450 install ./bismark2bedGraph $LKTOOLS_DIR /bismark2bedGraph
885856 PIP_VERSION=` pip -V | cut -d ' (' -f 2 | sed ' s/python //' | cut -c 1 2> 1`
886857
887858 if [[ $PIP_VERSION == ' 2' ]]; then
888- CUTADAPT_BRANCH=' v3.4 '
859+ CUTADAPT_BRANCH=' v1.18 '
889860 fi
890861
891862 pip install --target ${LKTOOLS_DIR} /cutadapt_pip git+https://github.com/marcelm/cutadapt.git@${CUTADAPT_BRANCH}
@@ -1129,7 +1100,7 @@ echo "Installing lofreq"
11291100echo " "
11301101cd $LKSRC_DIR
11311102
1132- if [[ ! -e ${LKTOOLS_DIR} /trimmomatic.jar || ! -z $FORCE_REINSTALL ]];
1103+ if [[ ! -e ${LKTOOLS_DIR} /lofreq || ! -z $FORCE_REINSTALL ]];
11331104then
11341105 rm -Rf lofreq_star*
11351106 rm -Rf $LKTOOLS_DIR /lofreq_star*
0 commit comments