alignment.addAnnotation(quality);
}
+ } else {
+ if (alignment.hasRNAStructure())
+ {
+ strucConsensus = new AlignmentAnnotation("StrucConsensus", "PID",
+ new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH);
+ strucConsensus.hasText = true;
+ strucConsensus.autoCalculated = true;
+ }
}
consensus = new AlignmentAnnotation("Consensus", "PID",
if (showConsensus)
{
alignment.addAnnotation(consensus);
+ if (strucConsensus!=null)
+ {
+ alignment.addAnnotation(strucConsensus);
+ }
}
}