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