Mercurial > repos > idot > coverage_correlation
view mkCorr.sh @ 6:fcf85568a102
dont know how this worked. added coverages to mappable
author | Ido Tamir <ido.tamir@imp.ac.at> |
---|---|
date | Sun, 18 Aug 2013 17:18:16 +0200 |
parents | 9abd178b46bd |
children | 5a4cbfb5fbc5 |
line wrap: on
line source
#!/bin/sh TOOLDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #echo "running corr" #echo $PWD module () { eval `/usr/bin/modulecmd bash $*` } if [ -f /biosw/modules/init/modules-env.sh ]; then module load R/3.0.0 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