1 #ifndef CLUSTERDOTURCOMMAND_H
2 #define CLUSTERDOTURCOMMAND_H
5 * clusterdoturcommand.h
8 * Created by westcott on 10/27/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "nameassignment.hpp"
15 #include "rabundvector.hpp"
16 #include "sabundvector.hpp"
17 #include "listvector.hpp"
20 class ClusterDoturCommand : public Command {
23 ClusterDoturCommand(string);
24 ClusterDoturCommand();
25 ~ClusterDoturCommand(){}
27 vector<string> setParameters();
28 string getCommandName() { return "cluster.classic"; }
29 string getCommandCategory() { return "Clustering"; }
30 string getHelpString();
31 string getCitation() { return "Schloss PD, Handelsman J (2005). Introducing DOTUR, a computer program for defining operational taxonomic units and estimating species richness. Appl Environ Microbiol 71: 1501-6. \nhttp://www.mothur.org/wiki/Cluster.classic"; }
32 string getDescription() { return "cluster your sequences into OTUs using DOTUR’s method"; }
35 void help() { m->mothurOut(getHelpString()); }
38 bool abort, hard, sim;
39 string method, fileroot, tag, outputDir, phylipfile, namefile;
41 int precision, length;
42 ofstream sabundFile, rabundFile, listFile;
43 NameAssignment* nameMap;
46 RAbundVector oldRAbund;
49 void printData(string label);
50 vector<string> outputNames;