]> git.donarmstrong.com Git - mothur.git/blobdiff - deconvolutecommand.cpp
added smart distance feature and optimized all commands using line by line processing
[mothur.git] / deconvolutecommand.cpp
index 966fee03f90bf4fb87d39efdedf0189cc18f10be..36cc7766f03097235fa274f12330611d616cdacb 100644 (file)
@@ -17,7 +17,7 @@ int DeconvoluteCommand::execute() {
                //prepare filenames and open files
                filename = globaldata->getFastaFile();
                outputFileName = (getRootName(filename) + "names");
-               outFastafile = (getRootName(filename) + "uni_fasta");
+               outFastafile = (getRootName(filename) + "unique.fasta");
                
                openInputFile(filename, in);
                openOutputFile(outputFileName, out);
@@ -32,7 +32,7 @@ int DeconvoluteCommand::execute() {
                //print out new names file 
                //file contains 2 columns separated by tabs.  the first column is the groupname(name of first sequence found.
                //the second column is the list of names of identical sequences separated by ','.
-               fastamap->print(out);
+               fastamap->printNamesFile(out);
                fastamap->printCondensedFasta(outFasta);
        
                return 0;