public String pdbid = "";
- public PDBChain(String thePdbid, String theId)
+ public PDBChain(String thePdbid, String theId, boolean isAlphaFoldModel)
{
this.pdbid = thePdbid == null ? thePdbid : thePdbid.toLowerCase();
this.id = theId;
+ this.alphaFoldModel = isAlphaFoldModel;
}
/**
public Mapping shadowMap;
+ private boolean alphaFoldModel;
+
public void setNewlineString(String nl)
{
newline = nl;
min = Math.min(min, annots[i].value);
resAnnotation.setElementAt(null, i);
}
-
+ String tfacName = "Temperature Factor";
+ if (isAlphaFoldModel())
+ {
+ tfacName = "Alphafold Reliability";
+ }
AlignmentAnnotation tfactorann = new AlignmentAnnotation(
- "Temperature Factor", "Temperature Factor for " + pdbid + id,
+ tfacName, tfacName + " for " + pdbid + id,
annots, min, max, AlignmentAnnotation.LINE_GRAPH);
tfactorann.setSequenceRef(sequence);
sequence.addAlignmentAnnotation(tfactorann);
}
}
+ private boolean isAlphaFoldModel()
+ {
+ return alphaFoldModel;
+ }
+
/**
* Colour start/end of bonds by charge
* <ul>