X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=makelefsecommand.h;fp=makelefsecommand.h;h=827063550314d9e08ace3f350d79ce1aecd56960;hb=ad4f75fd7c938090d3b1ce4cfefcc21edf1869eb;hp=0000000000000000000000000000000000000000;hpb=d39c47623faf0dc1e271f3d50efa6b029b622b88;p=mothur.git diff --git a/makelefsecommand.h b/makelefsecommand.h new file mode 100644 index 0000000..8270635 --- /dev/null +++ b/makelefsecommand.h @@ -0,0 +1,55 @@ +// +// makelefse.h +// Mothur +// +// Created by SarahsWork on 6/3/13. +// Copyright (c) 2013 Schloss Lab. All rights reserved. +// + +#ifndef __Mothur__makelefse__ +#define __Mothur__makelefse__ + +#include "mothurout.h" +#include "command.hpp" +#include "inputdata.h" +#include "sharedutilities.h" +#include "phylosummary.h" + +/**************************************************************************************************/ + +class MakeLefseCommand : public Command { +public: + MakeLefseCommand(string); + MakeLefseCommand(); + ~MakeLefseCommand(){} + + vector setParameters(); + string getCommandName() { return "make.lefse"; } + string getCommandCategory() { return "General"; } + + string getOutputPattern(string); + string getHelpString(); + string getCitation() { return "http://huttenhower.sph.harvard.edu/galaxy/root?tool_id=lefse_upload http://www.mothur.org/wiki/Make.lefse"; } + string getDescription() { return "creates LEfSe input file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + +private: + bool abort, allLines, otulabel, hasGroupInfo; + string outputDir; + vector outputNames, Groups; + string sharedfile, designfile, constaxonomyfile, relabundfile, scale, label, inputFile; + + int runRelabund(map&, vector&); + + vector getRelabund(); + vector getSharedRelabund(); +}; + +/**************************************************************************************************/ + + + + +#endif /* defined(__Mothur__makelefse__) */