]> git.donarmstrong.com Git - mothur.git/blobdiff - mergegroupscommand.h
added sparseDistanceMatrix class. Modified cluster commands to use the new sparse...
[mothur.git] / mergegroupscommand.h
index 7907dfe85f556682d1cc796323314a2f0c8d7b67..4db344763950b4d53376b3d44e5afebef61db2f8 100644 (file)
@@ -24,6 +24,7 @@ public:
        vector<string> setParameters();
        string getCommandName()                 { return "merge.groups";        }
        string getCommandCategory()             { return "General";                     }
+       string getOutputFileNameTag(string, string);
        string getHelpString(); 
        string getCitation() { return "http://www.mothur.org/wiki/Merge.groups"; }
        string getDescription()         { return "reads shared file and a design file and merges the groups in the shared file that are in the same grouping in the design file"; }
@@ -38,10 +39,12 @@ private:
        
        bool abort, allLines, pickedGroups;
        set<string> labels; //holds labels to be used
-       string groups, label, outputDir, inputDir, designfile, sharedfile;
+       string groups, label, outputDir, inputDir, designfile, sharedfile, groupfile;
        vector<string> Groups, outputNames;
                
        int process(vector<SharedRAbundVector*>&, ofstream&);
+       int processSharedFile(GroupMap*&);
+       int processGroupFile(GroupMap*&);
 };
 
 #endif