X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removelineagecommand.h;h=f644972c2672aa19509059c78d631ef0618eba28;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=02a4440e79ec4a7e996b58a7b9209b30cc933dcd;hpb=a4f05f09c250323132a4b9427f41a3ededaec634;p=mothur.git diff --git a/removelineagecommand.h b/removelineagecommand.h index 02a4440..f644972 100644 --- a/removelineagecommand.h +++ b/removelineagecommand.h @@ -19,27 +19,32 @@ class RemoveLineageCommand : public Command { RemoveLineageCommand(string); RemoveLineageCommand(); ~RemoveLineageCommand(){}; - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "remove.lineage"; } + string getCommandCategory() { return "Phylotype Analysis"; } + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Remove.lineage"; } + string getDescription() { return "removes 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; - map > outputTypes; - string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons; + vector outputNames, listOfTaxons; + string fastafile, namefile, groupfile, alignfile, listfile, countfile, taxfile, outputDir, taxons; bool abort, dups; int readFasta(); int readName(); int readGroup(); + int readCount(); int readAlign(); int readList(); int readTax(); - string removeConfidences(string); vector< map > getTaxons(string); };