Skip to content

Commit

Permalink
fixes for mimira
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoppich committed May 15, 2019
1 parent 90e49f0 commit c9fc5fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
20 changes: 8 additions & 12 deletions install_templates/install_bowtie1.igui
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ if [ ! "$2" = "" ]; then

if [ "$(uname)" == "Darwin" ]; then

echo "Installing brew wget gcc@8 tbb"
brew install wget gcc@8 tbb

echo $2 | sudo -S pip install numpy scipy pysam
echo "bowtie1 install module is not compatible with Mac OS. Use bowtie2"
exit;

else

echo "Installing dependencies"
echo $2 | sudo -S apt-get update
echo $2 | sudo -S apt-get -y install python

echo $2 | sudo -S pip install numpy scipy pysam
fi
echo "Installing dependencies"
echo $2 | sudo -S apt-get update
echo $2 | sudo -S apt-get -y install libtbb-dev
fi

else
echo "No sudo password, not installing dependencies"
Expand All @@ -45,7 +41,7 @@ APPBINARYDIR=${PROGDIR}/${PROG}/
mkdir -p "$PROGDIR"

#download and unzip
wget https://sourceforge.net/projects/bowtie-bio/files/bowtie/1.1.2/bowtie-1.1.2-src.zip/download -O "$PROGDIR/$PROG.zip"
wget https://sourceforge.net/projects/bowtie-bio/files/bowtie/1.2.2/bowtie-1.2.2-src.zip/download -O "$PROGDIR/$PROG.zip"



Expand All @@ -70,7 +66,7 @@ if [ $# -gt 2 ]; then
fi

APPBINARYESC="${PROGDIRESC}/${PROG}/"
APPBINARY="${PROGDIRESC}/${PROG}/bowtie"
APPBINARY="${PROGDIRESC}/${PROG}/bowtie-align-s"
if [ -z "$(ls -A ${APPBINARYESC})" ] || [ ! -f ${APPBINARY} ]; then
(>&2 echo ${APPBINARYESC})
(>&2 ls ${APPBINARYESC})
Expand Down
2 changes: 1 addition & 1 deletion install_templates/install_bowtie2.igui
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fi


APPBINARYESC="${PROGDIRESC}/${PROG}/"
APPBINARY="${PROGDIRESC}/${PROG}/bowtie2"
APPBINARY="${PROGDIRESC}/${PROG}/bowtie2-align-s"
if [ -z "$(ls -A ${APPBINARYESC})" ] || [ ! -f ${APPBINARY} ]; then
(>&2 echo ${APPBINARYESC})
(>&2 ls ${APPBINARYESC})
Expand Down
4 changes: 2 additions & 2 deletions install_templates/install_mm_asm_racon.igui
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ git clone https://github.com/lh3/minimap2 minimap2
cd minimap2

if [ "$(uname)" == "Darwin" ]; then
make CC=g++-8
make CC=gcc-8
else
make
fi
Expand All @@ -60,7 +60,7 @@ git clone https://github.com/lh3/miniasm miniasm
cd miniasm

if [ "$(uname)" == "Darwin" ]; then
make CC=g++-8
make CC=gcc-8
else
make
fi
Expand Down

0 comments on commit c9fc5fc

Please sign in to comment.