source: trunk/EDIT4/ed4_awars.hxx

Last change on this file was 15223, checked in by westram, 8 years ago
  • reintegrates 'flags' into 'trunk'
    • DRYed
      • group generation code
      • ref-terminal access
    • layout done by managers (removed manual coordinate calculation)
    • dynamic size calculated by terminals themselves
    • fix design issues
      • brackets were used where groups should have been used. fixed
      • fix many bad/spammy names
    • fix broken member-code (only worked with a NULL sentinel present)
    • dynamic indentation (according to visible group-nesting)
  • adds: log:branches/flags@15098:15222
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.3 KB
Line 
1// ================================================================= //
2//                                                                   //
3//   File      : ed4_awars.hxx                                       //
4//   Purpose   : edit4 awars                                         //
5//                                                                   //
6//   Institute of Microbiology (Technical University Munich)         //
7//   http://www.arb-home.de/                                         //
8//                                                                   //
9// ================================================================= //
10
11#ifndef ED4_AWARS_HXX
12#define ED4_AWARS_HXX
13
14#define ED4_TEMP_AWAR        "/tmp/edit4/" // path for temporary awars
15#define ED4_SEARCH_SAVE_BASE ED4_TEMP_AWAR "srchpara"
16
17//      Level 1 Options
18
19#define ED4_AWAR_SEQUENCE_INFO_WIDTH "sequence_info/width"
20#define ED4_AWAR_TREE_WIDTH          "tree/width"
21
22#define ED4_AWAR_COMPRESS_SEQUENCE_TYPE    "sequence/compression_type"
23#define ED4_AWAR_COMPRESS_SEQUENCE_GAPS    "sequence/compression_type_gaps"
24#define ED4_AWAR_COMPRESS_SEQUENCE_HIDE    "sequence/compression_type_hide"
25#define ED4_AWAR_COMPRESS_SEQUENCE_PERCENT "sequence/compression_type_hide_percent"
26
27#define ED4_AWAR_DIGITS_AS_REPEAT "edit/digits_as_repeat"
28#define ED4_AWAR_FAST_CURSOR_JUMP "edit/fast_cursor_jump"
29#define ED4_AWAR_CURSOR_TYPE      "edit/cursor_type"
30
31#define ED4_AWAR_SCROLL_SPEED_X "scrolling/speed_x"
32#define ED4_AWAR_SCROLL_SPEED_Y "scrolling/speed_y"
33#define ED4_AWAR_SCROLL_MARGIN  "scrolling/margin"
34
35#define ED4_AWAR_GAP_CHARS                 "sequence/gap_chars"
36#define ED4_AWAR_ANNOUNCE_CHECKSUM_CHANGES "sequence/announce_checksum_changes"
37
38//      Expert Options
39
40#define ED4_AWAR_GROUP_INDENT "group/indent" // Width of Group Bracket
41#define ED4_AWAR_GROUP_COLOR  "group/color" // Color Nr for Brackets
42
43//      consensus definition
44
45#define ED4_AWAR_CONSENSUS_COUNTGAPS   "con/countgaps"
46#define ED4_AWAR_CONSENSUS_GAPBOUND    "con/gapbound"
47#define ED4_AWAR_CONSENSUS_GROUP       "con/group"
48#define ED4_AWAR_CONSENSUS_CONSIDBOUND "con/considbound"
49#define ED4_AWAR_CONSENSUS_UPPER       "con/upper"
50#define ED4_AWAR_CONSENSUS_LOWER       "con/lower"
51#define ED4_AWAR_CONSENSUS_SHOW        "con/show"
52
53//      create species from consensus
54
55#define ED4_AWAR_CREATE_FROM_CONS_REPL_EQUAL    "concreate/repl_equal"
56#define ED4_AWAR_CREATE_FROM_CONS_REPL_POINT    "concreate/repl_point"
57#define ED4_AWAR_CREATE_FROM_CONS_CREATE_POINTS "concreate/create_points"
58#define ED4_AWAR_CREATE_FROM_CONS_ALL_UPPER     "concreate/all_upper"
59#define ED4_AWAR_CREATE_FROM_CONS_DATA_SOURCE   "concreate/data_source"
60
61//      Replace awars
62
63#define ED4_AWAR_REP_SEARCH_PATTERN  "replace/spat"
64#define ED4_AWAR_REP_REPLACE_PATTERN "replace/rpat"
65
66//      NDS awars
67
68#define ED4_AWAR_NDS_SELECT               "nds/select"
69#define ED4_AWAR_NDS_SELECT_TEMPLATE      "nds/pat_%i/select"
70#define ED4_AWAR_NDS_DESCRIPTION_TEMPLATE "nds/pat_%i/description"
71#define ED4_AWAR_NDS_ACI_TEMPLATE         "nds/pat_%i/aci"
72#define ED4_AWAR_NDS_WIDTH_TEMPLATE       "nds/pat_%i/width"
73#define ED4_AWAR_NDS_INFO_WIDTH           "nds/infowidth"
74#define ED4_AWAR_NDS_ECOLI_NAME           "nds/ecoliname"
75
76//      Search awars
77
78#define ED4_AWAR_USER1_SEARCH_PATTERN        "search/user1/pattern"
79#define ED4_AWAR_USER1_SEARCH_MIN_MISMATCHES "search/user1/min_mismatches"
80#define ED4_AWAR_USER1_SEARCH_MAX_MISMATCHES "search/user1/max_mismatches"
81#define ED4_AWAR_USER1_SEARCH_CASE           "search/user1/case"
82#define ED4_AWAR_USER1_SEARCH_TU             "search/user1/tu"
83#define ED4_AWAR_USER1_SEARCH_PAT_GAPS       "search/user1/pat_gaps"
84#define ED4_AWAR_USER1_SEARCH_SEQ_GAPS       "search/user1/seq_gaps"
85#define ED4_AWAR_USER1_SEARCH_SHOW           "search/user1/show"
86#define ED4_AWAR_USER1_SEARCH_OPEN_FOLDED    "search/user1/open_folded"
87#define ED4_AWAR_USER1_SEARCH_AUTO_JUMP      "search/user1/autoJump"
88#define ED4_AWAR_USER1_SEARCH_REVERSE        "search/user1/reverse"
89#define ED4_AWAR_USER1_SEARCH_COMPLEMENT     "search/user1/complement"
90#define ED4_AWAR_USER1_SEARCH_EXACT          "search/user1/exact"
91
92#define ED4_AWAR_USER2_SEARCH_PATTERN        "search/user2/pattern"
93#define ED4_AWAR_USER2_SEARCH_MIN_MISMATCHES "search/user2/min_mismatches"
94#define ED4_AWAR_USER2_SEARCH_MAX_MISMATCHES "search/user2/max_mismatches"
95#define ED4_AWAR_USER2_SEARCH_CASE           "search/user2/case"
96#define ED4_AWAR_USER2_SEARCH_TU             "search/user2/tu"
97#define ED4_AWAR_USER2_SEARCH_PAT_GAPS       "search/user2/pat_gaps"
98#define ED4_AWAR_USER2_SEARCH_SEQ_GAPS       "search/user2/seq_gaps"
99#define ED4_AWAR_USER2_SEARCH_SHOW           "search/user2/show"
100#define ED4_AWAR_USER2_SEARCH_OPEN_FOLDED    "search/user2/open_folded"
101#define ED4_AWAR_USER2_SEARCH_AUTO_JUMP      "search/user2/autoJump"
102#define ED4_AWAR_USER2_SEARCH_REVERSE        "search/user2/reverse"
103#define ED4_AWAR_USER2_SEARCH_COMPLEMENT     "search/user2/complement"
104#define ED4_AWAR_USER2_SEARCH_EXACT          "search/user2/exact"
105
106#define ED4_AWAR_PROBE_SEARCH_PATTERN        AWAR_TARGET_STRING // s.a.: PROBE_DESIGN/probe_design.cxx
107#define ED4_AWAR_PROBE_SEARCH_MIN_MISMATCHES "search/probe/min_mismatches"
108#define ED4_AWAR_PROBE_SEARCH_MAX_MISMATCHES AWAR_MAX_MISMATCHES
109#define ED4_AWAR_PROBE_SEARCH_CASE           "search/probe/case"
110#define ED4_AWAR_PROBE_SEARCH_TU             "search/probe/tu"
111#define ED4_AWAR_PROBE_SEARCH_PAT_GAPS       "search/probe/pat_gaps"
112#define ED4_AWAR_PROBE_SEARCH_SEQ_GAPS       "search/probe/seq_gaps"
113#define ED4_AWAR_PROBE_SEARCH_SHOW           "search/probe/show"
114#define ED4_AWAR_PROBE_SEARCH_OPEN_FOLDED    "search/probe/open_folded"
115#define ED4_AWAR_PROBE_SEARCH_AUTO_JUMP      "search/probe/autoJump"
116#define ED4_AWAR_PROBE_SEARCH_REVERSE        "search/probe/reverse"
117#define ED4_AWAR_PROBE_SEARCH_COMPLEMENT     "search/probe/complement"
118#define ED4_AWAR_PROBE_SEARCH_EXACT          "search/probe/exact"
119
120#define ED4_AWAR_PRIMER1_SEARCH_PATTERN        AWAR_PRIMER_TARGET_STRING
121#define ED4_AWAR_PRIMER1_SEARCH_MIN_MISMATCHES "search/primer1/min_mismatches"
122#define ED4_AWAR_PRIMER1_SEARCH_MAX_MISMATCHES "search/primer1/max_mismatches"
123#define ED4_AWAR_PRIMER1_SEARCH_CASE           "search/primer1/case"
124#define ED4_AWAR_PRIMER1_SEARCH_TU             "search/primer1/tu"
125#define ED4_AWAR_PRIMER1_SEARCH_PAT_GAPS       "search/primer1/pat_gaps"
126#define ED4_AWAR_PRIMER1_SEARCH_SEQ_GAPS       "search/primer1/seq_gaps"
127#define ED4_AWAR_PRIMER1_SEARCH_SHOW           "search/primer1/show"
128#define ED4_AWAR_PRIMER1_SEARCH_OPEN_FOLDED    "search/primer1/open_folded"
129#define ED4_AWAR_PRIMER1_SEARCH_AUTO_JUMP      "search/primer1/autoJump"
130#define ED4_AWAR_PRIMER1_SEARCH_REVERSE        "search/primer1/reverse"
131#define ED4_AWAR_PRIMER1_SEARCH_COMPLEMENT     "search/primer1/complement"
132#define ED4_AWAR_PRIMER1_SEARCH_EXACT          "search/primer1/exact"
133
134#define ED4_AWAR_PRIMER2_SEARCH_PATTERN        "search/primer2/pattern"
135#define ED4_AWAR_PRIMER2_SEARCH_MIN_MISMATCHES "search/primer2/min_mismatches"
136#define ED4_AWAR_PRIMER2_SEARCH_MAX_MISMATCHES "search/primer2/max_mismatches"
137#define ED4_AWAR_PRIMER2_SEARCH_CASE           "search/primer2/case"
138#define ED4_AWAR_PRIMER2_SEARCH_TU             "search/primer2/tu"
139#define ED4_AWAR_PRIMER2_SEARCH_PAT_GAPS       "search/primer2/pat_gaps"
140#define ED4_AWAR_PRIMER2_SEARCH_SEQ_GAPS       "search/primer2/seq_gaps"
141#define ED4_AWAR_PRIMER2_SEARCH_SHOW           "search/primer2/show"
142#define ED4_AWAR_PRIMER2_SEARCH_OPEN_FOLDED    "search/primer2/open_folded"
143#define ED4_AWAR_PRIMER2_SEARCH_AUTO_JUMP      "search/primer2/autoJump"
144#define ED4_AWAR_PRIMER2_SEARCH_REVERSE        "search/primer2/reverse"
145#define ED4_AWAR_PRIMER2_SEARCH_COMPLEMENT     "search/primer2/complement"
146#define ED4_AWAR_PRIMER2_SEARCH_EXACT          "search/primer2/exact"
147
148#define ED4_AWAR_PRIMER3_SEARCH_PATTERN        "search/primer3/pattern"
149#define ED4_AWAR_PRIMER3_SEARCH_MIN_MISMATCHES "search/primer3/min_mismatches"
150#define ED4_AWAR_PRIMER3_SEARCH_MAX_MISMATCHES "search/primer3/max_mismatches"
151#define ED4_AWAR_PRIMER3_SEARCH_CASE           "search/primer3/case"
152#define ED4_AWAR_PRIMER3_SEARCH_TU             "search/primer3/tu"
153#define ED4_AWAR_PRIMER3_SEARCH_PAT_GAPS       "search/primer3/pat_gaps"
154#define ED4_AWAR_PRIMER3_SEARCH_SEQ_GAPS       "search/primer3/seq_gaps"
155#define ED4_AWAR_PRIMER3_SEARCH_SHOW           "search/primer3/show"
156#define ED4_AWAR_PRIMER3_SEARCH_OPEN_FOLDED    "search/primer3/open_folded"
157#define ED4_AWAR_PRIMER3_SEARCH_AUTO_JUMP      "search/primer3/autoJump"
158#define ED4_AWAR_PRIMER3_SEARCH_REVERSE        "search/primer3/reverse"
159#define ED4_AWAR_PRIMER3_SEARCH_COMPLEMENT     "search/primer3/complement"
160#define ED4_AWAR_PRIMER3_SEARCH_EXACT          "search/primer3/exact"
161
162#define ED4_AWAR_SIG1_SEARCH_PATTERN        AWAR_GENE_CONTENT
163#define ED4_AWAR_SIG1_SEARCH_MIN_MISMATCHES "search/sig1/min_mismatches"
164#define ED4_AWAR_SIG1_SEARCH_MAX_MISMATCHES "search/sig1/max_mismatches"
165#define ED4_AWAR_SIG1_SEARCH_CASE           "search/sig1/case"
166#define ED4_AWAR_SIG1_SEARCH_TU             "search/sig1/tu"
167#define ED4_AWAR_SIG1_SEARCH_PAT_GAPS       "search/sig1/pat_gaps"
168#define ED4_AWAR_SIG1_SEARCH_SEQ_GAPS       "search/sig1/seq_gaps"
169#define ED4_AWAR_SIG1_SEARCH_SHOW           "search/sig1/show"
170#define ED4_AWAR_SIG1_SEARCH_OPEN_FOLDED    "search/sig1/open_folded"
171#define ED4_AWAR_SIG1_SEARCH_AUTO_JUMP      "search/sig1/autoJump"
172#define ED4_AWAR_SIG1_SEARCH_REVERSE        "search/sig1/reverse"
173#define ED4_AWAR_SIG1_SEARCH_COMPLEMENT     "search/sig1/complement"
174#define ED4_AWAR_SIG1_SEARCH_EXACT          "search/sig1/exact"
175
176#define ED4_AWAR_SIG2_SEARCH_PATTERN        "search/sig2/pattern"
177#define ED4_AWAR_SIG2_SEARCH_MIN_MISMATCHES "search/sig2/min_mismatches"
178#define ED4_AWAR_SIG2_SEARCH_MAX_MISMATCHES "search/sig2/max_mismatches"
179#define ED4_AWAR_SIG2_SEARCH_CASE           "search/sig2/case"
180#define ED4_AWAR_SIG2_SEARCH_TU             "search/sig2/tu"
181#define ED4_AWAR_SIG2_SEARCH_PAT_GAPS       "search/sig2/pat_gaps"
182#define ED4_AWAR_SIG2_SEARCH_SEQ_GAPS       "search/sig2/seq_gaps"
183#define ED4_AWAR_SIG2_SEARCH_SHOW           "search/sig2/show"
184#define ED4_AWAR_SIG2_SEARCH_OPEN_FOLDED    "search/sig2/open_folded"
185#define ED4_AWAR_SIG2_SEARCH_AUTO_JUMP      "search/sig2/autoJump"
186#define ED4_AWAR_SIG2_SEARCH_REVERSE        "search/sig2/reverse"
187#define ED4_AWAR_SIG2_SEARCH_COMPLEMENT     "search/sig2/complement"
188#define ED4_AWAR_SIG2_SEARCH_EXACT          "search/sig2/exact"
189
190#define ED4_AWAR_SIG3_SEARCH_PATTERN        "search/sig3/pattern"
191#define ED4_AWAR_SIG3_SEARCH_MIN_MISMATCHES "search/sig3/min_mismatches"
192#define ED4_AWAR_SIG3_SEARCH_MAX_MISMATCHES "search/sig3/max_mismatches"
193#define ED4_AWAR_SIG3_SEARCH_CASE           "search/sig3/case"
194#define ED4_AWAR_SIG3_SEARCH_TU             "search/sig3/tu"
195#define ED4_AWAR_SIG3_SEARCH_PAT_GAPS       "search/sig3/pat_gaps"
196#define ED4_AWAR_SIG3_SEARCH_SEQ_GAPS       "search/sig3/seq_gaps"
197#define ED4_AWAR_SIG3_SEARCH_SHOW           "search/sig3/show"
198#define ED4_AWAR_SIG3_SEARCH_OPEN_FOLDED    "search/sig3/open_folded"
199#define ED4_AWAR_SIG3_SEARCH_AUTO_JUMP      "search/sig3/autoJump"
200#define ED4_AWAR_SIG3_SEARCH_REVERSE        "search/sig3/reverse"
201#define ED4_AWAR_SIG3_SEARCH_COMPLEMENT     "search/sig3/complement"
202#define ED4_AWAR_SIG3_SEARCH_EXACT          "search/sig3/exact"
203
204//      Other internal awars
205
206#define ED4_AWAR_SPECIES_TO_CREATE ED4_TEMP_AWAR "species_to_create"
207
208#else
209#error ed4_awars.hxx included twice
210#endif
Note: See TracBrowser for help on using the repository browser.