X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustersplitcommand.h;h=e079197c1ea60d15e2454ad7433e90d2cfbbc611;hb=28bcfc4a41b8b82f66636587e0d4d355d07cbdd1;hp=28de9488b68516e2e194db0dd35920c7078e91f9;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96;p=mothur.git diff --git a/clustersplitcommand.h b/clustersplitcommand.h index 28de948..e079197 100644 --- a/clustersplitcommand.h +++ b/clustersplitcommand.h @@ -15,7 +15,7 @@ #include "sabundvector.hpp" #include "listvector.hpp" #include "cluster.hpp" -#include "sparsematrix.hpp" +#include "sparsedistancematrix.h" #include "readcluster.h" #include "splitmatrix.h" #include "readphylip.h" @@ -47,7 +47,7 @@ private: vector processIDS; //processid vector outputNames; - string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, distfile, format, showabund, timing, splitmethod, taxFile, fastafile; + string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, countfile, distfile, format, showabund, timing, splitmethod, taxFile, fastafile; double cutoff, splitcutoff; int precision, length, processors, taxLevelCutoff; bool print_start, abort, hard, large, classic; @@ -62,6 +62,7 @@ private: int mergeLists(vector, map, ListVector*); map completeListFile(vector, string, set&, ListVector*&); int createMergedDistanceFile(vector< map >); + int createRabund(CountTable*& ct, ListVector*& list, RAbundVector*& rabund); }; /////////////////not working for Windows//////////////////////////////////////////////////////////// @@ -75,7 +76,7 @@ private: // anything to do with mothur's use of copy constructors in many of our data structures. ie. listvector // is copied by nameassignment and passed to read which passes to the thread? -westcott 2-8-12 //////////////////////////////////////////////////////////////////////////////////////////////////// -/**************************************************************************************************/ +/************************************************************************************************** //custom data structure for threads to use. // This is passed by void pointer so it can be any data type // that can be passed using a single void pointer (LPVOID). @@ -105,7 +106,7 @@ struct clusterData { } }; -/**************************************************************************************************/ +/************************************************************************************************** #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix) #else static DWORD WINAPI MyClusterThreadFunction(LPVOID lpParam){ @@ -257,7 +258,7 @@ static DWORD WINAPI MyClusterThreadFunction(LPVOID lpParam){ } #endif - +*/ #endif