X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtreecommand.h;h=cbf376909ff998531ed959f34edb5d72e8b72fcd;hb=d205e70ae86dbee2efc2df02f2717975854de6ba;hp=b0d10f70b57e9fa8ec27622ee9566b67d5c2853c;hpb=5f44783e6d74a9c207492ac244210c915cadc272;p=mothur.git diff --git a/readtreecommand.h b/readtreecommand.h index b0d10f7..cbf3769 100644 --- a/readtreecommand.h +++ b/readtreecommand.h @@ -14,24 +14,33 @@ #include "readtree.h" #include "treemap.h" -class GlobalData; class ReadTreeCommand : public Command { public: ReadTreeCommand(string); - ~ReadTreeCommand(); - 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; int readNamesFile(); + int numUniquesInName; };