X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getlineagecommand.h;h=68f974f21461933b8feed0657bc07f86c17b4e20;hb=c48d91112209b841444923670dca5454da0e2a4d;hp=5b7c43ed65808f7038b3c46cb96f3b7a32b8849a;hpb=a4f05f09c250323132a4b9427f41a3ededaec634;p=mothur.git diff --git a/getlineagecommand.h b/getlineagecommand.h index 5b7c43e..68f974f 100644 --- a/getlineagecommand.h +++ b/getlineagecommand.h @@ -18,28 +18,35 @@ 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); };