7 * Created by Sarah Westcott on 3/6/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
14 #include "globaldata.hpp"
15 #include "progress.hpp"
29 FullMatrix(ifstream&);
33 void printMatrix(ostream&);
34 void getMinsForRowsVectors(); //requires globaldata->Groups to be filled
37 void sortGroups(int, int); //this function sorts the sequences within the matrix.
38 void getBounds(int&, string);
39 void readSquareMatrix(ifstream&);
40 void readLTMatrix(ifstream&);
41 vector< vector<float> > matrix; //a 2D distance matrix of all the sequences and their distances to eachother.
42 vector< vector<float> > minsForRows; //vector< minimum distance for that subrow> -one for each comparison.
43 map<int, Names> index; // row in vector, sequence group. need to know this so when we sort it can be updated.
44 map<int, Names>::iterator it;
45 GroupMap* groupmap; //maps sequences to groups they belong to.
46 GlobalData* globaldata;
47 int numSeqs, numGroups, numUserGroups;