X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removelineagecommand.h;h=8bfa5f15be3502e93e878d7ddfadc1870628be39;hp=a4ffea9c529829da3c3f08cfbc41c5e3bdf5ddcf;hb=615301e57c25e241356a9c2380648d117709458d;hpb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc diff --git a/removelineagecommand.h b/removelineagecommand.h index a4ffea9..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 { @@ -23,7 +26,9 @@ class RemoveLineageCommand : public Command { vector setParameters(); string getCommandName() { return "remove.lineage"; } string getCommandCategory() { return "Phylotype Analysis"; } - string getHelpString(); + + 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"; } @@ -33,15 +38,23 @@ class RemoveLineageCommand : public Command { private: set names; vector outputNames, listOfTaxons; - string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons; + 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(); + int readTax(); + int readShared(); + int readConsTax(); + int readConsList(); + int getShared(); + int getListVector(); vector< map > getTaxons(string); };