Test script for Potts code.
authorDariusz Murakowski <murakdar@mit.edu>
Sat, 9 May 2015 17:15:17 +0000 (13:15 -0400)
committerDariusz Murakowski <murakdar@mit.edu>
Sat, 9 May 2015 17:15:17 +0000 (13:15 -0400)
test/potts-init-state.st [new file with mode: 0644]
test/potts-test-seq2state.dat [new file with mode: 0644]
test/potts-test.ep [new file with mode: 0644]
test/potts-test.j [new file with mode: 0644]
test/ss_potts.test [new file with mode: 0755]
test/ss_potts.test.expected-err [new file with mode: 0644]
test/ss_potts.test.expected-out [new file with mode: 0644]

diff --git a/test/potts-init-state.st b/test/potts-init-state.st
new file mode 100644 (file)
index 0000000..8bbd846
--- /dev/null
@@ -0,0 +1 @@
+1.0 GCTAAT
diff --git a/test/potts-test-seq2state.dat b/test/potts-test-seq2state.dat
new file mode 100644 (file)
index 0000000..16e263d
--- /dev/null
@@ -0,0 +1,2 @@
+A F X L
+N X S
diff --git a/test/potts-test.ep b/test/potts-test.ep
new file mode 100644 (file)
index 0000000..4599ef8
--- /dev/null
@@ -0,0 +1,2 @@
+1.0    A       0-0
+1.0 N 1-1
diff --git a/test/potts-test.j b/test/potts-test.j
new file mode 100644 (file)
index 0000000..df9a775
--- /dev/null
@@ -0,0 +1,3 @@
+-4.379471e+00  -4.705846e+00   -4.575182e+00
+-2.002159e+00  -5.138039e+00
+-2.028896e+00  1.535663e+00    -1.902144e-01   -2.609293e-01   9.471290e-01    4.140849e-01
diff --git a/test/ss_potts.test b/test/ss_potts.test
new file mode 100755 (executable)
index 0000000..2b3b730
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+EXE=../ss
+${EXE} -potts -i potts-test -I potts-test -s potts-init-state -ep potts-test -epM0 30 -epN0 10 -epT0 40 -mu 3e-5 -e 3 -t 1 -v -seed 31415 -numruns 2
diff --git a/test/ss_potts.test.expected-err b/test/ss_potts.test.expected-err
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/test/ss_potts.test.expected-out b/test/ss_potts.test.expected-out
new file mode 100644 (file)
index 0000000..7049c4a
--- /dev/null
@@ -0,0 +1,20 @@
+seed = 31415
+initializing potts
+1 GCTAAT
+1      A       0 
+1      N       1 
+time   I       M       N       T1      T2      T3      T4      T5      T6      T7      T8      T9
+0      100000 100000(AN)       30      10      40      0       0       0       0       0       0       0       0
+1.00001        127039 9(AL) 127027(AN) 1(PN) 2(SN)     31      15      4       11      21      40      68      108     154     193     142
+2.00001        159237 44(AL) 159184(AN) 3(PN) 5(SN) 1(VN)      47      20      1       3       20      24      49      112     189     315     560
+3      199179 122(AL) 199012(AN) 3(DN) 11(PN) 19(SN) 7(TN) 5(VN)       59      26      5       7       15      22      28      81      126     252     544
+initializing potts
+1 GCTAAT
+1 GCTAAT
+1      A       0 
+1      N       1 
+time   I       M       N       T1      T2      T3      T4      T5      T6      T7      T8      T9
+0      200000 100000(AN)       30      10      40      0       0       0       0       0       0       0       0
+1      127755 15(AL) 127734(AN) 1(SN) 5(TN)    35      17      1       4       19      47      75      135     143     181     188
+2      160924 46(AL) 160849(AN) 5(DN) 4(PN) 3(SN) 15(TN) 2(VN) 59      23      2       7       9       19      20      46      122     255     493
+3.00001        204187 113(AL) 203968(AN) 12(DN) 12(PN) 19(SN) 63(TN)   58      31      3       17      20      26      41      54      93      147     290