]> git.donarmstrong.com Git - mothur.git/blobdiff - metastatscommand.h
bug fixes
[mothur.git] / metastatscommand.h
diff --git a/metastatscommand.h b/metastatscommand.h
new file mode 100644 (file)
index 0000000..9c9f455
--- /dev/null
@@ -0,0 +1,47 @@
+#ifndef METASTATSCOMMAND_H
+#define METASTATSCOMMAND_H
+
+/*
+ *  metastatscommand.h
+ *  Mothur
+ *
+ *  Created by westcott on 9/16/10.
+ *  Copyright 2010 Schloss Lab. All rights reserved.
+ *
+ */
+#include "command.hpp"
+#include "inputdata.h"
+#include "readotu.h"
+#include "sharedrabundvector.h"
+
+class GlobalData;
+
+class MetaStatsCommand : public Command {
+
+public:
+       MetaStatsCommand(string);
+       ~MetaStatsCommand();
+       int execute();
+       void help();
+       
+private:
+       GlobalData* globaldata;
+       GroupMap* designMap;
+       ReadOTUFile* read;
+       InputData* input;
+       vector<SharedRAbundVector*> lookup;
+       
+       bool abort, allLines, pickedGroups;
+       set<string> labels; //holds labels to be used
+       string groups, label, outputDir, inputDir, designfile;
+       vector<string> Groups, outputNames;
+       int iters, g;
+       float threshold;
+       
+       int process(vector<SharedRAbundVector*>&);
+       int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
+};
+
+#endif
+