X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removelineagecommand.h;h=8bfa5f15be3502e93e878d7ddfadc1870628be39;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=c590ec640dbbfec2f9cbc886041aadfe614fd719;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/removelineagecommand.h b/removelineagecommand.h index c590ec6..8bfa5f1 100644 --- a/removelineagecommand.h +++ b/removelineagecommand.h @@ -11,6 +11,9 @@ */ #include "command.hpp" +#include "sharedrabundvector.h" +#include "listvector.hpp" + class RemoveLineageCommand : public Command { @@ -19,27 +22,40 @@ 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, sharedfile, constaxonomy, label; bool abort, dups; + vector lookup; + ListVector* list; int readFasta(); int readName(); int readGroup(); + int readCount(); int readAlign(); int readList(); - int readTax(); - string removeConfidences(string); + int readTax(); + int readShared(); + int readConsTax(); + int readConsList(); + int getShared(); + int getListVector(); + vector< map > getTaxons(string); }; #endif