]> git.donarmstrong.com Git - mothur.git/blobdiff - phylosummary.h
changed reading of name file to use buffered reads. note the splitAtWhiteSpace functi...
[mothur.git] / phylosummary.h
index 9ebdf81ac4fbd06490f05d7be7c15b6f6a5d1179..cdec0d0a4ac7ca83cb0845988adb90152bcae07b 100644 (file)
@@ -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<string>);
        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;