X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getlineagecommand.h;h=4cee8b6459e3089b4d69e015b2bb4b2edb22c9eb;hp=0ab042bac365b64840e32212a6705f62d46d5ff1;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96 diff --git a/getlineagecommand.h b/getlineagecommand.h index 0ab042b..4cee8b6 100644 --- a/getlineagecommand.h +++ b/getlineagecommand.h @@ -11,6 +11,8 @@ */ #include "command.hpp" +#include "sharedrabundvector.h" +#include "listvector.hpp" class GetLineageCommand : public Command { @@ -23,8 +25,9 @@ class GetLineageCommand : public Command { vector setParameters(); string getCommandName() { return "get.lineage"; } string getCommandCategory() { return "Phylotype Analysis"; } - string getOutputFileNameTag(string, string); + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Get.lineage"; } string getDescription() { return "gets sequences from a list, fasta, name, group, alignreport or taxonomy file from a given taxonomy or set of taxonomies"; } @@ -36,15 +39,23 @@ class GetLineageCommand : public Command { private: set names; vector outputNames, listOfTaxons; - string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons; + string fastafile, namefile, groupfile, alignfile, countfile, listfile, taxfile, outputDir, taxons, sharedfile, constaxonomy, label; bool abort, dups; + vector lookup; + ListVector* list; int readFasta(); int readName(); + int readCount(); int readGroup(); int readAlign(); int readList(); - int readTax(); + int readTax(); + int readShared(); + int readConsTax(); + int readConsList(); + int getShared(); + int getListVector(); vector< map > getTaxons(string); };