ARB
Main Page
Namespaces
Classes
Files
File List
File Members
SL
TRANSLATE
Translate.hxx
Go to the documentation of this file.
1
// =============================================================== //
2
// //
3
// File : Translate.hxx //
4
// Purpose : Interface for Nucleotide->AA translation //
5
// //
6
// Coded by Ralf Westram (coder@reallysoft.de) in June 2006 //
7
// Institute of Microbiology (Technical University Munich) //
8
// http://www.arb-home.de/ //
9
// //
10
// =============================================================== //
11
12
#ifndef TRANSLATE_HXX
13
#define TRANSLATE_HXX
14
15
#ifndef ARBDB_BASE_H
16
#include <
arbdb_base.h
>
17
#endif
18
19
// handle translation info stored in species fields:
20
GB_ERROR
translate_getInfo
(
GBDATA
*gb_species,
int
& arb_transl_table,
int
&codon_start);
21
GB_ERROR
translate_saveInfo
(
GBDATA
*gb_species,
int
arb_transl_table,
int
codon_start);
22
GB_ERROR
translate_removeInfo
(
GBDATA
*gb_species);
23
24
// translate:
25
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);
26
27
#else
28
#error Translate.hxx included twice
29
#endif // TRANSLATE_HXX
translate_getInfo
GB_ERROR translate_getInfo(GBDATA *gb_species, int &arb_transl_table, int &codon_start)
Definition:
Translate.cxx:48
GB_ERROR
const char * GB_ERROR
Definition:
arb_core.h:25
translate_saveInfo
GB_ERROR translate_saveInfo(GBDATA *gb_species, int arb_transl_table, int codon_start)
Definition:
Translate.cxx:22
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)
Definition:
Translate.cxx:108
GBDATA
Definition:
gb_data.h:129
arbdb_base.h
translate_removeInfo
GB_ERROR translate_removeInfo(GBDATA *gb_species)
Definition:
Translate.cxx:34
Generated by
1.8.8