aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Carbonetto2017-08-02 16:50:23 -0500
committerPeter Carbonetto2017-08-02 16:50:23 -0500
commitd8db988550d4cd0303f0b82a75499c2c94d97d45 (patch)
treecca53dfe075817e9f2a0d224d116ee01284daedf /test
parentadaf9557f776ca274b51e921af0542ef1b84eb61 (diff)
downloadpangemma-d8db988550d4cd0303f0b82a75499c2c94d97d45.tar.gz
Reformatted gemma calls in test_suite.sh.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_suite.sh21
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