]> git.donarmstrong.com Git - mothur.git/blob - libshuffcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / libshuffcommand.h
1 #ifndef LIBSHUFFCOMMAND_H
2 #define LIBSHUFFCOMMAND_H
3
4 /*
5  *  libshuffcommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 3/9/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "fullmatrix.h"
15 #include "libshuff.h"
16 #include "groupmap.h"
17
18
19 class LibShuffCommand : public Command {
20         
21 public:
22         LibShuffCommand(string);
23         LibShuffCommand();      
24         ~LibShuffCommand(){};
25         
26         vector<string> setParameters();
27         string getCommandName()                 { return "libshuff";                            }
28         string getCommandCategory()             { return "Hypothesis Testing";          }
29         string getHelpString(); 
30         
31         int execute();
32         void help() { m->mothurOut(getHelpString()); }  
33         
34 private:
35         vector<string> groupNames;
36         
37         void setGroups();
38         int printCoverageFile();
39         int printSummaryFile();
40         
41         GroupMap* groupMap;
42         FullMatrix* matrix;
43         Libshuff* form;
44         float cutOff, step;
45         int numGroups, numComp, iters;
46         string coverageFile, summaryFile, phylipfile, groupfile;
47         vector<vector<int> > pValueCounts;
48         vector<vector<double> > savedDXYValues;
49         vector<vector<vector<double> > > savedMinValues;
50
51         bool abort, sim;
52         string outputFile, groups, userform, savegroups, outputDir;
53         vector<string> Groups, outputNames; //holds groups to be used
54 };
55
56 #endif