- * Adds any HMM sequences removed before submitting the alignment as a job
- * back into the alignment.
- *
- * @param af
- */
- public void addHMMConsensusSequences(AlignFrame af)
- {
- AlignmentI al = af.getViewport().getAlignment();
- if (hmmSeqs == null || hmmSeqs.size() < 1)
- {
- return;
- }
- for (SequenceI seq : hmmSeqs)
- {
- Integer position = seq.getPreviousPosition();
- al.getSequences().add(position, seq);
- }
- af.getViewport().setAlignment(al);
- af.alignPanel.adjustAnnotationHeight();
- af.getViewport().updateSequenceIdColours();
- af.buildSortByAnnotationScoresMenu();
- }
-
- /**