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();
35 vector<linePair> lines;
36 GlobalData* globaldata;
38 vector<Calculator*> sumCalculators;
40 ValidCalculators* validCalculator;
42 bool abort, allLines, mult, all;
43 set<string> labels; //holds labels to be used
44 string label, calc, groups;
45 vector<string> Estimators, Groups, outputNames;
46 vector<SharedRAbundVector*> lookup;
47 string format, outputDir;
48 int numGroups, processors;
49 int process(vector<SharedRAbundVector*>, string, string);
50 int driver(vector<SharedRAbundVector*>, int, int, string, string);