]> git.donarmstrong.com Git - mothur.git/blob - sensspeccommand.h
working on citations
[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         
30         int execute(); 
31         void help() { m->mothurOut(getHelpString()); }  
32         
33 private:
34         void processPhylip();
35         void processColumn();
36         void setUpOutput();
37         void outputStatistics(string, string);
38         
39         string listFile, distFile, nameFile, sensSpecFileName, phylipfile, columnfile;
40         string outputDir;
41         string format;
42         vector<string> outputNames;
43
44         long int truePositives, falsePositives, trueNegatives, falseNegatives;
45         bool abort;
46         bool hard;
47         string lineLabel;
48         double cutoff;
49         int precision;
50 };
51
52 #endif
53
54
55