X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=binsequencecommand.h;h=c93041f348505d7482e9a18d2658d29919eae309;hp=bc2f883fe5f3e232d935780f7660e5a53647b18b;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=a8f5a612bba54ceb74e17efc027d3a7f5aa93c9a diff --git a/binsequencecommand.h b/binsequencecommand.h index bc2f883..c93041f 100644 --- a/binsequencecommand.h +++ b/binsequencecommand.h @@ -14,33 +14,44 @@ #include "command.hpp" #include "inputdata.h" #include "listvector.hpp" -#include "readotu.h" #include "fastamap.h" #include "groupmap.h" - - -class GlobalData; +#include "counttable.h" class BinSeqCommand : public Command { public: - BinSeqCommand(); + BinSeqCommand(string); + BinSeqCommand(); ~BinSeqCommand(); - int execute(); + + vector setParameters(); + string getCommandName() { return "bin.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + + string getHelpString(); + string getOutputPattern(string); + 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; + CountTable ct; ListVector* list; - ReadOTUFile* read; InputData* input; FastaMap* fasta; GroupMap* groupMap; - string filename, fastafile, namesfile, groupfile; + bool abort, allLines; + set labels; //holds labels to be used + string filename, fastafile, listfile, namesfile, groupfile, countfile, label, outputDir; ofstream out; ifstream in, inNames; + vector outputNames; void readNamesFile(); - int process(ListVector*, int); + int process(ListVector*); }; #endif