]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
broke apart read matrix file
[mothur.git] / summarysharedcommand.cpp
index 05a5f7efa56c34e2ef452dd682aeacbbb4217ee3..eea7b25c4ade2bd6a98f5cea0eaabd9b1787ede8 100644 (file)
@@ -123,14 +123,14 @@ int SummarySharedCommand::execute(){
                if (sumCalculators.size() == 0) { return 0; }
 
                if (format == "sharedfile") {
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                        
                        input = globaldata->ginput;
                        order = input->getSharedOrderVector();
                }else {
                        //you are using a list and a groupfile
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                
                        input = globaldata->ginput;