boolean renderGaps = true;
boolean showSequenceFeatures = false;
boolean showAnnotation = true;
- boolean showConservation = true;
- boolean showQuality = true;
- boolean showIdentity = true;
boolean colourAppliesToAllGroups = true;
ColourSchemeI globalColourScheme = null;
boolean conservationColourSelected = false;
showJVSuffix = Cache.getDefault("SHOW_JVSUFFIX", true);
showAnnotation = Cache.getDefault("SHOW_ANNOTATIONS", true);
- showConservation = Cache.getDefault("SHOW_CONSERVATION", true);
-
- showQuality = Cache.getDefault("SHOW_QUALITY", true);
- showIdentity = Cache.getDefault("SHOW_IDENTITY", true);
autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true);
AlignmentAnnotation.BAR_GRAPH);
conservation.hasText = true;
- if (showConservation)
+
+ if (Cache.getDefault("SHOW_CONSERVATION", true))
{
alignment.addAnnotation(conservation);
}
- if (showQuality)
+ if (Cache.getDefault("SHOW_QUALITY", true))
{
quality = new AlignmentAnnotation("Quality",
"Alignment Quality based on Blosum62 scores",
AlignmentAnnotation.BAR_GRAPH);
consensus.hasText = true;
- if (showIdentity)
+ if (Cache.getDefault("SHOW_IDENTITY", true))
{
alignment.addAnnotation(consensus);
}
}
catch (OutOfMemoryError error)
{
+ consensus = null;
+ hconsensus = null;
javax.swing.SwingUtilities.invokeLater(new Runnable()
{
public void run()
af.viewport.setStartRes(view.getStartRes());
af.viewport.setStartSeq(view.getStartSeq());
af.viewport.setShowAnnotation(view.getShowAnnotation());
- af.viewport.showConservation = !hideConservation;
- af.viewport.showQuality = !hideQuality;
- af.viewport.showIdentity = !hideConsensus;
-
af.viewport.setAbovePIDThreshold(view.getPidSelected());
af.abovePIDThreshold.setSelected(view.getPidSelected());
af.viewport.setColourText(view.getShowColourText());