]> git.donarmstrong.com Git - mothur.git/blob - readfasta.h
modified filter.seqs to not store all seqs in memory but to read off disc
[mothur.git] / readfasta.h
1 #ifndef READFASTA_H
2 #define READFASTA_H
3
4 /*
5  *  readfasta.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 4/21/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "readseqs.h"
14 #include "globaldata.hpp"
15 #include "sequencedb.h"
16 #include "mothur.h"
17
18 /**********************************************************************************/
19
20 class ReadFasta : public ReadSeqs {
21
22         public:
23                 ReadFasta(string);
24                 ~ReadFasta();
25                 void read();
26                 SequenceDB* getDB();
27         private:
28                 string readName(ifstream&);
29                 string readSequence(ifstream&);
30
31 };
32
33 #endif