//lookup.clear();
string errorOff = "no error";
//errorOff = "";
-cout << globaldata->inputFileName << endl;
+
//read in listfile
read = new ReadOTUFile(globaldata->inputFileName);
read->read(&*globaldata);
groups += globaldata->Groups[i] + ".";
}
- string newGroupFile = getRootName(globaldata->inputFileName) + groups + "groups";
+ string newGroupFile = outputDir + getRootName(getSimpleName(globaldata->inputFileName)) + groups + "groups";
ofstream outGroups;
openOutputFile(newGroupFile, outGroups);
delete it3->second;
}
+
+ //change format to shared to speed up commands
+ globaldata->setFormat("sharedfile");
+ globaldata->setListFile("");
+ globaldata->setGroupFile("");
globaldata->setSharedFile(filename);
+
return 0;
}
void SharedCommand::createMisMatchFile() {
try {
ofstream outMisMatch;
- string outputMisMatchName = getRootName(globaldata->inputFileName);
+ string outputMisMatchName = outputDir + getRootName(getSimpleName(globaldata->inputFileName));
//you have sequences in your list file that are not in your group file
if (SharedList->getNumSeqs() > groupMap->getNumSeqs()) {