ARB
|
#include "NT_local.h"
#include "map_viewer.h"
#include <dbui.h>
#include <awt_www.hxx>
#include <awt_canvas.hxx>
#include <aw_awars.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <arb_progress.h>
#include <arb_defs.h>
#include <cctype>
Go to the source code of this file.
Functions | |
void | NT_count_different_chars (AW_window *, GBDATA *gb_main) |
void | NT_create_sai_from_pfold (AW_window *aww) |
void | launch_MapViewer_cb (GBDATA *gbd, AD_MAP_VIEWER_TYPE type) |
Variables | |
static const char *const | SAI_COUNTED_CHARS = "COUNTED_CHARS" |
Definition at line 30 of file ad_spec.cxx.
References alignment_name, aw_message(), error(), GB_await_error(), GB_begin_transaction(), GB_end_transaction_show_error(), GB_entry(), GB_read_char_pntr(), GB_STRING, GB_write_string(), GBT_add_data(), GBT_count_marked_species(), GBT_find_or_create_SAI(), GBT_first_marked_species(), GBT_get_alignment_len(), GBT_get_default_alignment(), GBT_is_alignment_protein(), GBT_next_marked_species(), arb_progress::inc_and_check_user_abort(), result, and seq.
Referenced by popup_new_main_window().
void NT_create_sai_from_pfold | ( | AW_window * | aww | ) |
Creates an SAI from protein secondary structure of a selected species.
[in] | aww | AW_window |
The function takes the currently selected species and searches for the field "sec_struct". A new SAI is created using the data in this field. A simple input window allows the user to change the default name ([species name]_pfold) for the new SAI.
Definition at line 127 of file ad_spec.cxx.
References AW_window::activate(), aw_input(), aw_message(), AW_root::awar(), AWAR_SAI_NAME, AWAR_SPECIES_NAME, error(), GB_await_error(), GB_begin_transaction(), GB_child(), GB_copy_dropProtectMarksAndTempstate(), GB_CREATE_CONTAINER, GB_create_container(), GB_delete(), GB_end_transaction_show_error(), GB_entry(), GB_FIND, NT_global::gb_main, GB_nextChild(), GB_read_key(), GB_read_string(), GB_read_type(), GB_search(), GB_write_string(), GBS_global_string_copy(), GBT_find_SAI_rel_SAI_data(), GBT_find_species(), GBT_gen_accession_number(), GBT_get_default_alignment(), GBT_get_SAI_data(), GBT_write_string(), AW_window::get_root(), GLOBAL, NT_create_extendeds_window(), NULp, AW_awar::read_string(), and AW_awar::write_string().
Referenced by popup_new_main_window().
void launch_MapViewer_cb | ( | GBDATA * | gbd, |
AD_MAP_VIEWER_TYPE | type | ||
) |
Definition at line 254 of file ad_spec.cxx.
References ADMVT_WWW, aw_message(), NT_global::aw_root, AW_root::awar(), AWAR_SPECIES_NAME, awt_openDefaultURL_with_item(), error(), GB_end_transaction(), GB_get_father(), NT_global::gb_main, GB_push_transaction(), gb_species_data, GBT_get_name_or_description(), GBT_get_species_data(), GLOBAL, AW_root::SINGLETON, and AW_awar::write_string().
Referenced by popup_new_main_window().
|
static |
Definition at line 28 of file ad_spec.cxx.