]> git.donarmstrong.com Git - mothur.git/blob - sensspeccommand.h
added command descriptions
[mothur.git] / sensspeccommand.h
1 #ifndef SENSSPECCOMMAND_H
2 #define SENSSPECCOMMAND_H
3
4
5 /*
6  *  sensspeccommand.h
7  *  Mothur
8  *
9  *  Created by Pat Schloss on 7/6/10.
10  *  Copyright 2010 Schloss Lab. All rights reserved.
11  *
12  */
13
14 #include "mothur.h"
15 #include "command.hpp"
16
17 class SensSpecCommand : public Command {
18         
19 public:
20         SensSpecCommand(string);
21         SensSpecCommand();
22         ~SensSpecCommand(){}
23         
24         vector<string> setParameters();
25         string getCommandName()                 { return "sens.spec";                           }
26         string getCommandCategory()             { return "OTU-Based Approaches";        }
27         string getHelpString(); 
28         string getCitation() { return "Schloss PD, Westcott SL (2011). Assessing and improving methods used in OTU-based approaches for 16S rRNA gene sequence analysis. Appl Environ Microbiol. \nhttp://www.mothur.org/wiki/Sens.spec"; }
29         string getDescription()         { return "sens.spec"; }
30
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34 private:
35         void processPhylip();
36         void processColumn();
37         void setUpOutput();
38         void outputStatistics(string, string);
39         
40         string listFile, distFile, nameFile, sensSpecFileName, phylipfile, columnfile;
41         string outputDir;
42         string format;
43         vector<string> outputNames;
44
45         long int truePositives, falsePositives, trueNegatives, falseNegatives;
46         bool abort;
47         bool hard;
48         string lineLabel;
49         double cutoff;
50         int precision;
51 };
52
53 #endif
54
55
56