public void parse()
throws IOException
{
-
+System.out.println("all read in ");
String line;
noSeqs = 0;
// Concise format allows no comments or non comma-formatted data
StringTokenizer str = new StringTokenizer(line, ":");
String id = "";
- String seq = "";
if (!str.hasMoreTokens())
{
continue;
Float score = new Float(ascore);
scores.addElement( (Object) score);
}
+ Scores.put(id, scores);
}
catch (Exception e)
{
}
Scores.put(id, scores);
}
- } else
- if (id.equals("jnetconf"))
+ }
+ else if (id.equals("jnetconf"))
{
+ System.out.println("here");
id = "Prediction Confidence";
this.conf = new Vector(numSymbols);
for (int i = 0; i < numSymbols; i++)
else
{
// Sequence or a prediction string (rendered as sequence)
-
+
StringBuffer newseq = new StringBuffer();
-
+
for (int i = 0; i < numSymbols; i++) {
newseq.append(symbols.nextToken());
}
-
+
if (id.indexOf(";") > -1) {
seq_entries.addElement(newseq);
int i=1;