]> git.donarmstrong.com Git - mothur.git/blob - readseqs.h
1aefcc63375c1202b425fff1143c54bf105109bf
[mothur.git] / readseqs.h
1 #ifndef READSEQS_H
2 #define READSEQS_H
3
4 /*
5  *  readseqs.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 5/11/09.
9  *  Copyright 2009Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "globaldata.hpp"
14 #include "sequencedb.h"
15 #include "mothur.h"
16
17 /**********************************************************************************/
18
19 class ReadSeqs {
20
21         public:
22                 ReadSeqs(string);
23                 ~ReadSeqs();
24                 virtual void read();
25                 virtual SequenceDB* getDB();            
26         
27         protected:
28                 GlobalData* globaldata;
29                 string seqFile;
30                 ifstream filehandle;
31                 SequenceDB sequencedb;
32                 int readOk; // readOk = 0 means success, readOk = 1 means error(s).             
33 };
34
35 #endif