source: tags/arb_5.2/GENOM/GEN_local.hxx

Last change on this file was 3377, checked in by westram, 19 years ago
  • added AWAR_GENE_COMPLEMENT
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1/*********************************************************************************
2 *  Coded by Ralf Westram (coder@reallysoft.de) in 2001                          *
3 *  Institute of Microbiology (Technical University Munich)                      *
4 *  http://www.mikro.biologie.tu-muenchen.de/                                    *
5 *********************************************************************************/
6
7#ifndef GEN_LOCAL_HXX
8#define GEN_LOCAL_HXX
9
10#ifndef GEN_HXX
11#include "GEN.hxx"
12#endif
13
14#ifndef ARB_ASSERT_H
15#include <arb_assert.h>
16#endif
17#define gen_assert(bed) arb_assert(bed)
18
19// to create new genes:
20#define AWAR_GENE_DEST       "tmp/gene/dest"
21#define AWAR_GENE_POS1       "tmp/gene/pos1"
22#define AWAR_GENE_POS2       "tmp/gene/pos2"
23#define AWAR_GENE_COMPLEMENT "tmp/gene/compl"
24
25// contains the path to the gene:  "organism_name;gene_name"
26// writing this awar has no effect
27#define AWAR_COMBINED_GENE_NAME "tmp/gene/combined_name"
28
29// to extract genes to pseudo-species:
30#define AWAR_GENE_EXTRACT_ALI "tmp/gene/extract/ali"
31
32// --------------------------------------------------------------------------------
33// view-local awars for organism and gene
34
35#define AWAR_LOCAL_ORGANISM_NAME(window_nr) GEN_window_local_awar_name("tmp/genemap/organism", window_nr)
36#define AWAR_LOCAL_GENE_NAME(window_nr)     GEN_window_local_awar_name("tmp/genemap/gene", window_nr)
37
38#define AWAR_LOCAL_ORGANISM_LOCK(window_nr) GEN_window_local_awar_name("tmp/genemap/organism_lock", window_nr)
39#define AWAR_LOCAL_GENE_LOCK(window_nr)     GEN_window_local_awar_name("tmp/genemap/gene_lock", window_nr)
40
41// --------------------------------------------------------------------------------
42// display styles:
43#define AWAR_GENMAP_DISPLAY_TYPE(window_nr) GEN_window_local_awar_name("genemap/display/type", window_nr)
44
45// all display styles:
46#define AWAR_GENMAP_ARROW_SIZE   "genemap/display/arrow_size"
47#define AWAR_GENMAP_SHOW_HIDDEN  "genemap/display/show_hidden"
48#define AWAR_GENMAP_SHOW_ALL_NDS "genemap/display/show_all_nds"
49
50// display book-style:
51#define AWAR_GENMAP_BOOK_WIDTH_FACTOR   "genemap/display/book/width_factor"
52#define AWAR_GENMAP_BOOK_BASES_PER_LINE "genemap/display/book/base_per_line"
53#define AWAR_GENMAP_BOOK_LINE_HEIGHT    "genemap/display/book/line_height"
54#define AWAR_GENMAP_BOOK_LINE_SPACE     "genemap/display/book/line_space"
55
56// display vertical-style:
57#define AWAR_GENMAP_VERTICAL_FACTOR_X "genemap/display/vertical/factor_x"
58#define AWAR_GENMAP_VERTICAL_FACTOR_Y "genemap/display/vertical/factor_y"
59
60// display radial-style:
61#define AWAR_GENMAP_RADIAL_INSIDE  "genemap/display/radial/inside"
62#define AWAR_GENMAP_RADIAL_OUTSIDE "genemap/display/radial/outside"
63
64// other options:
65#define AWAR_GENMAP_AUTO_JUMP       "genemap/options/autojump"
66
67// --------------------------------------------------------------------------------
68
69const char *GEN_window_local_awar_name(const char *awar_name, int window_nr);
70AW_window  *GEN_map(AW_root *aw_root, int window_number);
71
72// --------------------------------------------------------------------------------
73#else
74#error GEN_local.hxx included twice
75#endif // GEN_LOCAL_HXX
Note: See TracBrowser for help on using the repository browser.