import jalview.datamodel.AlignmentI;
import jalview.datamodel.HiddenColumns;
import jalview.datamodel.PDBEntry;
-import jalview.datamodel.Profile;
-import jalview.datamodel.Profiles;
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
import jalview.gui.AlignFrame;
AlignmentI alignment = viewport.getAlignment();
SequenceI seq = alignment
.getSequenceAt(alignment.getAbsoluteHeight() - 1);
+ seq.setIsHMMConsensusSequence(true);
alignment.deleteSequence(alignment.getAbsoluteHeight() - 1);
SequenceGroup sg = viewport.getSelectionGroup();
if (sg != null)
{
alignment.insertSequenceAt(0, seq);
}
- viewport.initInformation();
- viewport.setSequenceInformationHash(
- new Profiles(new Profile[1]), 0);
- viewport.updateInformation(viewport.getAlignPanel());
viewport.getAlignPanel().adjustAnnotationHeight();
viewport.updateSequenceIdColours();
if (viewport.getAlignPanel().alignFrame
@Override
public void setSequenceInformationHash(ProfilesI info, int index)
{
+ if (hinformation.size() < index + 1)
+ {
+ return;
+ }
hinformation.set(index, info);
}
{
updateStrucConsensus(ap);
}
+ initInformation();
updateInformation(ap);
List<SequenceI> hmmSequences;