]> git.donarmstrong.com Git - mothur.git/blob - listotulabelscommand.h
added load.logfile command. changed summary.single output for subsample=t.
[mothur.git] / listotulabelscommand.h
1 #ifndef Mothur_listotucommand_h
2 #define Mothur_listotucommand_h
3
4 //
5 //  listotucommand.h
6 //  Mothur
7 //
8 //  Created by Sarah Westcott on 5/15/12.
9 //  Copyright (c) 2012 Schloss Lab. All rights reserved.
10 //
11
12
13 #include "command.hpp"
14 #include "sharedrabundvector.h"
15
16 /**************************************************************************************************/
17
18 class ListOtuLabelsCommand : public Command {
19 public:
20     ListOtuLabelsCommand(string);
21     ListOtuLabelsCommand();
22     ~ListOtuLabelsCommand(){}
23     
24     vector<string> setParameters();
25     string getCommandName()                     { return "list.otulabels";          }
26     string getCommandCategory()         { return "OTU-Based Approaches";        } 
27     //commmand category choices: Sequence Processing, OTU-Based Approaches, Hypothesis Testing, Phylotype Analysis, General, Clustering and Hidden
28     string getOutputFileNameTag(string, string);
29         string getHelpString(); 
30     string getCitation() { return "http://www.mothur.org/wiki/List.otulabels"; }
31     string getDescription()             { return "lists otu labels from shared or relabund file. Can be used by get.otulabels with output from classify.otu, otu.association, or corr.axes to select specific otus."; }
32     
33     int execute(); 
34     void help() { m->mothurOut(getHelpString()); }      
35     
36 private:
37     bool abort, allLines;
38     string outputDir, sharedfile, relabundfile, label, inputFileName, format;
39     vector<string> outputNames;
40     vector<string> Groups;
41     set<string> labels;
42     
43     int createList(vector<SharedRAbundFloatVector*>&);
44     int createList(vector<SharedRAbundVector*>&);
45
46 };
47
48 /**************************************************************************************************/
49
50
51
52
53
54
55 #endif