X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=makebiomcommand.h;fp=makebiomcommand.h;h=31077aecb64add7041ec1ac0cb3ae9ecf5bba232;hb=aa23898d895a8c04cc4582a8809343df0aef6622;hp=0000000000000000000000000000000000000000;hpb=b3296231bac975d0c655bd62075909786a23e270;p=mothur.git diff --git a/makebiomcommand.h b/makebiomcommand.h new file mode 100644 index 0000000..31077ae --- /dev/null +++ b/makebiomcommand.h @@ -0,0 +1,48 @@ +#ifndef Mothur_makebiomcommand_h +#define Mothur_makebiomcommand_h + +// +// makebiomcommand.h +// Mothur +// +// Created by Sarah Westcott on 4/16/12. +// Copyright (c) 2012 Schloss Lab. All rights reserved. +// + + +#include "command.hpp" +#include "sharedrabundvector.h" +#include "inputdata.h" + + +class MakeBiomCommand : public Command { + +public: + MakeBiomCommand(string); + MakeBiomCommand(); + ~MakeBiomCommand(){} + + vector setParameters(); + string getCommandName() { return "make.biom"; } + string getCommandCategory() { return "General"; } + string getHelpString(); + string getCitation() { return "http://biom-format.org/documentation/biom_format.html, http://www.mothur.org/wiki/Make.biom"; } + string getDescription() { return "creates a biom file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + +private: + + string sharedfile, contaxonomyfile, groups, outputDir, format, label; + vector outputNames, Groups; + set labels; + + bool abort, allLines; + + int getBiom(vector&); + vector getMetaData(vector&); +}; + + +#endif