import javax.swing.JMenuItem;
import jalview.datamodel.Alignment;
+import jalview.datamodel.AlignmentAnnotation;
import jalview.gui.AlignFrame;
import jalview.gui.Desktop;
import jalview.gui.WebserviceInfo;
{
Alignment alignment = new Alignment(result.getAlignment());
alignment.setSeqrep(alignment.getSequenceAt(0));
- for (var annotation : result.getAlignment().getAlignmentAnnotation())
+ for (var annot : alignment.getSeqrep().getAnnotation())
{
- alignment.addAnnotation(annotation);
+ alignment.addAnnotation(annot);
}
AlignFrame frame = new AlignFrame(alignment, result.getHiddenCols(),
AlignFrame.DEFAULT_WIDTH, AlignFrame.DEFAULT_HEIGHT);
Object[] alanndcolsel = view.getAlignmentAndHiddenColumns(gapChar);
SequenceI[] seqs = (SequenceI[]) alanndcolsel[0];
new RemoveGapsCommand(MessageManager.getString("label.remove_gaps"),
- new SequenceI[]
- { seqs[msaIndex] }, currentView);
+ new SequenceI[] { seqs[msaIndex] }, currentView);
SequenceI profileSeq = alignment.getSequenceAt(firstSeq);
profileSeq.setSequence(seqs[msaIndex].getSequenceAsString());
}