30 #ifndef ED4_PROTEIN_2ND_STRUCTURE_HXX
31 #define ED4_PROTEIN_2ND_STRUCTURE_HXX
39 #define PFOLD_AWAR_ENABLE "Pfold/enable"
40 #define PFOLD_AWAR_SELECTED_SAI "Pfold/selected_SAI"
41 #define PFOLD_AWAR_PAIR_TEMPLATE "Pfold/pairs/%s"
42 #define PFOLD_AWAR_SYMBOL_TEMPLATE "Pfold/symbols/%s"
43 #define PFOLD_AWAR_SYMBOL_TEMPLATE_2 "Pfold/symbols2"
44 #define PFOLD_AWAR_MATCH_METHOD "Pfold/match_method"
45 #define PFOLD_AWAR_SAI_FILTER "Pfold/SAI_filter"
100 #define PFOLD_PAIR_CHARS_2 "##++~~-- "
117 #define cf_former(aa, strct) ((strct!=2) ? cf_parameters[aa][strct] : cf_parameters_norm[aa][strct])
127 #define cf_breaker(aa, strct) ((strct!=2) ? cf_parameters[aa][strct+2] : 0)
Compare two protein secondary structures.
GB_ERROR ED4_pfold_calculate_secstruct_match(const unsigned char *structure_sai, const unsigned char *structure_cmp, int start, int end, char *result_buffer, PFOLD_MATCH_METHOD match_method=SECSTRUCT_SEQUENCE)
Compares a protein secondary structure with a primary structure or another secondary structure...
static char * alignment_name
AW_window * ED4_pfold_create_props_window(AW_root *awr, const WindowCallback *refreshCallback)
Creates the "Protein Match Settings" window.
Compare an amino acid sequence with a reference protein secondary structure.
name_value_pair pfold_match_type_awars[]
Awars for the match type; binds the PFOLD_MATCH_TYPE to the corresponding awar name.
static HelixNrInfo * start
char * pfold_pairs[PFOLD_PAIRS]
Match pair definition (see PFOLD_MATCH_TYPE) as used for match methods SECSTRUCT_SECSTRUCT and SECSTR...
PFOLD_MATCH_TYPE
Match quality for secondary structure match.
PFOLD_MATCH_METHOD
Defines the methods for match computation. For details refer to ED4_pfold_calculate_secstruct_match()...
const char * name
Name or description.
Defines a name-value pair (e.g. for awars, menu entries, etc.).
Compare a full prediction of the protein secondary structure from its amino acid sequence with a refe...
char * pfold_pair_chars[PFOLD_PAIRS]
Symbols for the match quality (defined by PFOLD_MATCH_TYPE) as used for match methods SECSTRUCT_SECST...
PFOLD_STRUCTURE
Protein secondary structure types.
int value
Value attached to name.
GB_ERROR ED4_pfold_set_SAI(char **protstruct, GBDATA *gb_main, const char *alignment_name, long *protstruct_len=NULp)
Sets the reference protein secondary structure SAI.