]> git.donarmstrong.com Git - mothur.git/blob - clearcutcommand.h
changed random forest output filename
[mothur.git] / clearcutcommand.h
1 #ifndef CLEARCUTCOMMAND_H
2 #define CLEARCUTCOMMAND_H
3
4 /*
5  *  clearcutcommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 5/11/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15 /* 
16   Evans, J., L. Sheneman, and J.A. Foster (2006) Relaxed Neighbor-Joining: 
17   A Fast Distance-Based Phylogenetic Tree Construction Method, 
18   J. Mol. Evol., 62, 785-792
19  */ 
20
21 /****************************************************************************/
22
23 class ClearcutCommand : public Command {
24
25 public:
26         ClearcutCommand(string);
27         ClearcutCommand();
28         ~ClearcutCommand() {}
29         
30         vector<string> setParameters();
31         string getCommandName()                 { return "clearcut";                    }
32         string getCommandCategory()             { return "Hypothesis Testing";  }
33         
34         string getHelpString(); 
35     string getOutputPattern(string);    
36         string getCitation() { return "Sheneman L, Evans J, Foster JA (2006). Clearcut: a fast implementation of relaxed neighbor joining. Bioinformatics 22: 2823-4. \nhttp://www.mothur.org/wiki/Clearcut"; }
37         string getDescription()         { return "create a tree from a fasta or phylip file"; }
38         
39         int execute(); 
40         void help() { m->mothurOut(getHelpString()); }  
41         
42 private:
43         string outputDir, phylipfile, fastafile, matrixout, inputFile, seed, ntrees;
44         bool version, verbose, quiet, norandom, shuffle, neighbor, expblen, expdist, stdoutWanted, kimura, jukes, protein, DNA;
45         bool abort;
46         vector<string> outputNames;
47         
48 };
49
50 /****************************************************************************/
51
52 #endif
53