Line | |
---|
1 | // enums.h |
---|
2 | // Define enum types. |
---|
3 | // Exploit macro hacks to avoid lots of repetetive typing. |
---|
4 | // Generally I am opposed to macro hacks because of the |
---|
5 | // highly obscure code that results, but in this case it |
---|
6 | // makes maintenance much easier and less error-prone. |
---|
7 | // The idea is that this file can be included in different |
---|
8 | // places with different definitions of s (Start), c (Case) |
---|
9 | // and e (End). See types.h. |
---|
10 | |
---|
11 | s(ALPHA) |
---|
12 | c(ALPHA, Amino) |
---|
13 | c(ALPHA, DNA) |
---|
14 | c(ALPHA, RNA) |
---|
15 | e(ALPHA) |
---|
16 | |
---|
17 | s(SEQTYPE) |
---|
18 | c(SEQTYPE, Protein) |
---|
19 | c(SEQTYPE, DNA) |
---|
20 | c(SEQTYPE, RNA) |
---|
21 | c(SEQTYPE, Auto) |
---|
22 | e(SEQTYPE) |
---|
23 | |
---|
24 | s(ROOT) |
---|
25 | c(ROOT, Pseudo) |
---|
26 | c(ROOT, MidLongestSpan) |
---|
27 | c(ROOT, MinAvgLeafDist) |
---|
28 | e(ROOT) |
---|
29 | |
---|
30 | s(CLUSTER) |
---|
31 | c(CLUSTER, UPGMA) |
---|
32 | c(CLUSTER, UPGMAMax) |
---|
33 | c(CLUSTER, UPGMAMin) |
---|
34 | c(CLUSTER, UPGMB) |
---|
35 | c(CLUSTER, NeighborJoining) |
---|
36 | e(CLUSTER) |
---|
37 | |
---|
38 | s(JOIN) |
---|
39 | c(JOIN, NearestNeighbor) |
---|
40 | c(JOIN, NeighborJoining) |
---|
41 | e(JOIN) |
---|
42 | |
---|
43 | s(LINKAGE) |
---|
44 | c(LINKAGE, Min) |
---|
45 | c(LINKAGE, Avg) |
---|
46 | c(LINKAGE, Max) |
---|
47 | c(LINKAGE, NeighborJoining) |
---|
48 | c(LINKAGE, Biased) |
---|
49 | e(LINKAGE) |
---|
50 | |
---|
51 | s(DISTANCE) |
---|
52 | c(DISTANCE, Kmer6_6) |
---|
53 | c(DISTANCE, Kmer20_3) |
---|
54 | c(DISTANCE, Kmer20_4) |
---|
55 | c(DISTANCE, Kbit20_3) |
---|
56 | c(DISTANCE, Kmer4_6) |
---|
57 | c(DISTANCE, PctIdKimura) |
---|
58 | c(DISTANCE, PctIdLog) |
---|
59 | c(DISTANCE, PWKimura) |
---|
60 | c(DISTANCE, PWScoreDist) |
---|
61 | c(DISTANCE, ScoreDist) |
---|
62 | c(DISTANCE, Edit) |
---|
63 | e(DISTANCE) |
---|
64 | |
---|
65 | s(PPSCORE) |
---|
66 | c(PPSCORE, LE) |
---|
67 | c(PPSCORE, SP) |
---|
68 | c(PPSCORE, SV) |
---|
69 | c(PPSCORE, SPN) |
---|
70 | e(PPSCORE) |
---|
71 | |
---|
72 | s(SEQWEIGHT) |
---|
73 | c(SEQWEIGHT, None) |
---|
74 | c(SEQWEIGHT, Henikoff) |
---|
75 | c(SEQWEIGHT, HenikoffPB) |
---|
76 | c(SEQWEIGHT, GSC) |
---|
77 | c(SEQWEIGHT, ClustalW) |
---|
78 | c(SEQWEIGHT, ThreeWay) |
---|
79 | e(SEQWEIGHT) |
---|
80 | |
---|
81 | s(OBJSCORE) |
---|
82 | c(OBJSCORE, SP) // Sum of Pairs of sequences |
---|
83 | c(OBJSCORE, DP) // Dynamic Programming score |
---|
84 | c(OBJSCORE, XP) // Cross Pairs = sum of pairs between two MSAs |
---|
85 | c(OBJSCORE, PS) // sum of Prof-Seq score for all seqs in MSA |
---|
86 | c(OBJSCORE, SPF) // sum of pairs, fast approximation |
---|
87 | c(OBJSCORE, SPM) // sp if <= 100 seqs, spf otherwise |
---|
88 | e(OBJSCORE) |
---|
89 | |
---|
90 | s(TERMGAPS) |
---|
91 | c(TERMGAPS, Full) |
---|
92 | c(TERMGAPS, Half) |
---|
93 | c(TERMGAPS, Ext) |
---|
94 | e(TERMGAPS) |
---|
95 | |
---|
96 | #undef s |
---|
97 | #undef c |
---|
98 | #undef e |
---|
Note: See
TracBrowser
for help on using the repository browser.