]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.h
finished chimeraslayer method and added get.listcount command
[mothur.git] / groupmap.h
index d03880d9814fac255613daa381f6d63b4ccfba4a..e52ada56056e14cf8df6f4a2b7e541d7c8b1fcc7 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include "mothur.h"
-#include "utilities.hpp"
 
 /* This class is a representation of the groupfile.  It is used by all the shared commands to determine what group a 
        certain sequence belongs to. */
@@ -22,11 +21,14 @@ public:
        ~GroupMap();
        void readMap();
        int getNumGroups();
+       bool isValidGroup(string);  //return true if string is a valid group
        string getGroup(string);
        void setGroup(string, string);
        vector<string> namesOfGroups;
        map<string, int> groupIndex;  //groupname, vectorIndex in namesOfGroups. - used by collectdisplays.
-               
+       int getNumSeqs()  {  return groupmap.size();  }
+       vector<string> getNamesSeqs();
+                       
 private:
        ifstream fileHandle;
        string groupFileName;