]> git.donarmstrong.com Git - mothur.git/blob - alignmentdb.h
added MPI code, broke up chimera.seqs into 5 separated commands, added parse.sff...
[mothur.git] / alignmentdb.h
1 #ifndef ALIGNMENTDB_H
2 #define ALIGNMENTDB_H
3
4 /*
5  *  alignmentdb.h
6  *  Mothur
7  *
8  *  Created by westcott on 11/4/09.
9  *  Copyright 2009 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14 #include "sequence.hpp"
15 #include "database.hpp"
16
17 /**************************************************************************************************/
18
19 class AlignmentDB {
20
21 public:
22
23         AlignmentDB(string, string, int, float, float, float, float);  //reads fastafile passed in and stores sequences
24         AlignmentDB(string);
25         ~AlignmentDB();
26         
27         Sequence findClosestSequence(Sequence*);
28         float getSearchScore()  {  return search->getSearchScore();  }
29         int getLongestBase()    {  return longest;  }
30         int MPISend(int);
31         int MPIRecv(int);
32         
33 private:
34         int numSeqs, longest;
35         string method;
36         
37         Database* search;
38         vector<Sequence> templateSequences;
39         Sequence emptySequence;
40         MothurOut* m;
41 };
42
43 /**************************************************************************************************/
44
45 #endif
46