ARB
Macros | Enumerations | Functions | Variables
ED4_ProteinViewer.cxx File Reference
#include "ed4_ProteinViewer.hxx"
#include "ed4_edit_string.hxx"
#include "ed4_seq_colors.hxx"
#include "ed4_class.hxx"
#include <AP_pro_a_nucs.hxx>
#include <AP_codon_table.hxx>
#include <Translate.hxx>
#include <aw_question.hxx>
#include <aw_preset.hxx>
#include <aw_awars.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <arbdbt.h>
#include <iostream>
Include dependency graph for ED4_ProteinViewer.cxx:

Go to the source code of this file.

Macros

#define FORWARD_STRAND   1
 
#define COMPLEMENTARY_STRAND   2
 
#define DB_FIELD_STRAND   3
 
#define FORWARD_STRANDS   3
 
#define COMPLEMENTARY_STRANDS   3
 
#define DB_FIELD_STRANDS   1
 

Enumerations

enum  { PV_MARKED = 0, PV_SELECTED, PV_CURSOR, PV_ALL }
 

Functions

static bool PV_LookForNewTerminals (AW_root *root)
 
static void PV_HideTerminal (ED4_orf_terminal *orfTerm)
 
static void PV_UnHideTerminal (ED4_orf_terminal *orfTerm)
 
static void PV_HideAllTerminals ()
 
static void PV_ManageTerminalDisplay (AW_root *root, ED4_orf_terminal *orfTerm, long int DispMode)
 
static void PV_ManageTerminals (AW_root *root)
 
void PV_RefreshWindow (AW_root *root)
 
static GB_ERROR PV_ComplementarySequence (char *sequence)
 
static void PV_WriteTranslatedSequenceToDB (ED4_orf_terminal *aaSeqTerm, const char *spName)
 
static void PV_SaveData (AW_window *)
 
static void TranslateGeneToAminoAcidSequence (AW_root *, ED4_orf_terminal *seqTerm, const char *speciesName, int startPos4Translation, int translationMode)
 
static void PV_PrintMissingDBentryInformation ()
 
static void PV_DisplayAminoAcidNames (AW_root *root)
 
static void PV_RefreshDisplay (AW_root *root)
 
static void PV_RefreshProtViewDisplay (AW_window *aww)
 
void PV_SequenceUpdate_CB (GB_CB_TYPE gbtype)
 
static void PV_AddNewAAseqTerminals (ED4_sequence_terminal *seqTerminal, ED4_species_manager *speciesManager)
 
void PV_AddCorrespondingOrfTerminals (ED4_species_name_terminal *spNameTerm)
 
void PV_AddOrfTerminalsToLoadedSpecies ()
 
static void PV_CreateAllTerminals (AW_root *root)
 
void PV_CallBackFunction (AW_root *root)
 
static void PV_AddCallBacks (AW_root *awr)
 
void PV_CreateAwars (AW_root *root, AW_default aw_def)
 
AW_windowED4_CreateProteinViewer_window (AW_root *aw_root)
 

Variables

static bool gTerminalsCreated = false
 
static int PV_AA_Terminals4Species = 0
 
static int gMissingTransTable = 0
 
static int gMissingCodonStart = 0
 
static bool gbWritingData = false
 
static int giNewAlignments = 0
 
static AW_repeated_question * ASKtoOverWriteData = NULp
 

Macro Definition Documentation

#define FORWARD_STRAND   1
#define COMPLEMENTARY_STRAND   2
#define DB_FIELD_STRAND   3
#define FORWARD_STRANDS   3

Definition at line 37 of file ED4_ProteinViewer.cxx.

Referenced by PV_AddNewAAseqTerminals(), and PV_CreateAllTerminals().

#define COMPLEMENTARY_STRANDS   3

Definition at line 38 of file ED4_ProteinViewer.cxx.

Referenced by PV_AddNewAAseqTerminals(), and PV_CreateAllTerminals().

#define DB_FIELD_STRANDS   1

Definition at line 39 of file ED4_ProteinViewer.cxx.

Referenced by PV_CreateAllTerminals().

Enumeration Type Documentation

anonymous enum
Enumerator
PV_MARKED 
PV_SELECTED 
PV_CURSOR 
PV_ALL 

Definition at line 41 of file ED4_ProteinViewer.cxx.

Function Documentation

static bool PV_LookForNewTerminals ( AW_root root)
static
static void PV_HideTerminal ( ED4_orf_terminal orfTerm)
static
static void PV_UnHideTerminal ( ED4_orf_terminal orfTerm)
static
static void PV_HideAllTerminals ( )
static
static void PV_ManageTerminalDisplay ( AW_root root,
ED4_orf_terminal orfTerm,
long int  DispMode 
)
static
static void PV_ManageTerminals ( AW_root root)
static
void PV_RefreshWindow ( AW_root root)
static GB_ERROR PV_ComplementarySequence ( char sequence)
static
static void PV_WriteTranslatedSequenceToDB ( ED4_orf_terminal aaSeqTerm,
const char spName 
)
static
static void PV_SaveData ( AW_window )
static
static void TranslateGeneToAminoAcidSequence ( AW_root ,
ED4_orf_terminal seqTerm,
const char speciesName,
int  startPos4Translation,
int  translationMode 
)
static
static void PV_PrintMissingDBentryInformation ( )
static
static void PV_DisplayAminoAcidNames ( AW_root root)
static
static void PV_RefreshDisplay ( AW_root root)
static

Definition at line 678 of file ED4_ProteinViewer.cxx.

References PV_DisplayAminoAcidNames().

Referenced by PV_AddCallBacks(), and PV_RefreshProtViewDisplay().

static void PV_RefreshProtViewDisplay ( AW_window aww)
static
void PV_SequenceUpdate_CB ( GB_CB_TYPE  gbtype)
static void PV_AddNewAAseqTerminals ( ED4_sequence_terminal seqTerminal,
ED4_species_manager *  speciesManager 
)
static
void PV_AddCorrespondingOrfTerminals ( ED4_species_name_terminal *  spNameTerm)
void PV_AddOrfTerminalsToLoadedSpecies ( )
static void PV_CreateAllTerminals ( AW_root root)
static
void PV_CallBackFunction ( AW_root root)
static void PV_AddCallBacks ( AW_root awr)
static
void PV_CreateAwars ( AW_root root,
AW_default  aw_def 
)
AW_window* ED4_CreateProteinViewer_window ( AW_root aw_root)

Variable Documentation

bool gTerminalsCreated = false
static
int PV_AA_Terminals4Species = 0
static
int gMissingTransTable = 0
static

Definition at line 51 of file ED4_ProteinViewer.cxx.

int gMissingCodonStart = 0
static

Definition at line 52 of file ED4_ProteinViewer.cxx.

bool gbWritingData = false
static

Definition at line 53 of file ED4_ProteinViewer.cxx.

Referenced by PV_SaveData(), and PV_SequenceUpdate_CB().

int giNewAlignments = 0
static

Definition at line 54 of file ED4_ProteinViewer.cxx.

AW_repeated_question* ASKtoOverWriteData = NULp
static

Definition at line 56 of file ED4_ProteinViewer.cxx.

Referenced by PV_SaveData(), and PV_WriteTranslatedSequenceToDB().