for (int i = 0; i < aa.length; i++)
{
AlignmentAnnotation row = aa[i];
+ {
+ // check if this is a consensus annotation row and set the display settings appropriately
+ // TODO: generalise this to have render styles for consensus/profile
+ // data
+ if (row.groupRef != null && row == row.groupRef.getConsensus())
+ {
+ renderHistogram = row.groupRef.isShowConsensusHistogram();
+ renderProfile = row.groupRef.isShowSequenceLogo();
+ normaliseProfile = row.groupRef.isNormaliseSequenceLogo();
+ }
+ else if (row == consensusAnnot)
+ {
+ renderHistogram = av_renderHistogram;
+ renderProfile = av_renderProfile;
+ normaliseProfile = av_normaliseProfile;
+ } else {
+ renderHistogram = true;
+ // don't need to set render/normaliseProfile since they are not currently used in any other annotation track renderer
+ }
+ }
Annotation[] row_annotations = row.annotations;
if (!row.visible)
{