{
// first edit the original dataset sequence string
SequenceI oldds = command.seqs[i].getDatasetSequence();
- String fullseq, osp = oldds.getSequenceAsString();
+ String osp = oldds.getSequenceAsString();
- fullseq = osp.substring(0, ipos) + nogaprep
+ String fullseq = osp.substring(0, ipos) + nogaprep
+ osp.substring(ipos + nogaprep.length());
// and check if new sequence data is different..