*/
public class PContactPredictionFile extends AlignFile
{
+ protected static final String CONTACT_PREDICTION = "CONTACT_PREDICTION";
+
public PContactPredictionFile(String inFile, DataSourceType fileSourceType)
throws IOException
{
if (cm == null)
{
- cm = new ContactMatrix(true);
+ cm = new ContactMatrix(true) {
+ @Override
+ public String getType()
+ {
+ return CONTACT_PREDICTION;
+ }
+ @Override
+ public int getHeight()
+ {
+ // TODO Auto-generated method stub
+ // return maximum contact height
+ return 0;
+ }@Override
+ public int getWidth()
+ {
+ // TODO Auto-generated method stub
+ // return total number of residues with contacts
+ return 0;
+ }
+ };
models.add(cm);
}
cm.addContact(left, right, (float) strength);
}
}
+ // TODO COMPLETE
+ throw(new Error("Not Implemented yet."));
}
@Override