diff options
author | Pjotr Prins | 2021-08-24 12:57:26 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-08-24 12:57:26 +0200 |
commit | c2681ce7969f24083243a3cb6cd2cb63a774a025 (patch) | |
tree | cc2a47c6e106b1c67e449f2a94cfc148e0034de9 /test | |
parent | ed93be1f03feb862d2bb342e46712ad194eefd4a (diff) | |
download | pangemma-c2681ce7969f24083243a3cb6cd2cb63a774a025.tar.gz |
Tests: added K and LMM for BXD
Diffstat (limited to 'test')
-rw-r--r-- | test/dev_tests.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/dev_tests.rb b/test/dev_tests.rb index 8ce8dbc..d63b8fe 100644 --- a/test/dev_tests.rb +++ b/test/dev_tests.rb @@ -22,4 +22,22 @@ class TestQuick < MiniTest::Test [3,9,"3.909916e-02"]]) end + def test_BXD + assert gemma("-g ./example/BXD_geno.txt.gz \ + -p ./example/BXD_pheno.txt \ + -c ./example/BXD_covariates2.txt \ + -a ./example/BXD_snps.txt \ + -gk \ + -o BXD") + + assert 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 2 -no-check -maf 0.1 \ + -o BXDLMM") + + expect("output/BXDLMM.assoc.txt",[[2,9,"1.234747e-01"]]) + end end |