1 #ifndef METASTATSCOMMAND_H
2 #define METASTATSCOMMAND_H
8 * Created by westcott on 9/16/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "inputdata.h"
16 #include "sharedrabundvector.h"
20 class MetaStatsCommand : public Command {
23 MetaStatsCommand(string);
32 linePair(int i, int j) : start(i), num(j) {}
34 vector<linePair> lines;
36 GlobalData* globaldata;
40 vector<SharedRAbundVector*> lookup;
42 bool abort, allLines, pickedGroups;
43 set<string> labels; //holds labels to be used
44 string groups, label, outputDir, inputDir, designfile, sets;
45 vector<string> Groups, outputNames, Sets;
46 vector< vector<string> > namesOfGroupCombos;
47 int iters, processors;
50 int process(vector<SharedRAbundVector*>&);
51 int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
52 int driver(int, int, vector<SharedRAbundVector*>&);