/*
* a map per column with {property, conservation} where conservation value is
- * 1 (property is conserved), 0 (property is negatively conserved) or -1
+ * 1 (property is conserved), 0 (absence of property is conserved) or -1
* (property is not conserved i.e. column has residues with and without it)
*/
Map<String, Integer>[] total;
/*
* check observed residues in column and record whether each
- * physico-chemical property is conserved (+1), negatively conserved (0),
+ * physico-chemical property is conserved (+1), absence conserved (0),
* or not conserved (-1)
* Using TreeMap means properties are displayed in alphabetical order
*/
if (result == -1)
{
/*
- * not conserved either positively or negatively
+ * not conserved (present or absent)
*/
continue;
}
if (result == 0 && !positiveOnly)
{
/*
- * negatively conserved property (all residues lack it)
+ * absense of property is conserved (all residues lack it)
*/
negatives.append(negatives.length() == 0 ? "" : " ");
negatives.append("!").append(type);
/**
* Returns the computed tooltip (annotation description) for a given column.
* The tip is empty if the conservation score is zero, otherwise holds the
- * positively (and, optionally, negatively) conserved properties.
+ * conserved properties (and, optionally, properties whose absence is
+ * conserved).
*
* @param column
* @return