}
//report progress
if((count+1) % 10000 == 0){ m->mothurOut(toString(count+1)); m->mothurOutEndLine(); }
- if(count > 100000){ break; }
count++;
}
}
if(!success) { trashCode += 'r'; }
}
+ if (trashCode.length() == 0) { //is this sequence in the ignore group
+ string thisGroup = "";
+
+ if(barcodes.size() != 0){
+ thisGroup = barcodeNameVector[barcode];
+ if (numPrimers != 0) {
+ if (primerNameVector[primer] != "") {
+ if(thisGroup != "") {
+ thisGroup += "." + primerNameVector[primer];
+ }else {
+ thisGroup = primerNameVector[primer];
+ }
+ }
+ }
+ }
+
+ int pos = thisGroup.find("ignore");
+ if (pos != string::npos) { trashCode += "i"; }
+ }
+
return trashCode.length();
}