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