MessageManager
.getString("error.implementation_error_invalid_msa_index_for_job"));
}
+ // //
+ // Uses RemoveGapsCommand
+ // //
+ new jalview.commands.RemoveGapsCommand(
+ MessageManager.getString("label.remove_gaps"),
+ new SequenceI[] { sqs[msaIndex] }, currentView);
if (fullAlignment == null)
{
- // //
- // Uses RemoveGapsCommand
- // //
- new jalview.commands.RemoveGapsCommand(
- MessageManager.getString("label.remove_gaps"),
- new SequenceI[] { sqs[msaIndex] }, currentView);
-
+ // just replace trimmed sequence in prediction profile with full
+ // length sequence
SequenceI profileseq = al.getSequenceAt(FirstSeq);
profileseq.setSequence(sqs[msaIndex].getSequenceAsString());
}
+ else
+ {
+ insertHiddenResidues(al, '.', predMap, sqs[msaIndex]);
+ }
}
if (!jalview.analysis.SeqsetUtils.SeqCharacterUnhash(