+ @Override
+ public void initInformation()
+ {
+ for (SequenceI seq : alignment.getHMMConsensusSequences())
+ {
+ if (!seq.hasHMMAnnotation())
+ {
+ AlignmentAnnotation info = new AlignmentAnnotation(seq.getName(),
+ MessageManager.getString("label.information_description"),
+ new Annotation[1], 0f, 6.52f,
+ AlignmentAnnotation.BAR_GRAPH);
+ info.hasText = true;
+ info.autoCalculated = true;
+ info.hasText = true;
+ info.autoCalculated = false;
+ info.sequenceRef = seq;
+ info.setCalcId("HMM");
+ this.information.add(info);
+ hinformation.add(new Profiles(new ProfileI[1]));
+ alignment.addAnnotation(info);
+ seq.updateHMMMapping();
+ seq.setHasInfo(true);
+ seq.addAlignmentAnnotation(info);
+ }
+ }
+ }
+