import jalview.bin.Cache;
import jalview.datamodel.AlignmentI;
+import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
import jalview.gui.AlignFrame;
}
array = alignment.getSequencesArray();
}
- cmds.uniquifySequences(array);
- cmds.exportData(array, stoTemp, null, null);
+ SequenceI[] newArr = new SequenceI[array.length];
+ int index = 0;
+ for (SequenceI seq : array)
+ {
+ newArr[index] = new Sequence(seq);
+ index++;
+ }
+ cmds.uniquifySequences(newArr);
+ cmds.exportData(newArr, stoTemp, null, null);
jalview.analysis.SeqsetUtils.deuniquify(cmds.hash, array);
} catch (FileNotFoundException e)