Mercurial > repos > lain > xseekerpreparator
annotate test/test.sh @ 19:2937e72e5891 draft
" master branch Updating"
| author | lain |
|---|---|
| date | Tue, 18 Oct 2022 12:57:28 +0000 |
| parents | f4fc4a0f41e2 |
| children |
| rev | line source |
|---|---|
| 0 | 1 #!/bin/sh |
| 2 | |
| 3 currdir=`pwd` | |
| 4 cd `dirname $(readlink -f $0)` | |
| 5 | |
| 6 ln -s ../data/ ./data | |
| 7 | |
| 19 | 8 # alias Rscript=~/R-versions/R-4.1.2/bin/Rscript |
| 9 | |
| 10 Rscript $(realpath ../XSeekerPreparator.R) \ | |
| 11 | 11 -i $(realpath ../data/test.rdata) \ |
| 0 | 12 -m $(realpath ../data/models.R) \ |
| 13 -c $(realpath ../data/SERUM_v2019Jan17.tabular) \ | |
| 14 -o $(realpath ../test.sqlite) \ | |
| 19 | 15 $@ \ |
| 0 | 16 || true |
| 17 | |
| 18 | |
| 19 | |
| 20 rm -rf "./data" | |
| 21 cd "${currdir}" |
