public Sequence(String name, String sequence, int start, int end)\r
{\r
this.name = name;\r
+ this.sequence = sequence;\r
this.start = start;\r
this.end = end;\r
\r
parseId();\r
\r
- this.sequence = sequence;\r
-\r
-\r
checkValidRange();\r
}\r
\r
\r
// If we're still in this loop, parsing of start and end was ok\r
// Therefore remove it from the sequence name\r
- name = name.substring(0, name.indexOf("/"));\r
+ name = name.substring(0, name.lastIndexOf("/"));\r
}\r
catch (NumberFormatException ex)\r
{\r