1 #ifndef SUMMARYSHAREDCOMMAND_H
2 #define SUMMARYSHAREDCOMMAND_H
4 * summarysharedcommand.h
7 * Created by Sarah Westcott on 1/2/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 #include "command.hpp"
14 #include "sharedrabundvector.h"
15 #include "inputdata.h"
16 #include "calculator.h"
18 #include "validcalculator.h"
22 class SummarySharedCommand : public Command {
25 SummarySharedCommand(string);
26 ~SummarySharedCommand();
31 GlobalData* globaldata;
33 vector<Calculator*> sumCalculators;
35 ValidCalculators* validCalculator;
37 bool abort, allLines, mult, all;
38 set<string> labels; //holds labels to be used
39 string label, calc, groups;
40 vector<string> Estimators, Groups, outputNames;
41 vector<SharedRAbundVector*> lookup;
42 string outputFileName, format, outAllFileName, outputDir;
43 ofstream outputFileHandle, outAll;
44 int process(vector<SharedRAbundVector*>);