ARB
|
#include "NT_local.h"
#include <TranslateRealign.h>
#include <awt_sel_boxes.hxx>
#include <AP_codon_table.hxx>
#include <AP_pro_a_nucs.hxx>
#include <aw_awars.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <arbdbt.h>
#include <arb_defs.h>
Go to the source code of this file.
Macros | |
#define | AWAR_TRANSPRO_PREFIX "transpro/" |
#define | AWAR_TRANSPRO_SOURCE AWAR_TRANSPRO_PREFIX "source" |
#define | AWAR_TRANSPRO_DEST AWAR_TRANSPRO_PREFIX "dest" |
#define | AWAR_TRANSPRO_POS AWAR_TRANSPRO_PREFIX "pos" |
#define | AWAR_TRANSPRO_MODE AWAR_TRANSPRO_PREFIX "mode" |
#define | AWAR_TRANSPRO_XSTART AWAR_TRANSPRO_PREFIX "xstart" |
#define | AWAR_TRANSPRO_WRITE AWAR_TRANSPRO_PREFIX "write" |
#define | AWAR_REALIGN_INCALI AWAR_TRANSPRO_PREFIX "incali" |
#define | AWAR_REALIGN_UNMARK AWAR_TRANSPRO_PREFIX "unmark" |
#define | AWAR_REALIGN_CUTOFF "tmp/" AWAR_TRANSPRO_PREFIX "cutoff" |
Functions | |
static void | transpro_event (AW_window *aww) |
static void | nt_trans_cursorpos_changed (AW_root *awr) |
AW_window * | NT_create_dna_2_pro_window (AW_root *root) |
static void | realign_event (AW_window *aww) |
AW_window * | NT_create_realign_dna_window (AW_root *root) |
void | NT_create_transpro_variables (AW_root *root, AW_default props) |
#define AWAR_TRANSPRO_PREFIX "transpro/" |
Definition at line 23 of file ad_transpro.cxx.
#define AWAR_TRANSPRO_SOURCE AWAR_TRANSPRO_PREFIX "source" |
Definition at line 24 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_realign_dna_window(), NT_create_transpro_variables(), realign_event(), and transpro_event().
#define AWAR_TRANSPRO_DEST AWAR_TRANSPRO_PREFIX "dest" |
Definition at line 25 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_realign_dna_window(), NT_create_transpro_variables(), realign_event(), and transpro_event().
#define AWAR_TRANSPRO_POS AWAR_TRANSPRO_PREFIX "pos" |
Definition at line 28 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_transpro_variables(), nt_trans_cursorpos_changed(), and transpro_event().
#define AWAR_TRANSPRO_MODE AWAR_TRANSPRO_PREFIX "mode" |
Definition at line 29 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_transpro_variables(), and transpro_event().
#define AWAR_TRANSPRO_XSTART AWAR_TRANSPRO_PREFIX "xstart" |
Definition at line 30 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_transpro_variables(), and transpro_event().
#define AWAR_TRANSPRO_WRITE AWAR_TRANSPRO_PREFIX "write" |
Definition at line 31 of file ad_transpro.cxx.
Referenced by NT_create_dna_2_pro_window(), NT_create_transpro_variables(), and transpro_event().
#define AWAR_REALIGN_INCALI AWAR_TRANSPRO_PREFIX "incali" |
Definition at line 34 of file ad_transpro.cxx.
Referenced by NT_create_realign_dna_window(), NT_create_transpro_variables(), and realign_event().
#define AWAR_REALIGN_UNMARK AWAR_TRANSPRO_PREFIX "unmark" |
Definition at line 35 of file ad_transpro.cxx.
Referenced by NT_create_realign_dna_window(), NT_create_transpro_variables(), and realign_event().
#define AWAR_REALIGN_CUTOFF "tmp/" AWAR_TRANSPRO_PREFIX "cutoff" |
Definition at line 36 of file ad_transpro.cxx.
Referenced by NT_create_realign_dna_window(), NT_create_transpro_variables(), and realign_event().
|
static |
Definition at line 38 of file ad_transpro.cxx.
References ALI_translate_marked(), aw_message(), AW_root::awar(), AWAR_TRANSPRO_DEST, AWAR_TRANSPRO_MODE, AWAR_TRANSPRO_POS, AWAR_TRANSPRO_SOURCE, AWAR_TRANSPRO_WRITE, AWAR_TRANSPRO_XSTART, error(), GB_begin_transaction(), GB_end_transaction_show_error(), NT_global::gb_main, GBT_check_data(), AW_window::get_root(), GLOBAL, NULp, AW_awar::read_int(), and AW_awar::read_string().
Referenced by NT_create_dna_2_pro_window().
|
static |
Definition at line 62 of file ad_transpro.cxx.
References AUTODETECT_STARTPOS, AW_root::awar(), AWAR_CURSOR_POSITION, AWAR_TRANSPRO_POS, bio2info(), AW_awar::read_int(), and AW_awar::write_int().
Referenced by NT_create_dna_2_pro_window().
Definition at line 72 of file ad_transpro.cxx.
References AUTODETECT_STARTPOS, AW_POPDOWN(), AWAR_CURSOR_POSITION, AW_root::awar_int(), AWAR_PROTEIN_TYPE, AWAR_PROTEIN_TYPE_bacterial_code_index, AWAR_TRANSPRO_DEST, AWAR_TRANSPRO_MODE, AWAR_TRANSPRO_POS, AWAR_TRANSPRO_SOURCE, AWAR_TRANSPRO_WRITE, AWAR_TRANSPRO_XSTART, AWT_CODON_TABLES, awt_create_ALI_selection_list(), AWT_get_codon_code_name(), bio2info(), NT_global::gb_main, GLOBAL, label, makeHelpCallback(), nt_trans_cursorpos_changed(), ta, and transpro_event().
Referenced by popup_new_main_window().
|
static |
Definition at line 137 of file ad_transpro.cxx.
References ALI_realign_marked(), aw_message(), AW_root::awar(), AWAR_REALIGN_CUTOFF, AWAR_REALIGN_INCALI, AWAR_REALIGN_UNMARK, AWAR_TRANSPRO_DEST, AWAR_TRANSPRO_SOURCE, GB_transaction::close(), error(), gb_main, NT_global::gb_main, GBS_global_string(), GBT_get_alignment_len(), GBT_set_alignment_len(), AW_window::get_root(), GLOBAL, nt_assert, AW_awar::read_int(), AW_awar::read_string(), and ta.
Referenced by NT_create_realign_dna_window().
Definition at line 180 of file ad_transpro.cxx.
References AW_POPDOWN(), AWAR_REALIGN_CUTOFF, AWAR_REALIGN_INCALI, AWAR_REALIGN_UNMARK, AWAR_TRANSPRO_DEST, AWAR_TRANSPRO_SOURCE, awt_create_ALI_selection_button(), awt_create_ALI_selection_list(), NT_global::gb_main, GLOBAL, AW_window::load_xfig(), makeHelpCallback(), and realign_event().
Referenced by popup_new_main_window().
void NT_create_transpro_variables | ( | AW_root * | root, |
AW_default | props | ||
) |
Definition at line 215 of file ad_transpro.cxx.
References AW_root::awar_int(), AWAR_REALIGN_CUTOFF, AWAR_REALIGN_INCALI, AWAR_REALIGN_UNMARK, AW_root::awar_string(), AWAR_TRANSPRO_DEST, AWAR_TRANSPRO_MODE, AWAR_TRANSPRO_POS, AWAR_TRANSPRO_SOURCE, AWAR_TRANSPRO_WRITE, and AWAR_TRANSPRO_XSTART.
Referenced by nt_create_all_awars().