|
Last change
on this file was
17534,
checked in by westram, 7 years ago
|
- partial merge from 'fix' into 'trunk'
- globally define what are "gaps"
- kept behavioral changes to a minimum:
- defaults for (
-defined) gap-definition in EDIT4 changed
- EDIT sequence search also uses
-defined gaps
- adds: log:branches/fix@17529:17533
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | // ============================================================= // |
|---|
| 2 | // // |
|---|
| 3 | // File : arb_global_defs.h // |
|---|
| 4 | // Purpose : ARB wide constants // |
|---|
| 5 | // // |
|---|
| 6 | // Coded by Ralf Westram (coder@reallysoft.de) in April 2012 // |
|---|
| 7 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 8 | // http://www.arb-home.de/ // |
|---|
| 9 | // // |
|---|
| 10 | // ============================================================= // |
|---|
| 11 | |
|---|
| 12 | #ifndef ARB_GLOBAL_DEFS_H |
|---|
| 13 | #define ARB_GLOBAL_DEFS_H |
|---|
| 14 | |
|---|
| 15 | #define NO_TREE_SELECTED "tree_?????" |
|---|
| 16 | #define NO_ALI_SELECTED "????" |
|---|
| 17 | #define NO_CONFIG_SELECTED "" |
|---|
| 18 | #define NO_FIELD_SELECTED "----" |
|---|
| 19 | |
|---|
| 20 | #define DISPLAY_NONE "<< none >>" |
|---|
| 21 | |
|---|
| 22 | namespace GAP { |
|---|
| 23 | inline bool is_std_gap(const char c) { return c == '-' || c == '.'; } // these gaps occur in sequences stored in arb |
|---|
| 24 | inline bool is_import_gap(const char c) { return is_std_gap(c) || c == '~'; } // (atm) used by CONVERTALN |
|---|
| 25 | |
|---|
| 26 | inline const char *anyGapChars() { return ".-~=?"; } // (atm) used to initialize AWARs defining gaps |
|---|
| 27 | }; |
|---|
| 28 | |
|---|
| 29 | #else |
|---|
| 30 | #error arb_global_defs.h included twice |
|---|
| 31 | #endif // ARB_GLOBAL_DEFS_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.