]> git.donarmstrong.com Git - mothur.git/blob - clearcutcommand.h
added load.logfile command. changed summary.single output for subsample=t.
[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         string getOutputFileNameTag(string, string);
34         string getHelpString(); 
35         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"; }
36         string getDescription()         { return "create a tree from a fasta or phylip file"; }
37         
38         int execute(); 
39         void help() { m->mothurOut(getHelpString()); }  
40         
41 private:
42         string outputDir, phylipfile, fastafile, matrixout, inputFile, seed, ntrees;
43         bool version, verbose, quiet, norandom, shuffle, neighbor, expblen, expdist, stdoutWanted, kimura, jukes, protein, DNA;
44         bool abort;
45         vector<string> outputNames;
46         
47 };
48
49 /****************************************************************************/
50
51 #endif
52