X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;h=365fb3c3afdaf8cedd788b83e1ef2a29a4e9b00b;hb=ee8403d4eb5760187d62b42a9cf4272de8fc0ec4;hp=df7ea7593dd266c71a3a1b7a49c03c70596a368f;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index df7ea75..365fb3c 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,40 +14,38 @@ #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(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - 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"; } + 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; - map > outputTypes; void readNamesFile(); int process(ListVector*);