X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=mothurout.h;h=1747b1480c732ae42f361940ff57dcbe151bbc7b;hp=db931b5a5e380169c3147ee8b0c9acb4d72f1a00;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=2ff2d03fbe46ce8cf2738bff4403a52be4f31e2f diff --git a/mothurout.h b/mothurout.h index db931b5..1747b14 100644 --- a/mothurout.h +++ b/mothurout.h @@ -66,11 +66,11 @@ class MothurOut { vector getAllGroups() { sort(namesOfGroups.begin(), namesOfGroups.end()); return namesOfGroups; } vector Treenames; - //map names; - vector binLabelsInFile; - vector currentBinLabels; + vector sharedBinLabelsInFile; + vector currentSharedBinLabels; + vector listBinLabelsInFile; string saveNextLabel, argv, sharedHeaderMode, groupMode; - bool printedHeaders, commandInputsConvertError, changedSeqNames, modifyNames; + bool printedSharedHeaders, printedListHeaders, commandInputsConvertError, changedSeqNames, modifyNames; //functions from mothur.h //file operations @@ -82,6 +82,7 @@ class MothurOut { vector setFilePosFasta(string, int&); string sortFile(string, string); int appendFiles(string, string); + int appendBinaryFiles(string, string); int appendFilesWithoutHeaders(string, string); int renameFile(string, string); //oldname, newname string getFullPathName(string); @@ -97,6 +98,8 @@ class MothurOut { int openOutputFileAppend(string, ofstream&); int openOutputFileBinaryAppend(string, ofstream&); int openInputFile(string, ifstream&); + int openInputFileBinary(string, ifstream&); + int openInputFileBinary(string, ifstream&, string); int openInputFile(string, ifstream&, string); //no error given bool checkLocations(string&, string); //filename, inputDir. checks for file in ./, inputdir, default and mothur's exe location. Returns false if cant be found. If found completes name with location @@ -272,7 +275,8 @@ class MothurOut { counttablefile = ""; summaryfile = ""; gui = false; - printedHeaders = false; + printedSharedHeaders = false; + printedListHeaders = false; commandInputsConvertError = false; mothurCalling = false; debug = false;