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 54 55 56
|
#ifndef Mothur_getcoremicrobiomcommand_h
#define Mothur_getcoremicrobiomcommand_h
//
// GetCoreMicroBiomeCommand.h
// Mothur
//
// Created by Sarah Westcott on 5/8/12.
// Copyright (c) 2012 Schloss Lab. All rights reserved.
//
#include "command.hpp"
#include "inputdata.h"
/**************************************************************************************************/
class GetCoreMicroBiomeCommand : public Command {
public:
GetCoreMicroBiomeCommand(string);
~GetCoreMicroBiomeCommand(){}
vector<string> setParameters();
string getCommandName() { return "get.coremicrobiome"; }
string getCommandCategory() { return "OTU-Based Approaches"; }
//commmand category choices: Sequence Processing, OTU-Based Approaches, Hypothesis Testing, Phylotype Analysis, General, Clustering and Hidden
string getHelpString();
string getOutputPattern(string);
string getCitation() { return "http://www.mothur.org/wiki/Get.coremicrobiome"; }
string getDescription() { return "determines the fraction of OTUs that are found in varying numbers of samples for different minimum relative abundances"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
string relabundfile, sharedfile, inputFileName, format, output;
bool allLines;
vector<string> Groups;
set<string> labels;
bool abort;
vector<string> outputNames;
float abund;
int samples, factor;
int createTable(SharedRAbundFloatVectors*&);
};
/**************************************************************************************************/
#endif
|