Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Robin Erich Muench
metaSNV
Commits
2e7c741e
Commit
2e7c741e
authored
Jan 09, 2017
by
Robin Erich Muench
Browse files
update metaSNP_distances.sh
parent
ed30b5dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
metaSNP_distances.sh
View file @
2e7c741e
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment