SequenceFeature[] features = sequence.getSequenceFeatures();
for (int i = 0; i < features.length; i++)
{
- if (features[i].getFeatureGroup().equals(PDBChain.PDBFILEFEATURE))
+ if (features[i].getFeatureGroup().equals(pdbid))
{
SequenceFeature tx = new SequenceFeature(features[i]);
tx.setBegin(1 +
tmpat.resName + ":" + tmpat.resNumIns + " " +
pdbid + id,
"", offset + count, offset + count,
- MCview.PDBChain.PDBFILEFEATURE);
+ pdbid);
+
+ //MCview.PDBChain.PDBFILEFEATURE);
resFeatures.addElement(sf);
resAnnotation.addElement(new Annotation(tmpat.tfactor));
// Keep totting up the sequence
max = annots[i].value;
resAnnotation.setElementAt(null, i);
}
- AlignmentAnnotation tfactorann = new AlignmentAnnotation("PDB.CATempFactor","CA Temperature Factor for "+sequence.getName(),
+ AlignmentAnnotation tfactorann = new AlignmentAnnotation("PDB.CATempFactor","CA Temperature Factor for "+sequence.getName(),
annots, 0, max, AlignmentAnnotation.LINE_GRAPH);
tfactorann.setSequenceRef(sequence);
sequence.addAlignmentAnnotation(tfactorann);
public AlignmentAnnotation[] transferResidueAnnotation(SequenceI seq, String status)
{
AlignmentAnnotation[] transferred = null;
-
+
return transferred;
-
+
}
/**
{
if (sequence!=null && sequence.getAnnotation()!=null)
{
-
+
}
float min=-1,max=0;
Annotation[] an=new Annotation[sq.getEnd()-sq.getStart()+1];
if (min>k)
{
min=k;
- } else
+ } else
if (max<k)
{
max=k;