*
*/
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <map>
#include "command.hpp"
#include "sharedlistvector.h"
#include "inputdata.h"
-#include "shared.h"
-#include "readmatrix.hpp"
+#include "readotu.h"
/* The shared() command:
The shared command can only be executed after a successful read.shared command.
SharedCommand();
~SharedCommand();
int execute();
+ void help() {}
private:
- void printSharedData();
+ void printSharedData(vector<SharedRAbundVector*>);
GlobalData* globaldata;
- ReadMatrix* read;
+ ReadOTUFile* read;
SharedListVector* SharedList;
InputData* input;
- Shared* shared;
- map<string, SharedRAbundVector*>::iterator it;
+ GroupMap* groupMap;
ofstream out;
- string filename;
+ string filename, fileroot;
+ bool firsttime;
+ map<string, ofstream*> filehandles;
+ map<string, ofstream*>::iterator it3;
};
-#endif
\ No newline at end of file
+#endif