//!newAlignment\r
for (int i = 0; i < sequences.length; i++)\r
{\r
- viewport.alignment.addSequence(sequences[i]);\r
+ Sequence newseq = new Sequence(sequences[i].getName(),\r
+ sequences[i].getSequence(), sequences[i].getStart(),\r
+ sequences[i].getEnd());\r
+ viewport.alignment.addSequence(newseq);\r
if(sequences[i].getDatasetSequence()==null)\r
{\r
////////////////////////////\r
AlignSeq.extractGaps("-. ", sequences[i].getSequence()),\r
sequences[i].getStart(),\r
sequences[i].getEnd());\r
- sequences[i].setDatasetSequence(ds);\r
+ newseq.setDatasetSequence(ds);\r
viewport.alignment.getDataset().addSequence(ds);\r
-\r
-\r
}\r
\r
}\r