1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
//
// 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 "phylosummary.h"
/**************************************************************************************************/
class MakeLefseCommand : public Command {
public:
MakeLefseCommand(string);
~MakeLefseCommand(){}
vector<string> 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;
vector<string> outputNames, Groups;
string sharedfile, designfile, constaxonomyfile, relabundfile, scale, label, inputFile;
int runRelabund(map<int, consTax2>&, SharedRAbundFloatVectors*&);
SharedRAbundFloatVectors* getRelabund();
SharedRAbundFloatVectors* getSharedRelabund();
};
/**************************************************************************************************/
#endif /* defined(__Mothur__makelefse__) */
|