int pdbend = 0;
int seqstart = 0;
int seqend = 0;
- AlignSeq maxAlignseq = null;
//JUST DEAL WITH ONE SEQUENCE FOR NOW
SequenceI sequence = seq[0];
pdbend = as.seq2end;
seqstart = as.seq1start + sequence.getStart() - 1;
seqend = as.seq1end + sequence.getEnd() - 1;
- maxAlignseq = as;
- }
+ }
mappingDetails.append("\nPDB start/end " + pdbstart + " " + pdbend);
mappingDetails.append("\nSEQ start/end " + seqstart + " " + seqend);
// Applet and Application specific sequence renderers to be used
void colourBySequence()
{
- SequenceRenderer sr = ap.getSequenceRenderer();
+ SequenceRenderer sr = new SequenceRenderer(ap.av);
StructureMapping[] mapping = ssm.getMapping(pdbentry.getFile());
///StructureListener
public String getPdbFile()
{
- return "???";
+ return pdbentry.getFile();
}
public void updateColours(Object source)
{
- AlignmentPanel ap = (AlignmentPanel) source;
colourBySequence();
redrawneeded = true;
repaint();
resetLastRes.append(":" + chain);
}
- eval.append(";color gold;wireframe 100");
+ eval.append(";wireframe 100");//;color gold
Color col = new Color(viewer.getAtomArgb(atomIndex));
- resetLastRes.append(";color["
- + col.getRed() + ","
- + col.getGreen() + ","
- + col.getBlue() + "];wireframe 0");
+ resetLastRes.append(";wireframe 0;"//color["
+ // + col.getRed() + ","
+ // + col.getGreen() + ","
+ // + col.getBlue() + "]"
+ );
viewer.evalStringQuiet(eval.toString());