]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactcommand.h
ccode working - still need to paralellize
[mothur.git] / rarefactcommand.h
index b1b706c99c80adf203059e781d8a4d89866f2dfb..1bcb0cf490dda8358a6ba55f042e689abc51bf69 100644 (file)
@@ -9,16 +9,13 @@
  *
  */
 
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <vector>
 #include "command.hpp"
 #include "ordervector.hpp"
 #include "inputdata.h"
 #include "rarefact.h"
 #include "display.h"
-#include "readmatrix.hpp"
+#include "readotu.h"
+#include "validcalculator.h"
 
 
 /*The rarefaction() command:
@@ -40,18 +37,27 @@ class GlobalData;
 class RareFactCommand : public Command {
        
 public:
-       RareFactCommand();      
+       RareFactCommand(string);        
        ~RareFactCommand();
-       int execute();  
+       int execute();
+       void help();    
        
 private:
        GlobalData* globaldata;
        vector<Display*> rDisplays;
-       ReadMatrix* read;
+       ReadOTUFile* read;
        OrderVector* order;
        InputData* input;
+       ValidCalculators* validCalculator;
        Rarefact* rCurve;
-       int freq, nIters;
+       int freq, nIters, abund;
+
+       bool abort, allLines;
+       set<int> lines; //hold lines to be used
+       set<string> labels; //holds labels to be used
+       string line, label, calc;
+       vector<string>  Estimators;
+
 };
 
-#endif
\ No newline at end of file
+#endif