1 | // =========================================================== // |
---|
2 | // // |
---|
3 | // File : fast_aligner.hxx // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Coded by Ralf Westram (coder@reallysoft.de) in 1998 // |
---|
7 | // Institute of Microbiology (Technical University Munich) // |
---|
8 | // http://www.arb-home.de/ // |
---|
9 | // // |
---|
10 | // =========================================================== // |
---|
11 | |
---|
12 | #ifndef FAST_ALIGNER_HXX |
---|
13 | #define FAST_ALIGNER_HXX |
---|
14 | |
---|
15 | |
---|
16 | #define INTEGRATED_ALIGNERS_TITLE "Integrated Aligners" |
---|
17 | |
---|
18 | typedef char* (*AWTC_get_consensus_func)(const char *species_name, int start_pos, int end_pos); |
---|
19 | typedef int (*AWTC_get_selected_range)(int *firstColumn, int *lastColumn); |
---|
20 | typedef GBDATA* (*AWTC_get_first_selected_species)(int *total_no_of_selected_species); |
---|
21 | typedef GBDATA* (*AWTC_get_next_selected_species)(void); |
---|
22 | |
---|
23 | struct AWTC_faligner_cd |
---|
24 | { |
---|
25 | int do_refresh; // if do_refresh==TRUE then AWTC_start_faligning() does a refresh |
---|
26 | void (*refresh_display)(); // via calling refresh_display() |
---|
27 | |
---|
28 | AWTC_get_consensus_func get_group_consensus; |
---|
29 | AWTC_get_selected_range get_selected_range; |
---|
30 | AWTC_get_first_selected_species get_first_selected_species; |
---|
31 | AWTC_get_next_selected_species get_next_selected_species; |
---|
32 | |
---|
33 | char *helix_string; // currently only used for island hopping |
---|
34 | }; |
---|
35 | |
---|
36 | // -------------------------------------------------------------------------------- |
---|
37 | |
---|
38 | AW_window *AWTC_create_faligner_window(AW_root *awr, AW_CL cd2); |
---|
39 | void AWTC_create_faligner_variables(AW_root *root,AW_default db1); |
---|
40 | void AWTC_awar_set_current_sequence(AW_root *root, AW_default db1); |
---|
41 | void AWTC_set_reference_species_name(AW_window */*aww*/, AW_CL cl_AW_root); |
---|
42 | |
---|
43 | void AWTC_start_faligning(AW_window *aw, AW_CL cd2); |
---|
44 | GB_ERROR AWTC_delete_temp_entries(GBDATA *gb_main, GB_CSTR alignment); |
---|
45 | |
---|
46 | // -------------------------------------------------------------------------------- |
---|
47 | |
---|
48 | #else |
---|
49 | #error fast_aligner.hxx included twice |
---|
50 | #endif // FAST_ALIGNER_HXX |
---|