super.initData();
Scores = new Hashtable();
+ ids = null;
+ conf = null;
+ QuerySeqPosition = -1;
}
public JPredFile(String inFile, String type)
/**
* parse a JPred concise file into a sequence-alignment like object.
*/
-
+ int QuerySeqPosition;
public void parse()
throws IOException
{
System.out.println("all read in ");
String line;
-
+ QuerySeqPosition = -1;
noSeqs = 0;
Vector seq_entries = new Vector();
Vector ids = new Vector();
name = id.substring(id.indexOf(";")+1)+"_"+1;
}
ids.addElement(name);
+
noSeqs++;
}
else
ids.elementAt(i).toString()
+ ") has an unexpected number of columns");
}
+ if (newSeq.getName().startsWith("QUERY") && QuerySeqPosition==-1) {
+ QuerySeqPosition = seqs.size();
+ }
+
seqs.addElement(newSeq);
}