class PhyloSummary {
public:
- PhyloSummary(GroupMap*);
- PhyloSummary(string, GroupMap*);
- PhyloSummary(CountTable*);
- PhyloSummary(string, CountTable*);
+ PhyloSummary(GroupMap*, bool);
+ PhyloSummary(string, GroupMap*, bool);
+ PhyloSummary(CountTable*, bool);
+ PhyloSummary(string, CountTable*, bool);
~PhyloSummary() {}
int summarize(string); //pass it a taxonomy file and a group file and it makes the tree
int addSeqToTree(string, string);
int addSeqToTree(string, map<string, bool>);
void print(ofstream&);
+ void print(ofstream&, bool);
int getMaxLevel() { return maxLevel; }
private:
string getNextTaxon(string&);
vector<rawTaxNode> tree;
void print(int, ofstream&);
+ void print(int, ofstream&, bool);
void assignRank(int);
void readTreeStruct(ifstream&);
GroupMap* groupmap;
CountTable* ct;
- bool ignore;
+ bool ignore, relabund;
int numNodes;
int numSeqs;