break;
}
-
+
if ((data.indexOf("<") > -1))
{
reply = "RNAML";
-
+
break;
}
break;
}
-
-
+
else if (data.indexOf(">") > -1)
{
// FASTA, PIR file or BLC file
starterm = (data1 != null && data1.indexOf("*") > -1)
|| (data2 != null && data2.indexOf("*") > -1);
}
- if (data2 != null && (c1=data.indexOf("*")) > -1)
+ if (data2 != null && (c1 = data.indexOf("*")) > -1)
{
- if (c1==0 && c1 == data2.indexOf("*"))
+ if (c1 == 0 && c1 == data2.indexOf("*"))
{
reply = "BLC";
- } else {
- reply = "FASTA"; // possibly a bad choice - may be recognised as PIR
+ }
+ else
+ {
+ reply = "FASTA"; // possibly a bad choice - may be recognised as
+ // PIR
}
// otherwise can still possibly be a PIR file
}