X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=1fb5664b0c018c4120881055014ec08a4e6d5559;hb=b866e1519a60681527244036428104ad1cb90c93;hp=8ea88cbfcff767eec8461df493cea50217675404;hpb=71b2121662daae3f9044252887d1c16eeddd85bb;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index 8ea88cb..1fb5664 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,34 +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(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 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*);