X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=phylotree.h;h=e0002209e4d83aaaf9468573173858d9b0602b61;hp=7aae8f1adedcf5f1db6b94d1bbe76a968a8e3100;hb=615301e57c25e241356a9c2380648d117709458d;hpb=762b3e4c83e1e8e8392c1199b6482d36ee89e50f diff --git a/phylotree.h b/phylotree.h index 7aae8f1..e000220 100644 --- a/phylotree.h +++ b/phylotree.h @@ -44,7 +44,7 @@ public: TaxNode get(int i); TaxNode get(string seqName); string getName(int i); - int getIndex(string seqName); + int getGenusIndex(string seqName); string getFullTaxonomy(string); //pass a sequence name return taxonomy int getMaxLevel() { return maxLevel; } @@ -63,7 +63,8 @@ private: vector genusIndex; //holds the indexes in tree where the genus level taxonomies are stored vector totals; //holds the numSeqs at each genus level taxonomy map name2Taxonomy; //maps name to index in tree - map uniqueTaxonomies; //map of unique taxonomies + map name2GenusNodeIndex; + set uniqueTaxonomies; //map of unique taxonomies map leafNodes; //used to create static reference taxonomy file //void print(int, ofstream&); int numNodes;