source: branches/port5/AWT/awt_seq_simple_pro.hxx

Last change on this file was 5968, checked in by westram, 16 years ago
  • new flag -w to aisc_mkpt (add include wrapper)
  • uniform style for several include wrappers
  • removed duplicated includes
  • removed useless nt_concatenate.hxx
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1// =========================================================== //
2//                                                             //
3//   File      : awt_seq_simple_pro.hxx                        //
4//   Purpose   :                                               //
5//                                                             //
6//   Institute of Microbiology (Technical University Munich)   //
7//   http://www.arb-home.de/                                   //
8//                                                             //
9// =========================================================== //
10
11#ifndef AWT_SEQ_SIMPLE_PRO_HXX
12#define AWT_SEQ_SIMPLE_PRO_HXX
13
14
15typedef enum {
16    ala, arg, asn, asp, cys, gln, glu, gly, his, ileu, leu, lys, met, phe, pro,
17    ser, thr, trp, tyr, val, stop, del, asx, glx, unk, quest
18}               aas;
19
20typedef unsigned char ap_pro;   // aas but only one character used
21
22class AP_sequence_simple_protein :  public  AP_sequence {
23
24public:
25    ap_pro      *sequence;
26    //static char   *table;
27    AP_sequence_simple_protein(AP_tree_root *rooti);
28    ~AP_sequence_simple_protein(void);
29    AP_sequence     *dup(void);     // used to get the real new element
30    void set(const char *sequence);
31    double combine( const AP_sequence *lefts, const AP_sequence *rights);
32    void partial_match(const AP_sequence* part, long *overlap, long *penalty) const;
33};
34
35#else
36#error awt_seq_simple_pro.hxx included twice
37#endif // AWT_SEQ_SIMPLE_PRO_HXX
Note: See TracBrowser for help on using the repository browser.