for (SequenceGroup group : alignment.getGroups())
{
hmmSeqs = group.getHmmSequences();
- ProfilesI profiles = group.getHmmProfiles();
- float m = updateInformationAnnotation(hmmSeqs.get(0), profiles, group,
- infos);
- maxInformation = Math.max(maxInformation, m);
+ if (!hmmSeqs.isEmpty())
+ {
+ ProfilesI profiles = group.getHmmProfiles();
+ float m = updateInformationAnnotation(hmmSeqs.get(0), profiles,
+ group, infos);
+ maxInformation = Math.max(maxInformation, m);
+ }
}
/*