]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedcommand.h
pat's mods to morisitahorn and pre.cluster
[mothur.git] / sharedcommand.h
index 08314b56590b70dcb56b29f0c08a454da9ebac5d..5b922b6d6255eb993f8607fedc9696d4054f7caa 100644 (file)
@@ -12,7 +12,6 @@
 #include "command.hpp"
 #include "sharedlistvector.h"
 #include "inputdata.h"
-#include "shared.h"
 #include "readotu.h"
 
 /* The shared() command:
@@ -33,15 +32,22 @@ public:
        void help() {}
        
 private:
-       void printSharedData();
+       void printSharedData(vector<SharedRAbundVector*>);
+       void createMisMatchFile();
+       bool isValidGroup(string, vector<string>);
+       void eliminateZeroOTUS(vector<SharedRAbundVector*>&);
+       
        GlobalData* globaldata;
        ReadOTUFile* read;
        SharedListVector* SharedList;
        InputData* input;
-       Shared* shared;
-       map<string, SharedRAbundVector*>::iterator it;
+       GroupMap* groupMap;
+       vector<string> groups;
        ofstream out;
-       string filename;
+       string filename, fileroot;
+       bool firsttime, pickedGroups;
+       map<string, ofstream*> filehandles;
+       map<string, ofstream*>::iterator it3;
 
 };