X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlineagecommand.h;h=68f974f21461933b8feed0657bc07f86c17b4e20;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=0d07ac6193f37807a25247df864f762e67369d58;hpb=ca0785e447ca7aa7e2f0ab8bb1155db126b551ea;p=mothur.git diff --git a/getlineagecommand.h b/getlineagecommand.h index 0d07ac6..68f974f 100644 --- a/getlineagecommand.h +++ b/getlineagecommand.h @@ -17,23 +17,37 @@ class GetLineageCommand : public Command { public: GetLineageCommand(string); - ~GetLineageCommand(){}; - int execute(); - void help(); + GetLineageCommand(); + ~GetLineageCommand(){} + + vector setParameters(); + string getCommandName() { return "get.lineage"; } + string getCommandCategory() { return "Phylotype Analysis"; } + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Get.lineage"; } + string getDescription() { return "gets sequences from a list, fasta, name, group, alignreport or taxonomy file from a given taxonomy or set of taxonomies"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + + private: set names; - vector outputNames; - string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons; + vector outputNames, listOfTaxons; + string fastafile, namefile, groupfile, alignfile, countfile, listfile, taxfile, outputDir, taxons; bool abort, dups; int readFasta(); int readName(); + int readCount(); int readGroup(); int readAlign(); int readList(); int readTax(); - string removeConfidences(string); + vector< map > getTaxons(string); }; #endif