File: graph_hmm.cpp.stdout

package info (click to toggle)
seqan2 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228,748 kB
  • sloc: cpp: 257,602; ansic: 91,967; python: 8,326; sh: 1,056; xml: 570; makefile: 229; awk: 51; javascript: 21
file content (32 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//![print-model]
Alphabet:
{A,C,G,T}
States:
{0 (Silent),1,2,3,4 (Silent)}
Begin state: 0
End state: 4
Transition probabilities:
0 -> 1 (1) 
1 -> 2 (0.1) ,1 (0.9) 
2 -> 3 (1) 
3 -> 4 (0.1) ,3 (0.9) 
4 -> 
Emission probabilities:
1: A (0.25) ,C (0.25) ,G (0.25) ,T (0.25) 
2: A (0.05) ,C (0) ,G (0.95) ,T (0) 
3: A (0.4) ,C (0.1) ,G (0.1) ,T (0.4) 
//![print-model]
//![viterbi]
Viterbi algorithm
Probability of best path: 1.25465e-18
Sequence: 
C,T,T,C,A,T,G,T,G,A,A,A,G,C,A,G,A,C,G,T,A,A,G,T,C,A,
State path: 
0 (Silent),1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,3,3,3,3,3,3,4 (Silent)
//![viterbi]
//![forward-backward]
Forward algorithm
Probability that the HMM generated the sequence: 2.71585e-18
Backward algorithm
Probability that the HMM generated the sequence: 2.71585e-18
//![forward-backward]