\r
Vector headers = new Vector();\r
Hashtable seqhash = new Hashtable();\r
-\r
- String line;\r
+ StringBuffer tempseq;\r
+ String line, id;\r
+ StringTokenizer str;\r
\r
try\r
{\r
{\r
if (line.indexOf(" ") != 0)\r
{\r
- StringTokenizer str = new StringTokenizer(line, " ");\r
- String id = "";\r
+ str = new StringTokenizer(line, " ");\r
\r
if (str.hasMoreTokens())\r
{\r
id = str.nextToken();\r
\r
- if (id.equals("CLUSTAL"))\r
+ if (id.equalsIgnoreCase("CLUSTAL"))\r
{\r
flag = true;\r
}\r
{\r
if (flag)\r
{\r
- StringBuffer tempseq;\r
-\r
if (seqhash.containsKey(id))\r
{\r
tempseq = (StringBuffer) seqhash.get(id);\r
}\r
}\r
}\r
+ else\r
+ flag = true;\r
}\r
}\r
}\r