ARB
Classes | Macros | Typedefs | Functions
MG_preserves.cxx File Reference
#include "merge.hxx"
#include "MG_adapt_ali.hxx"
#include <aw_awar.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <aw_select.hxx>
#include <arb_progress.h>
#include <arb_global_defs.h>
#include <arbdbt.h>
#include <set>
#include <string>
Include dependency graph for MG_preserves.cxx:

Go to the source code of this file.

Classes

struct  preserve_para
 
class  Candidate
 

Macros

#define AWAR_REMAP_CANDIDATE   AWAR_MERGE_TMP "remap_candidates"
 
#define AWAR_REMAP_ALIGNMENT   AWAR_MERGE_TMP "remap_alignment"
 
#define AWAR_REMAP_SEL_REFERENCE   AWAR_MERGE_TMP "remap_reference"
 

Typedefs

typedef set< SmartPtr
< Candidate > > 
Candidates
 

Functions

static void get_global_alignments (ConstStrArray &ali_names)
 
static void init_alignments (preserve_para *para)
 
static void clear_candidates (preserve_para *para)
 
static long count_bases (const char *data, long len)
 
static long count_bases (GBDATA *gb_data)
 
static bool operator< (const SmartPtr< Candidate > &c1, const SmartPtr< Candidate > &c2)
 
static void find_species_candidates (Candidates &candidates, const CharPtrArray &ali_names)
 
static void find_SAI_candidates (Candidates &candidates, const CharPtrArray &ali_names)
 
static void calculate_preserves_cb (AW_window *aww, preserve_para *para)
 
static void read_references (ConstStrArray &refs, AW_root *aw_root)
 
static void write_references (AW_root *aw_root, const CharPtrArray &ref_array)
 
static void select_reference (AW_root *aw_root, const char *ref_to_select)
 
static charget_selected_reference (AW_root *aw_root)
 
static void refresh_reference_list_cb (AW_root *aw_root, preserve_para *para)
 
static void add_selected_cb (AW_window *aww, preserve_para *para)
 
static void clear_references_cb (AW_window *aww)
 
static void del_reference_cb (AW_window *aww)
 
static void lower_reference_cb (AW_window *aww)
 
static void raise_reference_cb (AW_window *aww)
 
static void test_references_cb (AW_window *aww)
 
static void init_preserve_awars (AW_root *aw_root)
 
AW_windowMG_create_preserves_selection_window (AW_root *aw_root)
 

Macro Definition Documentation

#define AWAR_REMAP_CANDIDATE   AWAR_MERGE_TMP "remap_candidates"
#define AWAR_REMAP_ALIGNMENT   AWAR_MERGE_TMP "remap_alignment"
#define AWAR_REMAP_SEL_REFERENCE   AWAR_MERGE_TMP "remap_reference"

Typedef Documentation

typedef set< SmartPtr<Candidate> > Candidates

Definition at line 167 of file MG_preserves.cxx.

Function Documentation

static void get_global_alignments ( ConstStrArray ali_names)
static
static void init_alignments ( preserve_para para)
static
static void clear_candidates ( preserve_para para)
static
static long count_bases ( const char data,
long  len 
)
static

Definition at line 71 of file MG_preserves.cxx.

References GAP::is_std_gap().

Referenced by Candidate::Candidate(), count_bases(), and SEC_region::update_base_count().

static long count_bases ( GBDATA gb_data)
static
static bool operator< ( const SmartPtr< Candidate > &  c1,
const SmartPtr< Candidate > &  c2 
)
static

Definition at line 164 of file MG_preserves.cxx.

static void find_species_candidates ( Candidates candidates,
const CharPtrArray ali_names 
)
static
static void find_SAI_candidates ( Candidates candidates,
const CharPtrArray ali_names 
)
static
static void calculate_preserves_cb ( AW_window aww,
preserve_para para 
)
static
static void read_references ( ConstStrArray refs,
AW_root aw_root 
)
static
static void write_references ( AW_root aw_root,
const CharPtrArray ref_array 
)
static
static void select_reference ( AW_root aw_root,
const char ref_to_select 
)
static
static char* get_selected_reference ( AW_root aw_root)
static
static void refresh_reference_list_cb ( AW_root aw_root,
preserve_para para 
)
static
static void add_selected_cb ( AW_window aww,
preserve_para para 
)
static
static void clear_references_cb ( AW_window aww)
static
static void del_reference_cb ( AW_window aww)
static
static void lower_reference_cb ( AW_window aww)
static
static void raise_reference_cb ( AW_window aww)
static
static void test_references_cb ( AW_window aww)
static
static void init_preserve_awars ( AW_root aw_root)
static
AW_window* MG_create_preserves_selection_window ( AW_root aw_root)