fix to preserve sequence numbering in MSF (JAL-847)
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 24 Jun 2011 15:55:15 +0000 (16:55 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 24 Jun 2011 15:55:15 +0000 (16:55 +0100)
src/jalview/io/MSFfile.java

index 28f1f97..71510cc 100755 (executable)
@@ -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());