ARB
Analyser.h
Go to the documentation of this file.
1 
20 #ifndef ANALYSER_H
21 #define ANALYSER_H
22 
23 #ifndef ARBDBT_H
24 #include <arbdbt.h>
25 #endif
26 #ifndef ALIGNEDSEQUENCELOADER_H
27 #include "AlignedSequenceLoader.h"
28 #endif
29 #ifndef CMA_H
30 #include "Cma.h"
31 #endif
32 
33 class Analyser FINAL_TYPE : virtual Noncopyable {
34 
38  AlignedSequenceLoader *loader;
39 
43  Cma *cma;
44 
45 public:
49  Cma* getCma();
50 
54  GB_ERROR saveSAI(GBDATA *gb_main, vector<size_t> clusters, double threshold);
55  static const char *getSAIname() { return "cma_clusters"; }
56 
60  vector<char> normalizeClusters(vector<size_t> clusters);
61 
65  AlignedSequenceLoader* getLoader();
66 
67  GB_ERROR get_error() const { return loader->get_error(); }
68  bool has_error() const { return get_error(); }
69 
73  Analyser(class GBDATA *gb_main);
74 
78  virtual ~Analyser();
79 
80 };
81 
82 #else
83 #error Analyser.h included twice
84 #endif // ANALYSER_H
static const char * getSAIname()
Definition: Analyser.h:55
GB_ERROR get_error() const
Definition: Analyser.h:67
xml element
bool has_error() const
Definition: Analyser.h:68
GBDATA * gb_main
Definition: adname.cxx:33