- aminoBackgroundFrequencies.put('A', 0.0826f);
- aminoBackgroundFrequencies.put('Q', 0.0393f);
- aminoBackgroundFrequencies.put('L', 0.0965f);
- aminoBackgroundFrequencies.put('S', 0.0661f);
- aminoBackgroundFrequencies.put('R', 0.0553f);
- aminoBackgroundFrequencies.put('E', 0.0674f);
- aminoBackgroundFrequencies.put('K', 0.0582f);
- aminoBackgroundFrequencies.put('T', 0.0535f);
- aminoBackgroundFrequencies.put('N', 0.0406f);
- aminoBackgroundFrequencies.put('G', 0.0708f);
- aminoBackgroundFrequencies.put('M', 0.0241f);
- aminoBackgroundFrequencies.put('W', 0.0109f);
- aminoBackgroundFrequencies.put('D', 0.0546f);
- aminoBackgroundFrequencies.put('H', 0.0227f);
- aminoBackgroundFrequencies.put('F', 0.0386f);
- aminoBackgroundFrequencies.put('Y', 0.0292f);
- aminoBackgroundFrequencies.put('C', 0.0137f);
- aminoBackgroundFrequencies.put('I', 0.0593f);
- aminoBackgroundFrequencies.put('P', 0.0472f);
- aminoBackgroundFrequencies.put('V', 0.0686f);
+ Map<Character, Float> amino = new HashMap<>();
+ amino.put('A', 0.0826f);
+ amino.put('Q', 0.0393f);
+ amino.put('L', 0.0965f);
+ amino.put('S', 0.0661f);
+ amino.put('R', 0.0553f);
+ amino.put('E', 0.0674f);
+ amino.put('K', 0.0582f);
+ amino.put('T', 0.0535f);
+ amino.put('N', 0.0406f);
+ amino.put('G', 0.0708f);
+ amino.put('M', 0.0241f);
+ amino.put('W', 0.0109f);
+ amino.put('D', 0.0546f);
+ amino.put('H', 0.0227f);
+ amino.put('F', 0.0386f);
+ amino.put('Y', 0.0292f);
+ amino.put('C', 0.0137f);
+ amino.put('I', 0.0593f);
+ amino.put('P', 0.0472f);
+ amino.put('V', 0.0686f);
+ backgroundFrequencies.put("amino", amino);