11 #ifndef AP_PRO_A_NUCS_HXX
12 #define AP_PRO_A_NUCS_HXX
93 unsigned char index_2_spro[64];
98 void build_table(
unsigned char pbase,
const char *nuc);
99 long *create_pro_to_bits()
const;
116 unsigned char index2spro(
int index)
const {
return index_2_spro[index]; }
119 int MaxAA()
const {
return max_aa; }
123 return spro ?
char(spro) :
'X';
129 return start ==
'*' ? 0 :
start;
133 return stop ==
'M' ? 0 : stop;
137 #define AWAR_PROTEIN_TYPE "nt/protein_codon_type"
150 #error AP_pro_a_nucs.hxx included twice
151 #endif // AP_PRO_A_NUCS_HXX
AWT_translator * AWT_get_user_translator(GBDATA *gb_main=NULp)
AWT_distance_meter * getDistanceMeter()
char isStartCodon(const char *codon) const
const AWT_distance_meter * getDistanceMeter() const
AWT_distance_meter(const AWT_translator *translator)
char codon2aa(const char *codon) const
AWT_PDP * getDistance(int idx)
struct arb_r2a_pro_2_nucs * nucs
static HelixNrInfo * start
const arb_r2a_pro_2_nuc *const * S2strArray() const
struct arb_r2a_pro_2_nucs * next
char isStartOrStopCodon(const char *codon) const
char isStopCodon(const char *codon) const
AWT_translator * AWT_get_translator(int code_nr)
char * AP_create_dna_to_ap_bases()
AWT_translator(int arb_protein_code_nr)
int AWT_default_protein_type(GBDATA *gb_main=NULp)
unsigned char index2spro(int index) const
long GBS_read_hash(const GB_HASH *hs, const char *key)
const AWT_PDP * getDistance(int idx) const
long index2bitset(int index) const
const arb_r2a_pro_2_nuc * S2str(int index) const