ARB
Macros | Functions
Translate.cxx File Reference
#include "Translate.hxx"
#include <AP_pro_a_nucs.hxx>
#include <AP_codon_table.hxx>
#include <arbdbt.h>
#include <arb_global_defs.h>
#include <cctype>
Include dependency graph for Translate.cxx:

Go to the source code of this file.

Macros

#define tl_assert(cond)   arb_assert(cond)
 

Functions

GB_ERROR translate_saveInfo (GBDATA *gb_species, int arb_transl_table, int codon_start)
 
GB_ERROR translate_removeInfo (GBDATA *gb_species)
 
GB_ERROR translate_getInfo (GBDATA *gb_item, int &arb_transl_table, int &codon_start)
 
void memcpy3 (char *dest, const char *source)
 
int translate_nuc2aa (int arb_code_nr, char *data, size_t size, size_t pos, bool translate_all, bool create_start_codon, bool append_stop_codon, int *translatedSize)
 

Macro Definition Documentation

#define tl_assert (   cond)    arb_assert(cond)

Definition at line 20 of file Translate.cxx.

Referenced by translate_saveInfo().

Function Documentation

GB_ERROR translate_saveInfo ( GBDATA gb_species,
int  arb_transl_table,
int  codon_start 
)
GB_ERROR translate_removeInfo ( GBDATA gb_species)

Definition at line 34 of file Translate.cxx.

References error(), GB_delete(), GB_entry(), and NULp.

GB_ERROR translate_getInfo ( GBDATA gb_item,
int arb_transl_table,
int codon_start 
)
void memcpy3 ( char dest,
const char source 
)
inline

Definition at line 102 of file Translate.cxx.

Referenced by translate_nuc2aa().

int translate_nuc2aa ( int  arb_code_nr,
char data,
size_t  size,
size_t  pos,
bool  translate_all,
bool  create_start_codon,
bool  append_stop_codon,
int translatedSize 
)