X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtreecommand.h;h=cbf376909ff998531ed959f34edb5d72e8b72fcd;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=97391d0982bbadb437ebe13318c47babeca4a981;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/readtreecommand.h b/readtreecommand.h index 97391d0..cbf3769 100644 --- a/readtreecommand.h +++ b/readtreecommand.h @@ -14,29 +14,30 @@ #include "readtree.h" #include "treemap.h" -class GlobalData; class ReadTreeCommand : public Command { public: ReadTreeCommand(string); - ReadTreeCommand() {} - ~ReadTreeCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + 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, treefile, groupfile, namefile; bool abort; map nameMap; vector outputNames; - map > outputTypes; int readNamesFile(); int numUniquesInName;