openInputFile(fastafileNames[i], in);
while(!in.eof()){ //read through and create the filter...
+
+ if (m->control_pressed) { in.close(); return 0; }
+
Sequence seq(in);
if (seq.getName() != "") {
if(trump != '*'){ F.doTrump(seq); }
while(!in.eof()){
+ if (m->control_pressed) { in.close(); outFASTA.close(); for(int i = 0; i < outputNames.size(); i++) { remove(outputNames[i].c_str()); } return 0; }
+
Sequence seq(in);
if (seq.getName() != "") {
string align = seq.getAligned();
if(filter[i] == '1'){ filteredLength++; }
}
+ if (m->control_pressed) { for(int i = 0; i < outputNames.size(); i++) { remove(outputNames[i].c_str()); } return 0; }
+
+
m->mothurOutEndLine();
m->mothurOut("Length of filtered alignment: " + toString(filteredLength)); m->mothurOutEndLine();
m->mothurOut("Number of columns removed: " + toString((alignmentLength-filteredLength))); m->mothurOutEndLine();