X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=treereader.h;h=ac24eb0161336e3be68ad17028a2b6a28eab8489;hp=fb9c791959f96cd04ce95fae0385f02c9740f546;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=d2390ede25cc211f95f99e377d5654bad7e6950e diff --git a/treereader.h b/treereader.h index fb9c791..ac24eb0 100644 --- a/treereader.h +++ b/treereader.h @@ -11,29 +11,26 @@ #include "mothurout.h" #include "tree.h" +#include "counttable.h" class TreeReader { public: - TreeReader(string tf); - TreeReader(string tf, string gf); + TreeReader(string tf, string cf); TreeReader(string tf, string gf, string nf); ~TreeReader() {} vector getTrees() { return trees; } - map getNames() { return nameMap; } //dups -> unique - map getNameMap() { return names; } //unique -> dups list - private: MothurOut* m; vector trees; - TreeMap* tmap; - map nameMap; //dupName -> uniqueName - map names; + CountTable* ct; + //map nameMap; //dupName -> uniqueName + // map names; - string treefile, groupfile, namefile; + string treefile, groupfile, namefile, countfile; bool readTrees(); int readNamesFile();