X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=binsequencecommand.h;fp=binsequencecommand.h;h=fe83f20f59b0e6f4db7d765f9b1aa5dc17618252;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=df7ea7593dd266c71a3a1b7a49c03c70596a368f;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/binsequencecommand.h b/binsequencecommand.h index df7ea75..fe83f20 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,40 +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(); - 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(); + + 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*);