X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=taxonomyequalizer.h;h=191267c1a44833c69437b2f8dbbb616e7566cf60;hp=9f38b2f2a29756d751f10b6b8e97b4cc3925bd00;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=bee7952bbdc4ed46c7a12bef11769345fa3224d7 diff --git a/taxonomyequalizer.h b/taxonomyequalizer.h index 9f38b2f..191267c 100644 --- a/taxonomyequalizer.h +++ b/taxonomyequalizer.h @@ -12,6 +12,7 @@ */ #include "mothur.h" +#include "mothurout.h" //reads in taxonomy file and makes all the taxonomies the same length //by appending the last taxon to a given taxonomy as many times as needed to @@ -22,7 +23,7 @@ class TaxEqualizer { public: - TaxEqualizer(string, int); + TaxEqualizer(string, int, string); ~TaxEqualizer() {}; string getEqualizedTaxFile() { return equalizedFile; } @@ -30,7 +31,7 @@ public: private: - string equalizedFile, testTax; + string equalizedFile, testTax, outputDir; bool containsConfidence; int cutoff, highestLevel; map seqLevels; //maps name to level of taxonomy @@ -38,8 +39,7 @@ private: int getHighestLevel(ifstream&); //scans taxonomy file to find taxonomy with highest level void extendTaxonomy(string, string&, int); //name, taxonomy, desired level void truncateTaxonomy(string, string&, int); //name, taxonomy, desired level - void removeConfidences(string&); //removes the confidence limits on the taxon - + MothurOut* m; };