X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flowdata.h;fp=flowdata.h;h=100765370ca5429e75b8688a6abc51d79f17edc5;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/flowdata.h b/flowdata.h new file mode 100644 index 0000000..1007653 --- /dev/null +++ b/flowdata.h @@ -0,0 +1,43 @@ +#ifndef FLOWDATA_H +#define FLOWDATA_H + +/* + * flowdata.h + * Mothur + * + * Created by Pat Schloss on 12/22/10. + * Copyright 2010 Schloss Lab. All rights reserved. + * + */ + +#include "mothur.h" +#include "mothurout.h" +#include "sequence.hpp" + +class FlowData { + +public: + FlowData(); + FlowData(int, float, float, int, string); + ~FlowData(); + bool getNext(ifstream&); + string getName(); + void capFlows(int); + bool hasMinFlows(int); + Sequence getSequence(); + + void printFlows(ofstream&); + void printFlows(ofstream&, string); +private: + MothurOut* m; + + void updateEndFlow(); + void translateFlow(); + float signalIntensity, noiseIntensity; + int maxHomoP; + string seqName, locationString, sequence, baseFlow; + int numFlows, maxFlows, endFlow; + vector flowData; +}; + +#endif