]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.cpp
changed read.shared to read.list and incorporated the shared and parselist commands...
[mothur.git] / clustercommand.cpp
index 79728164fcde1cbe0e8f528e6826825dfbb4a752..dc61a6a745eaeddb31a9e573b2b966a1dfde760d 100644 (file)
@@ -108,7 +108,9 @@ int ClusterCommand::execute(){
                }
        
                //saves .list file so you can do the collect, rarefaction and summary commands without doing a read.list
-               globaldata->setDistFile("");
+               if (globaldata->getFormat() == "phylip") { globaldata->setPhylipFile(""); }
+               else if (globaldata->getFormat() == "column") { globaldata->setColumnFile(""); }
+               
                globaldata->setListFile(fileroot+ tag + ".list");
                globaldata->setNameFile("");
                globaldata->setFormat("list");