7 * Created by Sarah Westcott on 1/26/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
16 #include "utilities.hpp"
18 /* This class is used by the read.tree command to build the tree container. */
35 void setIndex(string, int); //sequencename, index
36 int getIndex(string); //returns vector index of sequence
37 bool isValidGroup(string); //return true if string is a valid group
38 string getGroup(string);
39 vector<string> namesOfGroups;
40 vector<string> namesOfSeqs;
41 map<string,int> seqsPerGroup; //groupname, number of seqs in that group.
42 map<string, GroupIndex> treemap; //sequence name and <groupname, vector index>
49 map<string, GroupIndex>::iterator it;
50 map<string, int>::iterator it2;
51 void setNamesOfGroups(string);