root/branches/stable_5.0/AWT/awt_translate.hxx

Revision 8301, 1.2 KB (checked in by westram, 5 months ago)
  • fixed some realigner bugs
    • when species did not contain transl_table and codon_start, the realigner inserted only codon_start.
      • the next realignment/translation failed since it expected BOTH or NONE of the two fields.
      • now the realigner
        • either writes both fields (if used transl_table is well-defined)
        • deletes both fields
    • when some/all species did not contain data in source and/or destination alignment, the realigner silently skipped them
      • now prints a message about skipped species
    • errors during realignment (e.g. protection errors) were not shown

Note: grml .. similar patch was already in trunk as [6600]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : awt_translate.hxx                                 //
4//   Purpose   :                                                   //
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#ifndef AWT_TRANSLATE_HXX
12#define AWT_TRANSLATE_HXX
13
14GB_ERROR AWT_getTranslationInfo(GBDATA *gb_species, int& arb_transl_table, int &codon_start);
15GB_ERROR AWT_saveTranslationInfo(GBDATA *gb_species, int arb_transl_table, int codon_start);
16GB_ERROR AWT_removeTranslationInfo(GBDATA *gb_species);
17
18int AWT_pro_a_nucs_convert(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);
19
20#else
21#error awt_translate.hxx included twice
22#endif // AWT_TRANSLATE_HXX
Note: See TracBrowser for help on using the browser.