From d8db988550d4cd0303f0b82a75499c2c94d97d45 Mon Sep 17 00:00:00 2001 From: Peter Carbonetto Date: Wed, 2 Aug 2017 16:50:23 -0500 Subject: Reformatted gemma calls in test_suite.sh. --- test/test_suite.sh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/test_suite.sh b/test/test_suite.sh index ebbe4c7..467056e 100755 --- a/test/test_suite.sh +++ b/test/test_suite.sh @@ -3,8 +3,10 @@ gemma=../bin/gemma testCenteredRelatednessMatrixK() { - $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt \ - -a ../example/mouse_hs1940.anno.txt -gk -o mouse_hs1940 + $gemma -g ../example/mouse_hs1940.geno.txt.gz \ + -p ../example/mouse_hs1940.pheno.txt \ + -a ../example/mouse_hs1940.anno.txt \ + -gk -o mouse_hs1940 assertEquals 0 $? grep "total computation time" < output/mouse_hs1940.log.txt assertEquals 0 $? @@ -16,9 +18,10 @@ testCenteredRelatednessMatrixK() { } testUnivariateLinearMixedModel() { - $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt -n 1 \ - -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt -lmm \ - -o mouse_hs1940_CD8_lmm + $gemma -g ../example/mouse_hs1940.geno.txt.gz \ + -p ../example/mouse_hs1940.pheno.txt -n 1 \ + -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \ + -lmm -o mouse_hs1940_CD8_lmm assertEquals 0 $? grep "total computation time" < output/mouse_hs1940_CD8_lmm.log.txt assertEquals 0 $? @@ -28,9 +31,10 @@ testUnivariateLinearMixedModel() { } testMultivariateLinearMixedModel() { - $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt \ - -n 1 6 -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \ - -lmm -o mouse_hs1940_CD8MCH_lmm + $gemma -g ../example/mouse_hs1940.geno.txt.gz \ + -p ../example/mouse_hs1940.pheno.txt -n 1 6 \ + -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \ + -lmm -o mouse_hs1940_CD8MCH_lmm assertEquals 0 $? grep "total computation time" < output/mouse_hs1940_CD8MCH_lmm.log.txt assertEquals 0 $? @@ -39,6 +43,7 @@ testMultivariateLinearMixedModel() { assertEquals "139867" `wc -w < $outfn` assertEquals "92079" `perl -nle '$sum += substr($_,0,6) } END { print $sum' $outfn` } + shunit2=`which shunit2` if [ -x "$shunit2" ]; then -- cgit v1.2.3