view test/test.sh @ 20:ce94e7a141bb draft default tip

" master branch Updating"
author lain
date Tue, 06 Dec 2022 10:18:10 +0000
parents 2937e72e5891
children
line wrap: on
line source

#!/bin/sh

currdir=`pwd`
cd `dirname $(readlink -f $0)`

ln -s ../data/ ./data

# alias Rscript=~/R-versions/R-4.1.2/bin/Rscript

Rscript $(realpath ../XSeekerPreparator.R)  \
    -i $(realpath ../data/test.rdata)         \
    -m $(realpath ../data/models.R)                 \
    -c $(realpath ../data/SERUM_v2019Jan17.tabular) \
    -o $(realpath ../test.sqlite)                   \
    $@ \
|| true



rm -rf "./data"
cd "${currdir}"