From 4e5806da22df848f52f8a4d9b72d7945cac1fbce Mon Sep 17 00:00:00 2001 From: jprocter Date: Sat, 17 Nov 2012 21:02:51 +0000 Subject: [PATCH] sequence numbering from 1 --- src/jalview/io/RnamlFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/io/RnamlFile.java b/src/jalview/io/RnamlFile.java index da64607..bc6b385 100644 --- a/src/jalview/io/RnamlFile.java +++ b/src/jalview/io/RnamlFile.java @@ -126,8 +126,8 @@ public class RnamlFile extends AlignFile //System.out.println(result.get(0).getAnnotations()); String seq = current.getSeq(); - int begin=0; - int end = seq.length()-1; + int begin=1; + int end = seq.length(); id = current.getName(); seqs[i] = new Sequence(id, seq, begin, end); -- 1.7.10.2