diff options
author | Peter Carbonetto | 2017-08-02 16:50:23 -0500 |
---|---|---|
committer | Peter Carbonetto | 2017-08-02 16:50:23 -0500 |
commit | d8db988550d4cd0303f0b82a75499c2c94d97d45 (patch) | |
tree | cca53dfe075817e9f2a0d224d116ee01284daedf /test | |
parent | adaf9557f776ca274b51e921af0542ef1b84eb61 (diff) | |
download | pangemma-d8db988550d4cd0303f0b82a75499c2c94d97d45.tar.gz |
Reformatted gemma calls in test_suite.sh.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_suite.sh | 21 |
1 files changed, 13 insertions, 8 deletions
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 |