X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=createdatabasecommand.h;fp=createdatabasecommand.h;h=0000000000000000000000000000000000000000;hb=4a877efa127e56e81a21f53cfdbbfd3bfbe8c4ff;hp=643ff6ec9fc3691c4a9de5f146cbfb1fdcaff354;hpb=a6cf29fa4dac0909c7582cb1094151d34093ee76;p=mothur.git diff --git a/createdatabasecommand.h b/createdatabasecommand.h deleted file mode 100644 index 643ff6e..0000000 --- a/createdatabasecommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef Mothur_createdatabasecommand_h -#define Mothur_createdatabasecommand_h - -// -// createdatabasecommand.h -// Mothur -// -// Created by Sarah Westcott on 3/28/12. -// Copyright (c) 2012 Schloss Lab. All rights reserved. -// - -#include "command.hpp" -#include "listvector.hpp" -#include "sequence.hpp" - -class CreateDatabaseCommand : public Command { -public: - CreateDatabaseCommand(string); - CreateDatabaseCommand(); - ~CreateDatabaseCommand(){} - - vector setParameters(); - string getCommandName() { return "create.database"; } - string getCommandCategory() { return "OTU-Based Approaches"; } - string getHelpString(); - string getCitation() { return "http://www.mothur.org/wiki/Create.database"; } - string getDescription() { return "creates database file that includes, abundances across groups, representative sequences, and taxonomy for each OTU"; } - - - int execute(); - void help() { m->mothurOut(getHelpString()); } - -private: - - bool abort; - string listfile, groupfile, repfastafile, repnamesfile, contaxonomyfile, label, outputDir; - - vector outputNames; - - vector readFasta(vector&); - vector readTax(vector&); - int readNames(map&); - ListVector* getList(); - -}; - - - - -#endif