From: jprocter Date: Fri, 24 Jun 2011 15:55:15 +0000 (+0100) Subject: fix to preserve sequence numbering in MSF (JAL-847) X-Git-Tag: Release_2_7~174 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=38a8b402c703cb7481a367cdbf26781244af2aa5;p=jalview.git fix to preserve sequence numbering in MSF (JAL-847) --- diff --git a/src/jalview/io/MSFfile.java b/src/jalview/io/MSFfile.java index 28f1f97..71510cc 100755 --- a/src/jalview/io/MSFfile.java +++ b/src/jalview/io/MSFfile.java @@ -228,7 +228,7 @@ public class MSFfile extends AlignFile { // Replace all internal gaps with . and external spaces with ~ s[i] = new Sequence(seqs[i].getName(), seqs[i].getSequenceAsString() - .replace('-', '.')); + .replace('-', '.'), seqs[i].getStart(),seqs[i].getEnd()); StringBuffer sb = new StringBuffer(); sb.append(s[i].getSequence());