- for (int i = 0; i < sequence.length(); i++)\r
- if (!jalview.schemes.ResidueProperties.aaHash.containsKey(\r
- String.valueOf(sequence.charAt(i))))\r
+ for (int i = 0; i < sequence.length; i++)\r
+ if (jalview.schemes.ResidueProperties.aaIndex[sequence[i]]==-1)\r