source: tags/initial/STAT/st_window.hxx

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1#ifndef st_window_hxx_included
2#define st_window_hxx_included
3
4#define ST_ML_AWAR "tmp/st_ml/"
5#define ST_ML_AWAR_CSP                  ST_ML_AWAR "name"
6#define ST_ML_AWAR_ALIGNMENT            ST_ML_AWAR "alignment"
7#define ST_ML_AWAR_CQ_BUCKET_SIZE       ST_ML_AWAR "bucket_size"
8
9#define ST_ML_AWAR_CQ_FILTER_NAME       ST_ML_AWAR "filter/name"
10#define ST_ML_AWAR_CQ_FILTER_ALIGNMENT  ST_ML_AWAR "filter/alignment"
11#define ST_ML_AWAR_CQ_FILTER_FILTER     ST_ML_AWAR "filter/filter"
12#define ST_ML_AWAR_CQ_MARKED_ONLY       ST_ML_AWAR "marked_only"
13#define ST_ML_AWAR_CQ_DEST_FIELD        ST_ML_AWAR "dest_field"
14#define ST_ML_AWAR_CQ_REPORT            ST_ML_AWAR "report"
15
16class ST_ML;
17class AP_tree;
18class AWT_csp;
19
20AW_window *st_create_main_window(AW_root *aw_root, ST_ML *st_ml,AW_CB0 refresh_func,AW_window *win);
21ST_ML *new_ST_ML(GBDATA *gb_main);
22int st_is_inited(ST_ML *st_ml);
23
24typedef unsigned char ST_ML_Color;
25enum st_report_enum {
26    ST_QUALITY_REPORT_NONE,
27    ST_QUALITY_REPORT_TEMP,
28    ST_QUALITY_REPORT_YES };
29
30
31AP_tree *st_ml_convert_species_name_to_node(ST_ML *st_ml,const char *species_name);
32
33ST_ML_Color *st_ml_get_color_string(ST_ML *st_ml, char *species_name, AP_tree *node, int start_ali_pos, int end_ali_pos);
34int st_ml_update_ml_likelihood(ST_ML *st_ml, char *result[4], int *latest_update, char *species_name, AP_tree *node);
35
36AW_window *st_create_quality_check_window(AW_root *aw_root,GBDATA *gb_main);
37
38GB_ERROR st_ml_check_sequence_quality(GBDATA *gb_main,
39                                      const char *tree_name,
40                                      const char *alignment_name,
41                                      AWT_csp *awt_csp,
42                                      int bucket_size, int marked_only,
43                                      st_report_enum    report,
44                                      const char *filter_string,
45                                      const char *dest_field);
46
47
48#endif
Note: See TracBrowser for help on using the repository browser.