Mercurial > repos > idot > coverage_correlation
annotate 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 |
rev | line source |
---|---|
1 | 1 #!/bin/sh |
2 TOOLDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
3 | |
4 #echo "running corr" | |
5 #echo $PWD | |
6 | |
7 if [ -f /biosw/modules/init/modules-env.sh ]; then | |
14 | 8 . /etc/profile.d/modules.sh |
9 source ~/R3.sh | |
1 | 10 fi; |
11 | |
12 cp $TOOLDIR/corr.R $PWD | |
13 | |
5 | 14 ./corr.R "$@" >> err.log 2>&1 |
1 | 15 |
16 if [ $? -eq 0 ] | |
17 then | |
18 echo 'correlation result' | |
19 exit 0 | |
20 else | |
21 cat err.log >&2 | |
22 exit 1 | |
23 fi |