about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorPjotr Prins2021-08-25 13:43:25 +0200
committerPjotr Prins2021-08-25 13:43:25 +0200
commit145fa09bcd78e46d21bd06771f01174e46ea875e (patch)
tree8bbc5ad74349c9177c15c3beecba820f043c4d8d /test
parent8d010946a77e961ec58034b590bb3f13ab20a57f (diff)
downloadpangemma-145fa09bcd78e46d21bd06771f01174e46ea875e.tar.gz
Add -lmm 9 test and make sure other file formats work
Diffstat (limited to 'test')
-rw-r--r--test/dev_tests.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/dev_tests.rb b/test/dev_tests.rb
index fc2f7bb..49068dc 100644
--- a/test/dev_tests.rb
+++ b/test/dev_tests.rb
@@ -40,6 +40,17 @@ class TestQuick < MiniTest::Test
 
     expect("output/BXDLMM.assoc.txt",[[2,9,"1.234747e-01"],
                                       [:max,"p_lrt","9.997119e-01"]])
+
+    gemma("-g ./example/BXD_geno.txt.gz \
+           -p ./example/BXD_pheno.txt \
+           -c ./example/BXD_covariates2.txt \
+           -a ./example/BXD_snps.txt \
+           -k ./output/BXD.cXX.txt \
+           -lmm 9 -no-check -maf 0.1 \
+           -o BXDLMM9")
+
+    expect("output/BXDLMM9.assoc.txt",[[:max,"l_mle","0.7531109"],
+                                       [:max,"p_lrt","9.997119e-01"]])
   end
 
   def test_mouse_hs1940_loco