X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylotree.h;h=a961721a77dad0f32624aa1ff7941651007fc757;hb=62568a297aaf939ab753334f17abde82ec8e8531;hp=2f3745074e170210bfc0b8d6b000361b4a410687;hpb=b8f3e71c8a0310e25261464d27e6fcfe891483b0;p=mothur.git diff --git a/phylotree.h b/phylotree.h index 2f37450..a961721 100644 --- a/phylotree.h +++ b/phylotree.h @@ -41,13 +41,15 @@ public: vector getGenusTotals(); void setUp(string); //used to create file needed for summary file if you use () constructor and add seqs manually instead of passing taxonomyfile - TaxNode get(int i) { return tree[i]; } - TaxNode get(string seqName) { return tree[name2Taxonomy[seqName]]; } - int getIndex(string seqName) { return name2Taxonomy[seqName]; } - string getName(int i) { return tree[i].name; } + TaxNode get(int i); + 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; } + bool ErrorCheck(vector); private: string getNextTaxon(string&);