File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
SequenceAnalysis/pipeline_code Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -686,17 +686,16 @@ cd $LKSRC_DIR
686686if [[ ! -e ${LKTOOLS_DIR} /lastz || ! -z $FORCE_REINSTALL ]];
687687then
688688 echo " Cleaning up previous installs"
689- rm -Rf lastz-1.02.00*
689+ rm -Rf lastz-*
690+ rm -Rf 1.04.22*
690691 rm -Rf $LKTOOLS_DIR /lastz
691692
692- wget $WGET_OPTS http ://www.bx.psu.edu/miller_lab/dist/ lastz-1.02.00 .tar.gz
693- gunzip lastz-1.02.00 .tar.gz
694- tar -xf lastz-1.02.00 .tar
693+ wget $WGET_OPTS https ://github.com/lastz/ lastz/archive/refs/tags/1.04.22 .tar.gz
694+ gunzip 1.04.22 .tar.gz
695+ tar -xf 1.04.22 .tar
695696 echo " Compressing TAR"
696- gzip lastz-1.02.00.tar
697- cd lastz-distrib-1.02.00
698- mv src/Makefile src/Makefile.dist
699- sed ' s/-Werror //g' src/Makefile.dist > src/Makefile
697+ gzip 1.04.22.tar
698+ cd lastz-1.04.22
700699 make
701700
702701 install ./src/lastz $LKTOOLS_DIR /lastz
@@ -881,7 +880,15 @@ then
881880 rm -Rf $LKTOOLS_DIR /_preamble.py
882881 rm -Rf $LKTOOLS_DIR /cutadapt_pip
883882
884- pip install --target ${LKTOOLS_DIR} /cutadapt_pip git+https://github.com/marcelm/cutadapt.git
883+ CUTADAPT_BRANCH=v4.0
884+ pip -V
885+ PIP_VERSION=` pip -V | cut -d ' (' -f 2 | sed ' s/python //' | cut -c 1 2> 1`
886+
887+ if [[ $PIP_VERSION == ' 2' ]]; then
888+ CUTADAPT_BRANCH=' v3.4'
889+ fi
890+
891+ pip install --target ${LKTOOLS_DIR} /cutadapt_pip git+https://github.com/marcelm/cutadapt.git@${CUTADAPT_BRANCH}
885892 ln -s ${LKTOOLS_DIR} /cutadapt_pip/bin/cutadapt ${LKTOOLS_DIR} /cutadapt
886893else
887894 echo " Already installed"
You can’t perform that action at this time.
0 commit comments