]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.cpp
fixed bug in read.tree updates help and validparameters strings, added ability for...
[mothur.git] / mothur.cpp
index 2b3f8f5146d7b1c47e8af3845ec9dfdba58fb355..8c55240965b5481bae5a551488c6e3ac957ee494 100644 (file)
@@ -6,13 +6,8 @@
  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
  *
  */
-#include <string>
-#include <iostream>
-#include <iomanip>
-#include <fstream>
-#include <sstream>
-#include <exception>
-
+#include "mothur.h"
 #include "engine.hpp"
 #include "globaldata.hpp"
 
@@ -22,22 +17,22 @@ GlobalData* GlobalData::_uniqueInstance = 0;
 
 int main(int argc, char *argv[]){
        try {
-       //      srand(54321);
+               //srand(54321);
                srand( (unsigned)time( NULL ) );
 
-               Engine* dotur;
+               Engine* mothur;
                bool bail = 0;
 
                if(argc>1){
-                       dotur = new BatchEngine(argv[1]);
+                       mothur = new BatchEngine(argv[1]);
                }
                else{
-                       dotur = new InteractEngine();           
+                       mothur = new InteractEngine();          
                }
 
-               while(bail == 0)                {       bail = dotur->getInput();                       }
+               while(bail == 0)                {       bail = mothur->getInput();                      }
        
-               delete dotur;
+               delete mothur;
        
                return 0;
        }