]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactcommand.h
ccode working - still need to paralellize
[mothur.git] / rarefactcommand.h
index c81eb6fea19a3808ec93f0cdda1c779719947585..1bcb0cf490dda8358a6ba55f042e689abc51bf69 100644 (file)
@@ -9,15 +9,12 @@
  *
  */
 
-#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"
 
 
@@ -40,19 +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