 class="comment">%first just extract the genus (i.e. the first part of the name)</span>
0030 MWECNum = upper(unique(MW{1}));
0031 MWECNumIndices = cell(length(MWECNum),1);
0032 MWECNumHashMap = containers.Map(MWECNum,1:length(MWECNum));
0033 <span class="keyword">for</span> i = 1:length(MW{1})
0034     matchInd = cell2mat(values(MWECNumHashMap, MW{1}(i)));
0035     MWECNumIndices{matchInd} = [MWECNumIndices{matchInd};i];
0036 <span class="keyword">end</span>
0037 
0038 
0039 <span class="keyword">for</span>