comparison deseq-hts_1.0/bin/start_interpreter.sh @ 9:e27b4f7811c2 draft

Updated DESeq version 1.12
author vipints <vipin@cbio.mskcc.org>
date Tue, 08 Oct 2013 08:09:28 -0400
parents 94a108763d9e
children
comparison
equal deleted inserted replaced
8:2b3bb3348076 9:e27b4f7811c2
3 3
4 set -e 4 set -e
5 5
6 . `dirname $0`/deseq_config.sh 6 . `dirname $0`/deseq_config.sh
7 7
8 export MATLAB_RETURN_FILE=`tempfile` 8 export MATLAB_RETURN_FILE=`mktemp`
9 9
10 if [ "$INTERPRETER" == 'octave' ]; 10 if [ "$INTERPRETER" == 'octave' ];
11 then 11 then
12 echo exit | ${OCTAVE_BIN_PATH} --eval "global SHELL_INTERPRETER_INVOKE; SHELL_INTERPRETER_INVOKE=1; addpath $DESEQ_SRC_PATH; deseq_config; $1($2); exit;" || (echo starting Octave failed; rm -f $MATLAB_RETURN_FILE; exit -1) ; 12 echo exit | ${OCTAVE_BIN_PATH} --no-window-system --silent --eval "global SHELL_INTERPRETER_INVOKE; SHELL_INTERPRETER_INVOKE=1; addpath $DESEQ_SRC_PATH; deseq_config; $1($2); exit;" || (echo starting Octave failed; rm -f $MATLAB_RETURN_FILE; exit -1) ;
13 fi 13 fi
14 14
15 if [ "$INTERPRETER" == 'matlab' ]; 15 if [ "$INTERPRETER" == 'matlab' ];
16 then 16 then
17 echo exit | ${MATLAB_BIN_PATH} -nodisplay -r "global SHELL_INTERPRETER_INVOKE; SHELL_INTERPRETER_INVOKE=1; addpath $DESEQ_SRC_PATH; deseq_config; $1($2); exit;" || (echo starting Matlab failed; rm -f $MATLAB_RETURN_FILE; exit -1) ; 17 echo exit | ${MATLAB_BIN_PATH} -nodisplay -r "global SHELL_INTERPRETER_INVOKE; SHELL_INTERPRETER_INVOKE=1; addpath $DESEQ_SRC_PATH; deseq_config; $1($2); exit;" || (echo starting Matlab failed; rm -f $MATLAB_RETURN_FILE; exit -1) ;