view test/test.sh @ 19:2937e72e5891 draft

" master branch Updating"
author lain
date Tue, 18 Oct 2022 12:57:28 +0000
parents f4fc4a0f41e2
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}"