X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removelineagecommand.h;h=8bfa5f15be3502e93e878d7ddfadc1870628be39;hp=d18fc23076d83a8a3d4083ce2423af47cfd08e2f;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hpb=ca0785e447ca7aa7e2f0ab8bb1155db126b551ea diff --git a/removelineagecommand.h b/removelineagecommand.h index d18fc23..8bfa5f1 100644 --- a/removelineagecommand.h +++ b/removelineagecommand.h @@ -11,29 +11,51 @@ */ #include "command.hpp" +#include "sharedrabundvector.h" +#include "listvector.hpp" + class RemoveLineageCommand : public Command { public: RemoveLineageCommand(string); + RemoveLineageCommand(); ~RemoveLineageCommand(){}; - 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; - 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