X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.h;h=b5b295f1edb4495d321a7e614db1e8309d8bc481;hb=dc383fb61b6d165a8d36e6108df8bc7129243ae6;hp=889586ae305ac47bdb0f2d15880507aa68655dff;hpb=e98d569d630c30d1ac3608eb6337bcec4765a724;p=mothur.git diff --git a/mgclustercommand.h b/mgclustercommand.h index 889586a..b5b295f 100644 --- a/mgclustercommand.h +++ b/mgclustercommand.h @@ -12,12 +12,12 @@ #include "command.hpp" #include "readblast.h" -#include "sparsematrix.hpp" #include "nameassignment.hpp" #include "cluster.hpp" #include "hcluster.h" #include "rabundvector.hpp" #include "sabundvector.hpp" +#include "counttable.h" /**********************************************************************/ @@ -46,11 +46,13 @@ private: Cluster* cluster; HCluster* hcluster; ListVector* list; + CountTable* ct; ListVector oldList; + RAbundVector rav; vector overlapMatrix; vector outputNames; - string blastfile, method, namefile, overlapFile, distFile, outputDir; + string blastfile, method, namefile, countfile, overlapFile, distFile, outputDir; ofstream sabundFile, rabundFile, listFile; double cutoff; float penalty; @@ -61,7 +63,7 @@ private: ListVector* mergeOPFs(map, float); void sortHclusterFiles(string, string); vector getSeqs(ifstream&); - RAbundVector createRabund(ListVector, map); + void createRabund(CountTable*&, ListVector*&, RAbundVector*&); };