+ if ('a' <= res && res <= 'z' )\r
+ {\r
+ // TO UPPERCASE !!!\r
+ res -= ('a' - 'A');\r
+ }\r
+\r
+ if (consensus == null ||\r
+ j >= consensus.length ||\r
+ consensus[j] == null ||\r
+ (threshold != 0 && !aboveThreshold(res, j)))\r
+ {\r
+ return Color.white;\r
+ }\r
+\r
+ Color currentColour;\r