X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlineagecommand.h;h=68f974f21461933b8feed0657bc07f86c17b4e20;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=45b51a89398af8fbd3551560ae425b28520706b6;hpb=8f89a92f4ada82a2b3bf51b23b6a977770f2b9e2;p=mothur.git diff --git a/getlineagecommand.h b/getlineagecommand.h index 45b51a8..68f974f 100644 --- a/getlineagecommand.h +++ b/getlineagecommand.h @@ -18,29 +18,36 @@ class GetLineageCommand : public Command { GetLineageCommand(string); GetLineageCommand(); - ~GetLineageCommand(){}; - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~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; - map > outputTypes; int readFasta(); int readName(); + int readCount(); int readGroup(); int readAlign(); int readList(); int readTax(); - string removeConfidences(string); - vector< map > getTaxons(string); + vector< map > getTaxons(string); }; #endif