From c2681ce7969f24083243a3cb6cd2cb63a774a025 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 24 Aug 2021 12:57:26 +0200 Subject: Tests: added K and LMM for BXD --- test/dev_tests.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- cgit v1.2.3