{\r
reply = "BLC";\r
}\r
- //Is this a single line BLC file?\r
- data = reader.readLine();\r
- if(data!=null && data.length()==1)\r
- {\r
- reply = "BLC";\r
- }\r
else\r
{\r
+ //Is this a single line BLC file?\r
+ reader.readLine();\r
+ String data2 = reader.readLine();\r
+ if ( data2 != null\r
+ && data.indexOf("*")>-1\r
+ && data.indexOf("*")==data2.indexOf("*"))\r
+ {\r
+ reply = "BLC";\r
+ }\r
+ else\r
+ {\r
reply = "FASTA";\r
+ }\r
}\r
\r
break;\r