else { options = "fasta=" + (fastafile + "." + toString(i) + ".temp") + ", processors=" + toString(processors) + ", cutoff=" + toString(distCutoff); }
if (outputDir != "") { options += ", outputdir=" + outputDir; }
+ m->mothurOut("/******************************************/"); m->mothurOutEndLine();
+
Command* command = new DistanceCommand(options);
+ m->mothurOut("/******************************************/"); m->mothurOutEndLine();
+
command->execute();
delete command;
ofstream out;
string newtempNameFile = tempNameFile + "2";
m->openOutputFile(newtempNameFile, out);
- out << headers << endl;
+ out << "Representative_Sequence\ttotal" << endl;
out.close();
m->appendFiles(tempNameFile, newtempNameFile);
m->mothurRemove(tempNameFile);
ofstream out;
string newtempNameFile = singleton + "2";
m->openOutputFile(newtempNameFile, out);
- out << headers << endl;
+ out << "Representative_Sequence\ttotal" << endl;
out.close();
m->appendFiles(singleton, newtempNameFile);
m->mothurRemove(singleton);