]> git.donarmstrong.com Git - mothur.git/blob - alignmentdb.h
added multiple processors option for Windows users to align.seqs, dist.seqs, summary...
[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, int);  //reads fastafile passed in and stores sequences
24         AlignmentDB(string);
25         AlignmentDB(const AlignmentDB& adb);
26         ~AlignmentDB();
27         
28         Sequence findClosestSequence(Sequence*);
29         float getSearchScore()  {  return search->getSearchScore();  }
30         int getLongestBase()    {  return longest;  }
31         
32 private:
33         int numSeqs, longest, threadID;
34         string method;
35         
36         Database* search;
37         vector<Sequence> templateSequences;
38         Sequence emptySequence;
39         MothurOut* m;
40 };
41
42 /**************************************************************************************************/
43
44 #endif
45