1 #ifndef Mothur_createdatabasecommand_h
2 #define Mothur_createdatabasecommand_h
5 // createdatabasecommand.h
8 // Created by Sarah Westcott on 3/28/12.
9 // Copyright (c) 2012 Schloss Lab. All rights reserved.
12 #include "command.hpp"
13 #include "listvector.hpp"
14 #include "sequence.hpp"
16 class CreateDatabaseCommand : public Command {
18 CreateDatabaseCommand(string);
19 CreateDatabaseCommand();
20 ~CreateDatabaseCommand(){}
22 vector<string> setParameters();
23 string getCommandName() { return "create.database"; }
24 string getCommandCategory() { return "OTU-Based Approaches"; }
25 string getHelpString();
26 string getCitation() { return "http://www.mothur.org/wiki/Create.database"; }
27 string getDescription() { return "creates database file that includes, abundances across groups, representative sequences, and taxonomy for each OTU"; }
31 void help() { m->mothurOut(getHelpString()); }
36 string listfile, groupfile, repfastafile, repnamesfile, contaxonomyfile, label, outputDir;
38 vector<string> outputNames;
40 vector<int> readFasta(vector<Sequence>&);
41 vector<int> readTax(vector<string>&);
42 int readNames(map<string, string>&);
43 ListVector* getList();