]> git.donarmstrong.com Git - mothur.git/blobdiff - venncommand.cpp
broke apart read matrix file
[mothur.git] / venncommand.cpp
index e305f2203b52a11d0ac809be3f35dfaf578ab1b3..5357c2560a7c75fe82f3238d482a443744b6a6f5 100644 (file)
@@ -95,14 +95,14 @@ int VennCommand::execute(){
                
                if (format == "sharedfile") {
                        //you have groups
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                        
                        input = globaldata->ginput;
                        order = input->getSharedOrderVector();
                }else if (format == "shared") {
                        //you are using a list and a groupfile
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                
                        input = globaldata->ginput;
@@ -110,7 +110,7 @@ int VennCommand::execute(){
                        order = SharedList->getSharedOrderVector();
                }else if (format == "list") {
                        //you are using just a list file and have only one group
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                
                        ordersingle = globaldata->gorder;