#include "command.hpp"
#include "inputdata.h"
#include "listvector.hpp"
-#include "readotu.h"
#include "fastamap.h"
#include "groupmap.h"
-
-class GlobalData;
-
class BinSeqCommand : public Command {
public:
BinSeqCommand(string);
+ BinSeqCommand();
~BinSeqCommand();
- int execute();
- void help();
+
+ vector<string> setParameters();
+ string getCommandName() { return "bin.seqs"; }
+ string getCommandCategory() { return "Sequence Processing"; }
+ string getHelpString();
+
+ int execute();
+ void help() { m->mothurOut(getHelpString()); }
private:
- GlobalData* globaldata;
+
ListVector* list;
- ReadOTUFile* read;
InputData* input;
FastaMap* fasta;
GroupMap* groupMap;
bool abort, allLines;
set<string> labels; //holds labels to be used
- string filename, fastafile, namesfile, groupfile, label, outputDir;
+ string filename, fastafile, listfile, namesfile, groupfile, label, outputDir;
ofstream out;
ifstream in, inNames;
+ vector<string> outputNames;
void readNamesFile();
int process(ListVector*);