]> git.donarmstrong.com Git - mothur.git/blobdiff - createdatabasecommand.h
added create.database command. fixed help in get.sharedseqs. added new constructor...
[mothur.git] / createdatabasecommand.h
index 9fc84d7740ebfa4098dce2ee33dc6fb902c1c003..643ff6ec9fc3691c4a9de5f146cbfb1fdcaff354 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "command.hpp"
 #include "listvector.hpp"
+#include "sequence.hpp"
 
 class CreateDatabaseCommand : public Command {
 public:
@@ -26,20 +27,20 @@ public:
        string getDescription()         { return "creates database file that includes, abundances across groups, representative sequences, and taxonomy for each OTU"; }
     
        
-       int execute() {}
+       int execute(); 
        void help() { m->mothurOut(getHelpString()); }  
        
 private:
        
        bool abort;
-       string listfile, groupfile, repfastafile, repnamesfile, constaxonomyfile, label, outputDir;
+       string listfile, groupfile, repfastafile, repnamesfile, contaxonomyfile, label, outputDir;
        
        vector<string> outputNames;
                
-       int readFasta();
-       int readNames();
-    int readTax();
-       int processList(ListVector*&);
+       vector<int> readFasta(vector<Sequence>&);
+    vector<int> readTax(vector<string>&);
+    int readNames(map<string, string>&); 
+       ListVector* getList();
        
 };