{
try
{
+ SequenceI[] array;
List<SequenceI> seqs = alignment
.getHMMConsensusSequences(true);
cmds.setHmmSeqs(seqs);
if (group != null)
{
- SequenceI[] array = group.getSelectionAsNewSequences(alignment);
-
- cmds.exportData(array, stoTemp, null, null);
+ array = group.getSelectionAsNewSequences(alignment);
}
else
{
{
alignment.padGaps();
}
- cmds.exportData(alignment.getSequencesArray(), stoTemp, null,
- null);
+ array = alignment.getSequencesArray();
}
+ cmds.uniquifySequences(array);
+ cmds.exportData(array, stoTemp, null, null);
+ jalview.analysis.SeqsetUtils.deuniquify(cmds.hash, array);
+
} catch (FileNotFoundException e)
{
// TODO Auto-generated catch block