X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=fe83f20f59b0e6f4db7d765f9b1aa5dc17618252;hb=0d4b21e5ccc56276b0c18d17d8e75d94ce1df4e7;hp=2804235aa67822bf016dcdeb696eca4fbd9d6464;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index 2804235..fe83f20 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,33 +14,36 @@ #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(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; + ListVector* list; - ReadOTUFile* read; InputData* input; FastaMap* fasta; GroupMap* groupMap; bool abort, allLines; set 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 outputNames; void readNamesFile(); int process(ListVector*);