X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtreecommand.h;h=cbf376909ff998531ed959f34edb5d72e8b72fcd;hb=2c97dd48b8e27ee0a6a86c7a082f4c504c3357c6;hp=0810ab015ab93d98a90ec2e742ac7d4f77050722;hpb=60fdefb3a300b59c3bbeffdca8a5f1f30c6a43af;p=mothur.git diff --git a/readtreecommand.h b/readtreecommand.h index 0810ab0..cbf3769 100644 --- a/readtreecommand.h +++ b/readtreecommand.h @@ -10,33 +10,39 @@ * */ -#include -#include -#include #include "command.hpp" #include "readtree.h" #include "treemap.h" -class GlobalData; class ReadTreeCommand : public Command { public: - ReadTreeCommand(); - ~ReadTreeCommand(); - int execute(); + ReadTreeCommand(string); + ReadTreeCommand() { abort = true; calledHelp = true; } + ~ReadTreeCommand() {} + + vector setParameters() { return outputNames; } //dummy doesn't really do anything + string getCommandName() { return "read.tree"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "This command is no longer available. You can provide your files directly to the downstream commands like unifrac.unweighted."; } + string getCitation() { return "http://www.mothur.org/wiki/Read.tree"; } + string getDescription() { return "read.tree"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; ReadTree* read; TreeMap* treeMap; - string filename; -}; - - - - - + string filename, treefile, groupfile, namefile; + bool abort; + map nameMap; + vector outputNames; + + int readNamesFile(); + int numUniquesInName; +}; -#endif \ No newline at end of file +#endif