X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=makecontigscommand.cpp;h=8796ab2113f455b12c8eace90df64d4bbe2c318e;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=87027f4df5e0166f25852fec44cd6cfa120c90a7;hpb=a935b75dd890da5ae7f09e5e6179f90ab2955348;p=mothur.git diff --git a/makecontigscommand.cpp b/makecontigscommand.cpp index 87027f4..8796ab2 100644 --- a/makecontigscommand.cpp +++ b/makecontigscommand.cpp @@ -1298,9 +1298,11 @@ vector< vector > MakeContigsCommand::readFastqFiles(unsigned long int& c if (uniques.size() != 0) { for (itUniques = uniques.begin(); itUniques != uniques.end(); itUniques++) { + if (m->control_pressed) { break; } m->mothurOut("[WARNING]: did not find paired read for " + itUniques->first + ", ignoring.\n"); } for (map:: iterator it = pairUniques.begin(); it != pairUniques.end(); it++) { + if (m->control_pressed) { break; } m->mothurOut("[WARNING]: did not find paired read for " + (it->first).substr(1) + ", ignoring.\n"); } m->mothurOutEndLine(); @@ -1660,6 +1662,7 @@ fastqRead MakeContigsCommand::readFastq(ifstream& in, bool& ignore){ vector qualScores = convertQual(quality); + m->checkName(name); read.name = name; read.sequence = sequence; read.scores = qualScores; @@ -1974,7 +1977,6 @@ bool MakeContigsCommand::getOligos(vector >& fastaFileNames, stri else { uniquePrimers.insert(tempPair); } if (m->debug) { if (group != "") { m->mothurOut("[DEBUG]: reading group " + group + ".\n"); }else{ m->mothurOut("[DEBUG]: no group for primer pair " + newPrimer.forward + " " + newPrimer.reverse + ".\n"); } } - primers[indexPrimer]=newPrimer; indexPrimer++; primerNameVector.push_back(group); }else if(type == "BARCODE"){