X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitmatrix.h;fp=splitmatrix.h;h=5974ff1b967a5b3313bea6dcbcf967eb4b1c5023;hb=725a3d4ff2442c79bfde0a75ed3e0904edcf03b7;hp=0000000000000000000000000000000000000000;hpb=cfe70bbc94980a0177af465d3464db754673bd56;p=mothur.git diff --git a/splitmatrix.h b/splitmatrix.h new file mode 100644 index 0000000..5974ff1 --- /dev/null +++ b/splitmatrix.h @@ -0,0 +1,39 @@ +#ifndef SPLITMATRIX_H +#define SPLITMATRIX_H +/* + * splitmatrix.h + * Mothur + * + * Created by westcott on 5/19/10. + * Copyright 2010 Schloss Lab. All rights reserved. + * + */ + + +#include "mothur.h" +#include "mothurout.h" + +/******************************************************/ + +class SplitMatrix { + + public: + + SplitMatrix(string, string, float); //column formatted distance file, namesfile, cutoff + ~SplitMatrix(); + int split(); + vector< map > getDistanceFiles(); //returns map of distance files -> namefile sorted by distance file size + string getSingletonNames() { return singleton; } //returns namesfile containing singletons + + private: + string distFile, namefile, singleton; + vector< map< string, string> > dists; + float cutoff; + + MothurOut* m; +}; + +/******************************************************/ + +#endif +