ARB
Macros | Functions | Variables
SQ_main.cxx File Reference
#include "seq_quality.h"
#include "SQ_functions.h"
#include <awt_filter.hxx>
#include <awt_sel_boxes.hxx>
#include <aw_awars.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <arb_progress.h>
#include <TreeNode.h>
#include <arb_global_defs.h>
#include <awt_config_manager.hxx>
Include dependency graph for SQ_main.cxx:

Go to the source code of this file.

Macros

#define AWAR_SQ_PERM   "seq_quality/"
 
#define AWAR_SQ_TEMP   "tmp/seq_quality/"
 
#define AWAR_SQ_WEIGHT_BASES   AWAR_SQ_PERM "weight_bases"
 
#define AWAR_SQ_WEIGHT_DEVIATION   AWAR_SQ_PERM "weight_deviation"
 
#define AWAR_SQ_WEIGHT_HELIX   AWAR_SQ_PERM "weight_helix"
 
#define AWAR_SQ_WEIGHT_CONSENSUS   AWAR_SQ_PERM "weight_consensus"
 
#define AWAR_SQ_WEIGHT_IUPAC   AWAR_SQ_PERM "weight_iupac"
 
#define AWAR_SQ_WEIGHT_GC   AWAR_SQ_PERM "weight_gc"
 
#define AWAR_SQ_MARK_ONLY_FLAG   AWAR_SQ_PERM "mark_only_flag"
 
#define AWAR_SQ_MARK_FLAG   AWAR_SQ_PERM "mark_flag"
 
#define AWAR_SQ_MARK_BELOW   AWAR_SQ_PERM "mark_below"
 
#define AWAR_SQ_REEVALUATE   AWAR_SQ_PERM "reevaluate"
 
#define AWAR_SQ_FILTER_NAME   AWAR_SQ_TEMP "filter/name"
 

Functions

void SQ_create_awars (AW_root *aw_root, AW_default aw_def)
 
size_t count_nodes (TreeNode *node)
 
static void sq_calc_seq_quality_cb (AW_window *aww, adfiltercbstruct *acbs, GBDATA *gb_main)
 
static void sq_remove_quality_entries_cb (AW_window *, GBDATA *gb_main)
 
AW_windowSQ_create_seq_quality_window (AW_root *aw_root, GBDATA *gb_main)
 

Variables

static AWT_config_mapping_def seq_quality_config_mapping []
 

Macro Definition Documentation

#define AWAR_SQ_PERM   "seq_quality/"

Definition at line 32 of file SQ_main.cxx.

#define AWAR_SQ_TEMP   "tmp/seq_quality/"

Definition at line 33 of file SQ_main.cxx.

#define AWAR_SQ_WEIGHT_BASES   AWAR_SQ_PERM "weight_bases"
#define AWAR_SQ_WEIGHT_DEVIATION   AWAR_SQ_PERM "weight_deviation"
#define AWAR_SQ_WEIGHT_HELIX   AWAR_SQ_PERM "weight_helix"
#define AWAR_SQ_WEIGHT_CONSENSUS   AWAR_SQ_PERM "weight_consensus"
#define AWAR_SQ_WEIGHT_IUPAC   AWAR_SQ_PERM "weight_iupac"
#define AWAR_SQ_WEIGHT_GC   AWAR_SQ_PERM "weight_gc"
#define AWAR_SQ_MARK_ONLY_FLAG   AWAR_SQ_PERM "mark_only_flag"
#define AWAR_SQ_MARK_FLAG   AWAR_SQ_PERM "mark_flag"
#define AWAR_SQ_MARK_BELOW   AWAR_SQ_PERM "mark_below"
#define AWAR_SQ_REEVALUATE   AWAR_SQ_PERM "reevaluate"
#define AWAR_SQ_FILTER_NAME   AWAR_SQ_TEMP "filter/name"

Definition at line 46 of file SQ_main.cxx.

Referenced by SQ_create_awars(), and SQ_create_seq_quality_window().

Function Documentation

void SQ_create_awars ( AW_root aw_root,
AW_default  aw_def 
)
size_t count_nodes ( TreeNode node)
inline

Definition at line 66 of file SQ_main.cxx.

References GBT_count_leafs().

Referenced by sq_calc_seq_quality_cb().

static void sq_calc_seq_quality_cb ( AW_window aww,
adfiltercbstruct acbs,
GBDATA gb_main 
)
static
static void sq_remove_quality_entries_cb ( AW_window ,
GBDATA gb_main 
)
static

Definition at line 229 of file SQ_main.cxx.

References aw_message_if(), error(), and SQ_remove_quality_entries().

Referenced by SQ_create_seq_quality_window().

AW_window* SQ_create_seq_quality_window ( AW_root aw_root,
GBDATA gb_main 
)

Variable Documentation

AWT_config_mapping_def seq_quality_config_mapping[]
static
Initial value:
= {
{ AWAR_SQ_WEIGHT_BASES, "wbases" },
{ AWAR_SQ_WEIGHT_DEVIATION, "wdeviation" },
{ AWAR_SQ_WEIGHT_HELIX, "whelix" },
{ AWAR_SQ_WEIGHT_CONSENSUS, "wconsens" },
{ AWAR_SQ_WEIGHT_IUPAC, "wiupac" },
{ AWAR_SQ_WEIGHT_GC, "wgc" },
{ AWAR_SQ_MARK_ONLY_FLAG, "onlymarked" },
{ AWAR_SQ_MARK_FLAG, "markbad" },
{ AWAR_SQ_MARK_BELOW, "markbelow" },
{ AWAR_SQ_REEVALUATE, "reeval" },
{ NULp, NULp }
}
#define AWAR_SQ_WEIGHT_DEVIATION
Definition: SQ_main.cxx:36
#define AWAR_SQ_WEIGHT_GC
Definition: SQ_main.cxx:40
#define AWAR_SQ_WEIGHT_CONSENSUS
Definition: SQ_main.cxx:38
#define AWAR_SQ_MARK_BELOW
Definition: SQ_main.cxx:44
#define AWAR_SQ_WEIGHT_BASES
Definition: SQ_main.cxx:35
#define AWAR_SQ_MARK_FLAG
Definition: SQ_main.cxx:43
#define AWAR_SQ_REEVALUATE
Definition: SQ_main.cxx:45
#define AWAR_SQ_WEIGHT_HELIX
Definition: SQ_main.cxx:37
#define AWAR_SQ_MARK_ONLY_FLAG
Definition: SQ_main.cxx:42
#define NULp
Definition: cxxforward.h:116
#define AWAR_SQ_WEIGHT_IUPAC
Definition: SQ_main.cxx:39

Definition at line 234 of file SQ_main.cxx.