X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.h;h=ce3ffec189fa50d025a0fa0a1f39ef8faaa6da93;hb=cbaa068e77aeb15bb06f0695a36d8f757977ed64;hp=6ad1855ad007a36907e0c63d89b8d3d249ee2939;hpb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;p=mothur.git diff --git a/mgclustercommand.h b/mgclustercommand.h index 6ad1855..ce3ffec 100644 --- a/mgclustercommand.h +++ b/mgclustercommand.h @@ -31,9 +31,11 @@ public: vector setParameters(); string getCommandName() { return "mgcluster"; } string getCommandCategory() { return "Clustering"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "Schloss PD, Handelsman J (2008). A statistical toolbox for metagenomics. BMC Bioinformatics 9: 34. \nhttp://www.mothur.org/wiki/Mgcluster"; } - + string getDescription() { return "cluster your sequences into OTUs using a blast file"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -45,6 +47,7 @@ private: HCluster* hcluster; ListVector* list; ListVector oldList; + RAbundVector rav; vector overlapMatrix; vector outputNames; @@ -53,12 +56,13 @@ private: double cutoff; float penalty; int precision, length, precisionLength; - bool abort, minWanted, hclusterWanted, merge, hard; + bool abort, minWanted, hclusterWanted, merge, hard, large; void printData(ListVector*); ListVector* mergeOPFs(map, float); void sortHclusterFiles(string, string); vector getSeqs(ifstream&); + void createRabund(map); };