]> git.donarmstrong.com Git - mothur.git/blobdiff - binsequencecommand.cpp
broke apart read matrix file
[mothur.git] / binsequencecommand.cpp
index c3c68abacffd43efaf5768796655e8816da87bd6..375eec2dd85db754f9bb0491447d2b966b1d5a37 100644 (file)
@@ -57,7 +57,7 @@ int BinSeqCommand::execute(){
                }
                
                //read list file
-               read = new ReadPhilFile(globaldata->getListFile());     
+               read = new ReadOTUFile(globaldata->getListFile());      
                read->read(&*globaldata); 
                
                input = globaldata->ginput;
@@ -105,7 +105,7 @@ int BinSeqCommand::execute(){
                                        //get last name
                                        sequence = fasta->getSequence(binnames);
                                        if (sequence != "not found") {
-                                               name = binnames + "bin" + toString(i+1);
+                                               name = binnames + '|' + toString(i+1);
                                                out << ">" << name << endl;
                                                out << sequence << endl;
                                        }else {