]> git.donarmstrong.com Git - mothur.git/blobdiff - splitabundcommand.h
fixed id match
[mothur.git] / splitabundcommand.h
index fb8838063e408223df815f80844e51c04569c16a..c883a690d9846febec2059b4d88ea1393ea2f52c 100644 (file)
@@ -21,6 +21,7 @@ also allow an option where a user can give a group file with the list or names f
 #include "groupmap.h"
 #include "inputdata.h"
 #include "listvector.hpp"
+#include "sequence.hpp"
 
 /***************************************************************************************/
 
@@ -28,16 +29,22 @@ class SplitAbundCommand : public Command {
        
 public:
        SplitAbundCommand(string);      
+       SplitAbundCommand();
        ~SplitAbundCommand();
-       int execute();  
-       void help();
-
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "split.abund";                         }
+       string getCommandCategory()             { return "OTU-Based Approaches";        }
+       string getHelpString(); 
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
 private:
        int splitList(ListVector*);
        int splitNames(); //namefile
        int writeNames(); 
-       int writeList(ListVector*); 
+       int writeList(ListVector*, string); 
        int writeAccnos(string); 
        int parseGroup(string); 
        int parseFasta(string); 
@@ -54,7 +61,7 @@ private:
        vector<string> Groups;
        bool abort, allLines, accnos;
        int cutoff;
-       map<string, bool> wroteListFile;
+       //map<string, bool> wroteListFile;
        map<string, string> nameMap;