]> git.donarmstrong.com Git - mothur.git/blobdiff - makefastqcommand.cpp
fixed classify.seqs output file name - had issue if reference taxonomy file did not...
[mothur.git] / makefastqcommand.cpp
index 82f730159c000888e544308ddfb58289a3363fc2..0f6e030bb0d1fec3f7cf99614fa0827c66de2bb5 100644 (file)
@@ -181,7 +181,7 @@ int MakeFastQCommand::execute(){
                qFile.close();
                out.close();
                
-               if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) {        remove(outputNames[i].c_str()); } return 0; }
+               if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) {        m->mothurRemove(outputNames[i]); } return 0; }
                
                m->mothurOutEndLine();
                m->mothurOut("Output File Names: "); m->mothurOutEndLine();
@@ -201,7 +201,7 @@ string MakeFastQCommand::convertQual(vector<int> qual) {
        try {
                string qualScores;
                
-               int controlChar = int('!');
+               int controlChar = int('@');
                
                for (int i = 0; i < qual.size(); i++) { 
                        int temp = qual[i] + controlChar;