X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylosummary.h;h=cdec0d0a4ac7ca83cb0845988adb90152bcae07b;hb=6ede3bf5c0a9eedb23f24577a97da81ab3e1f7df;hp=9ebdf81ac4fbd06490f05d7be7c15b6f6a5d1179;hpb=cd9dbd8b53bbe32af3e9c6bead4aa6d796a278a5;p=mothur.git diff --git a/phylosummary.h b/phylosummary.h index 9ebdf81..cdec0d0 100644 --- a/phylosummary.h +++ b/phylosummary.h @@ -32,11 +32,13 @@ struct rawTaxNode { class PhyloSummary { public: + PhyloSummary(string); PhyloSummary(string, string); ~PhyloSummary() { if (groupmap != NULL) { delete groupmap; } } - void summarize(string); //pass it a taxonomy file and a group file and it makes the tree + int summarize(string); //pass it a taxonomy file and a group file and it makes the tree int addSeqToTree(string, string); + int addSeqToTree(string, vector); void print(ofstream&); int getMaxLevel() { return maxLevel; } @@ -47,6 +49,7 @@ private: void assignRank(int); void readTreeStruct(ifstream&); GroupMap* groupmap; + bool ignore; int numNodes; int numSeqs;