]> git.donarmstrong.com Git - mothur.git/blobdiff - readotucommand.cpp
*** empty log message ***
[mothur.git] / readotucommand.cpp
index 9f27057ece85672069c9ebf219c08b459b648efc..c8ec791c5c667e1f01bfdc59944ed2811e345d6c 100644 (file)
@@ -45,12 +45,18 @@ int ReadOtuCommand::execute(){
                        groupMap->readMap();
                        
                        //if (globaldata->gGroupmap != NULL) { delete globaldata->gGroupmap;  }
-                       globaldata->gGroupmap = groupMap;
-               
+                       globaldata->gGroupmap = groupMap;               
                        shared = new SharedCommand();
                        shared->execute();
+
                        parselist = new ParseListCommand();
                        parselist->execute();
+                       
+                       //change format to shared  to speed up commands
+                       globaldata->setFormat("sharedfile");
+                       globaldata->setListFile("");
+                       globaldata->setGroupFile("");
+                       globaldata->setSharedFile(getRootName(filename) + "shared");
                }
                return 0;
        }