X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustercommand.h;h=a5b792ea7c8a3e35345606765aaa3ede84916a86;hb=c9a311f0c621a2e88abf7b2efbe74e9aa1e88a8d;hp=e3dd214446d31d187148de2be7dbf2ffbfebe96e;hpb=0cefb55a2616975bd4a144fc345693695ffc9bb6;p=mothur.git diff --git a/clustercommand.h b/clustercommand.h index e3dd214..a5b792e 100644 --- a/clustercommand.h +++ b/clustercommand.h @@ -15,6 +15,7 @@ #include "listvector.hpp" #include "cluster.hpp" #include "sparsedistancematrix.h" +#include "counttable.h" /* The cluster() command: The cluster command outputs a .list , .rabund and .sabund files. @@ -36,7 +37,7 @@ public: string getCommandCategory() { return "Clustering"; } string getOutputFileNameTag(string, string); string getHelpString(); - 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/Cluster"; } + 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 77:3219.\nSchloss 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"; } string getDescription() { return "cluster your sequences into OTUs using a distance matrix"; } int execute(); @@ -52,7 +53,7 @@ private: bool abort, hard, sim; - string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, format, distfile; + string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, format, distfile, countfile; double cutoff; string showabund, timing; int precision, length; @@ -64,6 +65,8 @@ private: void printData(string label); vector outputNames; + + int createRabund(CountTable*&, ListVector*&, RAbundVector*&); }; #endif