]> git.donarmstrong.com Git - mothur.git/blob - getcoremicrobiomecommand.h
Merge remote-tracking branch 'mothur/master'
[mothur.git] / getcoremicrobiomecommand.h
1 #ifndef Mothur_getcoremicrobiomcommand_h
2 #define Mothur_getcoremicrobiomcommand_h
3
4
5 //
6 //  GetCoreMicroBiomeCommand.h
7 //  Mothur
8 //
9 //  Created by John Westcott on 5/8/12.
10 //  Copyright (c) 2012 Schloss Lab. All rights reserved.
11 //
12
13
14 #include "command.hpp"
15 #include "inputdata.h"
16
17 /**************************************************************************************************/
18
19 class GetCoreMicroBiomeCommand : public Command {
20 public:
21     GetCoreMicroBiomeCommand(string);
22     GetCoreMicroBiomeCommand();
23     ~GetCoreMicroBiomeCommand(){}
24     
25     vector<string> setParameters();
26     string getCommandName()                     { return "get.coremicrobiome";                  }
27     string getCommandCategory()         { return "OTU-Based Approaches";                } 
28     //commmand category choices: Sequence Processing, OTU-Based Approaches, Hypothesis Testing, Phylotype Analysis, General, Clustering and Hidden
29     string getOutputFileNameTag(string, string);
30         string getHelpString(); 
31     string getCitation() { return "http://www.mothur.org/wiki/Get.coremicrobiome"; }
32     string getDescription()             { return "determines the fraction of OTUs that are found in varying numbers of samples for different minimum relative abundances"; }
33     
34     int execute(); 
35     void help() { m->mothurOut(getHelpString()); }      
36     
37 private:
38     string relabundfile, sharedfile, inputFileName, format, output;
39     bool allLines;
40     vector<string> Groups;
41     set<string> labels;
42     bool abort;
43     string outputDir;
44     vector<string> outputNames;
45     int samples, abund;
46     
47     int createTable(vector<SharedRAbundFloatVector*>&);
48
49 };
50
51 /**************************************************************************************************/
52
53
54
55
56 #endif