]> git.donarmstrong.com Git - mothur.git/blobdiff - readotucommand.h
modified read.otu and shared command
[mothur.git] / readotucommand.h
index 7bd1ead9dfa9e6cd62d051aa337697350703d9c3..6ec35412c3c82206bef933787c820ca36e2158d2 100644 (file)
  */
 
 #include "command.hpp"
-#include "readmatrix.hpp"
+#include "readotu.h"
 #include "inputdata.h"
 #include "groupmap.h"
 #include "sharedcommand.h"
-#include "parselistcommand.h"
 
 /* The read.otu must be run before you execute a collect.single, rarefaction.single, summary.single, 
 collect.shared, rarefaction.shared or summary.shared command. Mothur will generate a .list, .rabund and .sabund 
@@ -33,18 +32,23 @@ class GlobalData;
 
 class ReadOtuCommand : public Command {
 public:
-       ReadOtuCommand();
+       ReadOtuCommand(string);
        ~ReadOtuCommand();
        int execute();
+       void help();
        
 private:
        GlobalData* globaldata;
-       ReadMatrix* read;
+       //ReadOTUFile* read;
        InputData* input;
        Command* shared;
-       Command* parselist;
        GroupMap* groupMap;
-       string filename;
+       string filename, listfile, orderfile, sharedfile, line, label, groupfile, sabundfile, rabundfile, format;
+
+       bool abort, allLines;
+       set<int> lines; //hold lines to be used
+       set<string> labels; //holds labels to be used
+
 };
 
 #endif