class SharedCommand : public Command {
public:
- SharedCommand();
+ SharedCommand(string);
~SharedCommand();
int execute();
void help() {}
private:
void printSharedData(vector<SharedRAbundVector*>);
void createMisMatchFile();
+ bool isValidGroup(string, vector<string>);
+ void eliminateZeroOTUS(vector<SharedRAbundVector*>&);
+
GlobalData* globaldata;
ReadOTUFile* read;
SharedListVector* SharedList;
InputData* input;
GroupMap* groupMap;
+ vector<string> groups;
ofstream out;
- string filename, fileroot;
- bool firsttime;
+ string filename, fileroot, outputDir;
+ bool firsttime, pickedGroups;
map<string, ofstream*> filehandles;
map<string, ofstream*>::iterator it3;