X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=1fb5664b0c018c4120881055014ec08a4e6d5559;hb=dc383fb61b6d165a8d36e6108df8bc7129243ae6;hp=6ea7305265a6725a6a6290f6de028b307c5e8a0b;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index 6ea7305..1fb5664 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,31 +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 getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Bin.seqs"; } + string getDescription() { return "maps sequences to otus"; } + + 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;