]> git.donarmstrong.com Git - mothur.git/blobdiff - splitmatrix.cpp
classify.seqs allows sequences to be in taxonomy file that are not in template. ...
[mothur.git] / splitmatrix.cpp
index 28bc5d4cec4fc4ec409bca26359ed103951c8701..aea99ef2cccc3dbc070b251d4691209efacd2cbc 100644 (file)
@@ -637,7 +637,7 @@ int SplitMatrix::splitNames(map<string, int>& seqGroup, int numGroups, vector<st
                     ofstream out;
                     string newtempNameFile = tempNameFile + "2";
                     m->openOutputFile(newtempNameFile, out);
-                    out << headers << endl;
+                    out << "Representative_Sequence\ttotal" << endl;
                     out.close();
                     m->appendFiles(tempNameFile, newtempNameFile);
                     m->mothurRemove(tempNameFile);
@@ -671,7 +671,7 @@ int SplitMatrix::splitNames(map<string, int>& seqGroup, int numGroups, vector<st
             ofstream out;
             string newtempNameFile = singleton + "2";
             m->openOutputFile(newtempNameFile, out);
-            out << headers << endl;
+            out << "Representative_Sequence\ttotal" << endl; 
             out.close();
             m->appendFiles(singleton, newtempNameFile);
             m->mothurRemove(singleton);