1 #ifndef RAREFACTCOMMAND_H
2 #define RAREFACTCOMMAND_H
7 * Created by Sarah Westcott on 1/2/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
12 #include "command.hpp"
13 #include "ordervector.hpp"
14 #include "inputdata.h"
17 #include "validcalculator.h"
19 class RareFactCommand : public Command {
22 RareFactCommand(string);
26 vector<string> setParameters();
27 string getCommandName() { return "rarefaction.single"; }
28 string getCommandCategory() { return "OTU-Based Approaches"; }
29 string getHelpString();
32 void help() { m->mothurOut(getHelpString()); }
36 vector<Display*> rDisplays;
40 int nIters, abund, processors;
44 set<string> labels; //holds labels to be used
45 string label, calc, sharedfile, listfile, rabundfile, sabundfile, format, inputfile;
46 vector<string> Estimators;
47 vector<string> inputFileNames, outputNames;
48 vector<string> groups;
51 vector<string> parseSharedFile(string);