]> git.donarmstrong.com Git - mothur.git/blobdiff - sffinfocommand.cpp
added create.database command. fixed help in get.sharedseqs. added new constructor...
[mothur.git] / sffinfocommand.cpp
index 40dd09b9820b9689ab4d30ba9f5666ceb2e9573b..20caead668196fc75d10de1275956b7955bdd3b6 100644 (file)
@@ -361,6 +361,9 @@ int SffInfoCommand::extractSffInfo(string input, string accnos){
 
                ofstream outSfftxt, outFasta, outQual, outFlow;
                string outFastaFileName, outQualFileName;
+        string rootName = outputDir + m->getRootName(m->getSimpleName(input));
+        if(rootName.find_last_of(".") == rootName.npos){ rootName += "."; }
+        
                string sfftxtFileName = outputDir + m->getRootName(m->getSimpleName(input)) + "sff.txt";
                string outFlowFileName = outputDir + m->getRootName(m->getSimpleName(input)) + "flow";
                if (trim) {