#include "groupmap.h"
#include "inputdata.h"
#include "listvector.hpp"
+#include "sequence.hpp"
/***************************************************************************************/
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);
vector<string> Groups;
bool abort, allLines, accnos;
int cutoff;
- map<string, bool> wroteListFile;
+ //map<string, bool> wroteListFile;
map<string, string> nameMap;