}
}
+
/**
* Calculate the consensus symbol(s) for each column in the given range.
*
value = hmm.getMatchEmissionProbability(column, symbol);
double freq;
- if (alph == AMINO && removeBelowBackground)
+ if (AMINO.equals(alph) && removeBelowBackground)
{
freq = ResidueProperties.aminoBackgroundFrequencies.get(symbol);
if (value < freq)
value = 0d;
}
}
- else if (alph == DNA && removeBelowBackground)
+ else if (DNA.equals(alph) && removeBelowBackground)
{
freq = ResidueProperties.nucleotideBackgroundFrequencies
.get(symbol);