]> git.donarmstrong.com Git - mothur.git/blobdiff - phylotree.h
added sff.multiple command. fixed issue with windows paralellization in chimera...
[mothur.git] / phylotree.h
index a961721a77dad0f32624aa1ff7941651007fc757..7aae8f1adedcf5f1db6b94d1bbe76a968a8e3100 100644 (file)
@@ -45,14 +45,16 @@ public:
        TaxNode get(string seqName);
        string getName(int i);                  
        int getIndex(string seqName);   
-                       
        string getFullTaxonomy(string);  //pass a sequence name return taxonomy
-       int getMaxLevel()                               {       return maxLevel;                                                }
-       int getNumSeqs()  {  return numSeqs;  }
+       
+       int getMaxLevel()               {       return maxLevel;        }
+       int getNumSeqs()                {       return numSeqs;         }
+       int getNumNodes()               {       return tree.size();     }
+       
        bool ErrorCheck(vector<string>);
        
 private:
-       string getNextTaxon(string&);
+       string getNextTaxon(string&, string);
        void print(ofstream&, vector<TaxNode>&); //used to create static reference taxonomy file
        void fillOutTree(int, vector<TaxNode>&); //used to create static reference taxonomy file
        void binUnclassified(string);