X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=makefastqcommand.cpp;h=0f6e030bb0d1fec3f7cf99614fa0827c66de2bb5;hb=d205e70ae86dbee2efc2df02f2717975854de6ba;hp=82f730159c000888e544308ddfb58289a3363fc2;hpb=7bf9a81bba76538ecaf351ae208de3da4bf1b6dd;p=mothur.git diff --git a/makefastqcommand.cpp b/makefastqcommand.cpp index 82f7301..0f6e030 100644 --- a/makefastqcommand.cpp +++ b/makefastqcommand.cpp @@ -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 qual) { try { string qualScores; - int controlChar = int('!'); + int controlChar = int('@'); for (int i = 0; i < qual.size(); i++) { int temp = qual[i] + controlChar;