Mercurial > repos > idot > coverage_correlation
view mkCorr.sh @ 14:5a4cbfb5fbc5 default tip
loading R3.0.2
author | Ido Tamir <ido.tamir@imp.ac.at> |
---|---|
date | Mon, 27 Oct 2014 10:57:35 +0100 |
parents | 9abd178b46bd |
children |
line wrap: on
line source
#!/bin/sh TOOLDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #echo "running corr" #echo $PWD if [ -f /biosw/modules/init/modules-env.sh ]; then . /etc/profile.d/modules.sh source ~/R3.sh fi; cp $TOOLDIR/corr.R $PWD ./corr.R "$@" >> err.log 2>&1 if [ $? -eq 0 ] then echo 'correlation result' exit 0 else cat err.log >&2 exit 1 fi