X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=7456a2628f42969f66422d3e194b20508276dcea;hb=1c898913f53fe4c6574102896b967d9347d1b42a;hp=aceba65da17315de31515750a62fc53f4b7b9a48;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index aceba65..7456a26 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,40 +14,41 @@ #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 setParameters(); + string getCommandName() { return "bin.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Bin.seqs"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; + ListVector* list; - ReadOTUFile* read; InputData* input; FastaMap* fasta; GroupMap* groupMap; - OptionParser* parser; - map parameters; - map::iterator it; bool abort, allLines; - set lines; //hold lines to be used set labels; //holds labels to be used - string filename, fastafile, namesfile, groupfile, line, label; + string filename, fastafile, listfile, namesfile, groupfile, label, outputDir; ofstream out; ifstream in, inNames; + vector outputNames; void readNamesFile(); - int process(ListVector*, int); + int process(ListVector*); }; #endif