//
if (aa.autoCalculated
&& (aa.label.startsWith(AutoAnnotation.CONSENSUS.label)
- || aa.label.startsWith("cDNA Consensus")))
+ || aa.label.startsWith(
+ AutoAnnotation.CDNA_CONSENSUS.label)))
{
- boolean forComplement = aa.label.startsWith("cDNA Consensus");
+ boolean forComplement = aa.label
+ .startsWith(AutoAnnotation.CDNA_CONSENSUS.label);
if (aa.groupRef != null && aa.groupRef.consensusData != null
&& aa.groupRef.isShowSequenceLogo())
{
}
else
{
- if (aa.autoCalculated && aa.label.startsWith("StrucConsensus"))
+ if (aa.autoCalculated && aa.label
+ .startsWith(AutoAnnotation.STRUCTURE_CONSENSUS.label))
{
// TODO implement group structure consensus
/*
CONSERVATION("Conservation", "SHOW_CONSERVATION"),
QUALITY("Quality", "SHOW_QUALITY"),
CONSENSUS("Consensus", "SHOW_IDENTITY"),
+ CDNA_CONSENSUS("cDNA Consensus", null),
+ STRUCTURE_CONSENSUS("StrucConsensus", null),
OCCUPANCY("Occupancy", "SHOW_OCCUPANCY");
public final String label;
}
if (doConsensus)
{
- complementConsensus = new AlignmentAnnotation("cDNA Consensus",
+ complementConsensus = new AlignmentAnnotation(
+ AutoAnnotation.CDNA_CONSENSUS.label,
MessageManager
.getString("label.complement_consensus_descr"),
new Annotation[1], 0f, 100f,
{
if (alignment.hasRNAStructure() && strucConsensus == null)
{
- strucConsensus = new AlignmentAnnotation("StrucConsensus",
+ strucConsensus = new AlignmentAnnotation(
+ AutoAnnotation.STRUCTURE_CONSENSUS.label,
MessageManager.getString("label.strucconsensus_descr"),
new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH);
strucConsensus.hasText = true;