X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removelineagecommand.h;h=8bfa5f15be3502e93e878d7ddfadc1870628be39;hp=a756d24f583be82eac03634ebcd8496c4fd687b6;hb=d3e27ba055f6765044b885cded5302d9cece161a;hpb=90708fe9701e3827e477c82fb3652539c3bf2a0d diff --git a/removelineagecommand.h b/removelineagecommand.h index a756d24..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,8 +26,9 @@ class RemoveLineageCommand : public Command { vector setParameters(); string getCommandName() { return "remove.lineage"; } string getCommandCategory() { return "Phylotype Analysis"; } - string getOutputFileNameTag(string, string); + 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"; } @@ -34,8 +38,10 @@ class RemoveLineageCommand : public Command { private: set names; vector outputNames, listOfTaxons; - string fastafile, namefile, groupfile, alignfile, listfile, countfile, 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(); @@ -43,7 +49,12 @@ class RemoveLineageCommand : public Command { int readCount(); int readAlign(); int readList(); - int readTax(); + int readTax(); + int readShared(); + int readConsTax(); + int readConsList(); + int getShared(); + int getListVector(); vector< map > getTaxons(string); };