Commit 2e7c741e authored by Robin Erich Muench's avatar Robin Erich Muench
Browse files

update metaSNP_distances.sh

parent ed30b5dc
......@@ -37,6 +37,7 @@ dir_missing() {
exit 1
}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
IN_DIR="$1"
OUT_DIR="$2"
......@@ -48,6 +49,6 @@ OUT_DIR="$2"
[ -d "$OUT_DIR" ] || dir_missing "$OUT_DIR"
## Commandlines:
for i in $(ls $IN_DIR"/"*.freq); do echo "/g/bork3/home/costea/R-3.0.2/bin/R --no-save --file=src/computeDistances.R --args $i $OUT_DIR"; done
for i in $(ls $IN_DIR"/"*.freq); do echo "/g/bork3/home/costea/R-3.0.2/bin/R --no-save --file=$DIR/src/computeDistances.R --args $i $OUT_DIR"; done
exit
exit
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment