}
}
sqs[i] = new Sequence(id, seq, begin, end);
-
- sqs[i].setEnd(sqs[i].findPosition(sqs[i].getLength()));
+ if (seq.length() != (end - begin + 1))
+ {
+ sqs[i].setEnd(sqs[i].findPosition(sqs[i].getLength()));
+ }
String[] annot = new String[rna.length()];
Annotation[] ann = new Annotation[rna.length()];
// public static void main(String[] args) {
// Pattern p= Pattern.compile("(.+)[.][^.]+");
// Matcher m = p.matcher("toto.xml.zip");
- // System.out.println(m.matches());
- // System.out.println(m.group(1));
+ // jalview.bin.Console.outPrintln(m.matches());
+ // jalview.bin.Console.outPrintln(m.group(1));
// }
/**
* make a friendly ID string.