X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=fe83f20f59b0e6f4db7d765f9b1aa5dc17618252;hb=d945488119ad368b180537f36ed40298ff170f39;hp=e2ff648283a9c00569a8d2a4170a040b4a494902;hpb=81a77fdce5e9b060c71b162305ddd9fa4308f78a;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index e2ff648..fe83f20 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,32 +14,39 @@ #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(); + BinSeqCommand(string); + BinSeqCommand(); ~BinSeqCommand(); - int execute(); + + vector 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; - string filename, fastafile, namesfile, groupfile; + bool abort, allLines; + set labels; //holds labels to be used + string filename, fastafile, listfile, namesfile, groupfile, label, outputDir; ofstream out; ifstream in, inNames; + vector outputNames; void readNamesFile(); + int process(ListVector*); }; #endif