\r
Hashtable [] reply = new Hashtable[width];\r
\r
+ if(end>=width)\r
+ {\r
+ end = width;\r
+ }\r
+\r
calculate(seqs, start, end, reply);\r
\r
return reply;\r
char c;\r
float percentage;\r
\r
- int[] values = new int[132];\r
+ int[] values = new int[255];\r
\r
- String seq;\r
+ char [] seq;\r
\r
for (i = start; i < end; i++)\r
{\r
maxCount = 0;\r
maxResidue = "";\r
nongap = 0;\r
- values = new int[132];\r
+ values = new int[255];\r
\r
for (j = 0; j < jSize; j++)\r
{\r
seq = sequences[j].getSequence();\r
- if (seq.length() > i)\r
+ if (seq.length > i)\r
{\r
- c = seq.charAt(i);\r
+ c = seq[i];\r
\r
if(c == '.' || c==' ')\r
c = '-';\r