Skip to content

Commit

Permalink
fix errors on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus committed May 15, 2019
1 parent f6caf35 commit 62e50ba
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion install_templates/install_bowtie1.igui
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ APPBINARYDIR=${PROGDIR}/${PROG}/
mkdir -p "$PROGDIR"

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



Expand Down
2 changes: 2 additions & 0 deletions install_templates/install_bowtie2.igui
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ fi
## create progdir
mkdir -p "$PROGDIR"

rm -rf ${PROGDIR}/${PROG}/

#download and unzip
wget https://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.3.4.3/bowtie2-2.3.4.3-source.zip/download -O "$PROGDIR/$PROG.zip"

Expand Down
4 changes: 2 additions & 2 deletions install_templates/install_pureseqtm.igui
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! "$2" = "" ]; then

echo $2 | sudo -S dpkg --add-architecture i386
echo $2 | sudo -S apt-get update
echo $2 | sudo -S apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 gcc-multilib
echo $2 | sudo -S apt-get -y install libc6:i386 libncurses5:i386 libstdc++6:i386 gcc-multilib

fi

Expand Down Expand Up @@ -166,7 +166,7 @@ $NCCMD <<EOF
<if comp="IS_SET" value1="pureseqtm_plot" sep=" "><const>-P 1</const></if>
</add>

<execute program="run_pureseqtm" location="" exec="sh" param="\${bindir}/PureseqTM.sh \${cl} wsl="WSLsel">
<execute program="run_pureseqtm" location="" exec="sh" param="\${bindir}/PureseqTM.sh" \${cl} wsl="WSLsel">
<output type="FILE_STD" color="green" location="\${pureseqtm_output}" />
<output type="CERR" color="red" to="outputstream2" />
</execute>
Expand Down
10 changes: 7 additions & 3 deletions install_templates/install_rnahybrid.igui
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,13 @@ tar xfz rnahybrid.tar.gz -C "$PROGDIR/$PROG/"
cd "$PROGDIR/$PROG/"
mv */* .

CC=gcc-8 CXX=g++-8 ./configure
make

if [ "$(uname)" == "Darwin" ]; then
CC=gcc-8 CXX=g++-8 ./configure
make
else
./configure
make
fi

if [ $# -gt 2 ]; then
if [ "$3" = "1" ]; then
Expand Down
7 changes: 5 additions & 2 deletions install_templates/install_spades.igui
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ mv */* .

cd "$PROGDIR/$PROG/"

CC=gcc-8 CXX=g++-8 PREFIX="$PROGDIR/$PROG/" ./spades_compile.sh

if [ "$(uname)" == "Darwin" ]; then
CC=gcc-8 CXX=g++-8 PREFIX="$PROGDIR/$PROG/" ./spades_compile.sh
else
PREFIX="$PROGDIR/$PROG/" ./spades_compile.sh
fi

if [ $# -gt 2 ]; then
if [ "$3" = "1" ]; then
Expand Down

0 comments on commit 62e50ba

Please sign in to comment.