1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.schemes; |
22 |
|
|
23 |
|
import java.awt.Color; |
24 |
|
import java.util.ArrayList; |
25 |
|
import java.util.Arrays; |
26 |
|
import java.util.Enumeration; |
27 |
|
import java.util.HashMap; |
28 |
|
import java.util.Hashtable; |
29 |
|
import java.util.List; |
30 |
|
import java.util.Locale; |
31 |
|
import java.util.Map; |
32 |
|
import java.util.Vector; |
33 |
|
|
34 |
|
import jalview.analysis.GeneticCodes; |
35 |
|
|
|
|
| 95.7% |
Uncovered Elements: 81 (1,904) |
Complexity: 76 |
Complexity Density: 0.04 |
|
36 |
|
public class ResidueProperties |
37 |
|
{ |
38 |
|
|
39 |
|
public static final int[] aaIndex; |
40 |
|
|
41 |
|
public static final int[] nucleotideIndex; |
42 |
|
|
43 |
|
public static final int[] purinepyrimidineIndex; |
44 |
|
|
45 |
|
public static final int[] secondaryStructureIndex; |
46 |
|
|
47 |
|
public static final Map<String, Integer> aa3Hash = new HashMap<>(); |
48 |
|
|
49 |
|
public static final Map<String, String> aa2Triplet = new HashMap<>(); |
50 |
|
|
51 |
|
public static final Map<String, String> nucleotideName = new HashMap<>(); |
52 |
|
|
53 |
|
public static final Map<String, String> nucleotideAmbiguityName = new HashMap<>(); |
54 |
|
|
55 |
|
|
56 |
|
public static final Map<String, String> modifications = new HashMap<>(); |
57 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (53) |
Complexity: 2 |
Complexity Density: 0.04 |
|
58 |
1 |
static... |
59 |
|
{ |
60 |
1 |
aaIndex = new int[255]; |
61 |
256 |
for (int i = 0; i < 255; i++) |
62 |
|
{ |
63 |
255 |
aaIndex[i] = 23; |
64 |
|
} |
65 |
|
|
66 |
1 |
aaIndex['A'] = 0; |
67 |
1 |
aaIndex['R'] = 1; |
68 |
1 |
aaIndex['N'] = 2; |
69 |
1 |
aaIndex['D'] = 3; |
70 |
1 |
aaIndex['C'] = 4; |
71 |
1 |
aaIndex['Q'] = 5; |
72 |
1 |
aaIndex['E'] = 6; |
73 |
1 |
aaIndex['G'] = 7; |
74 |
1 |
aaIndex['H'] = 8; |
75 |
1 |
aaIndex['I'] = 9; |
76 |
1 |
aaIndex['L'] = 10; |
77 |
1 |
aaIndex['K'] = 11; |
78 |
1 |
aaIndex['M'] = 12; |
79 |
1 |
aaIndex['F'] = 13; |
80 |
1 |
aaIndex['P'] = 14; |
81 |
1 |
aaIndex['S'] = 15; |
82 |
1 |
aaIndex['T'] = 16; |
83 |
1 |
aaIndex['W'] = 17; |
84 |
1 |
aaIndex['Y'] = 18; |
85 |
1 |
aaIndex['V'] = 19; |
86 |
1 |
aaIndex['B'] = 20; |
87 |
1 |
aaIndex['Z'] = 21; |
88 |
1 |
aaIndex['X'] = 22; |
89 |
1 |
aaIndex['U'] = 22; |
90 |
1 |
aaIndex['a'] = 0; |
91 |
1 |
aaIndex['r'] = 1; |
92 |
1 |
aaIndex['n'] = 2; |
93 |
1 |
aaIndex['d'] = 3; |
94 |
1 |
aaIndex['c'] = 4; |
95 |
1 |
aaIndex['q'] = 5; |
96 |
1 |
aaIndex['e'] = 6; |
97 |
1 |
aaIndex['g'] = 7; |
98 |
1 |
aaIndex['h'] = 8; |
99 |
1 |
aaIndex['i'] = 9; |
100 |
1 |
aaIndex['l'] = 10; |
101 |
1 |
aaIndex['k'] = 11; |
102 |
1 |
aaIndex['m'] = 12; |
103 |
1 |
aaIndex['f'] = 13; |
104 |
1 |
aaIndex['p'] = 14; |
105 |
1 |
aaIndex['s'] = 15; |
106 |
1 |
aaIndex['t'] = 16; |
107 |
1 |
aaIndex['w'] = 17; |
108 |
1 |
aaIndex['y'] = 18; |
109 |
1 |
aaIndex['v'] = 19; |
110 |
1 |
aaIndex['b'] = 20; |
111 |
1 |
aaIndex['z'] = 21; |
112 |
1 |
aaIndex['x'] = 22; |
113 |
1 |
aaIndex['u'] = 22; |
114 |
|
|
115 |
|
} |
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
public final static int maxProteinIndex = 23; |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
public final static int maxNucleotideIndex; |
127 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (15) |
Complexity: 3 |
Complexity Density: 0.27 |
|
128 |
1 |
static... |
129 |
|
{ |
130 |
1 |
String[][] namesArray = { { "a", "Adenine" }, { "c", "Cytosine" }, |
131 |
|
{ "g", "Guanine" }, |
132 |
|
{ "t", "Thymine" }, |
133 |
|
{ "u", "Uracil" }, |
134 |
|
{ "i", "Inosine" }, |
135 |
|
{ "x", "Xanthine" }, |
136 |
|
{ "r", "Unknown Purine" }, |
137 |
|
{ "y", "Unknown Pyrimidine" }, |
138 |
|
{ "w", "Weak nucleotide (A or T)" }, |
139 |
|
{ "s", "Strong nucleotide (G or C)" }, |
140 |
|
{ "m", "Amino (A or C)" }, |
141 |
|
{ "k", "Keto (G or T)" }, |
142 |
|
{ "b", "Not A (G or C or T)" }, |
143 |
|
{ "h", "Not G (A or C or T)" }, |
144 |
|
{ "d", "Not C (A or G or T)" }, |
145 |
|
{ "v", "Not T (A or G or C)" }, |
146 |
|
{ "n", "Unknown" } }; |
147 |
|
|
148 |
1 |
maxNucleotideIndex = namesArray.length; |
149 |
|
|
150 |
1 |
nucleotideIndex = new int[255]; |
151 |
256 |
for (int i = 0; i < 255; i++) |
152 |
|
{ |
153 |
255 |
nucleotideIndex[i] = maxNucleotideIndex; |
154 |
|
|
155 |
|
} |
156 |
|
|
157 |
19 |
for (int i = 0; i < namesArray.length; i++) |
158 |
|
{ |
159 |
18 |
char c = namesArray[i][0].charAt(0); |
160 |
18 |
nucleotideIndex[c] = i; |
161 |
|
|
162 |
18 |
nucleotideIndex[Character.toUpperCase(c)] = i; |
163 |
18 |
nucleotideName.put(namesArray[i][0], namesArray[i][1]); |
164 |
18 |
nucleotideName.put(namesArray[i][0].toUpperCase(Locale.ROOT), |
165 |
|
namesArray[i][1]); |
166 |
|
} |
167 |
|
|
168 |
|
} |
169 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (25) |
Complexity: 2 |
Complexity Density: 0.09 |
|
170 |
1 |
static... |
171 |
|
{ |
172 |
1 |
purinepyrimidineIndex = new int[255]; |
173 |
256 |
for (int i = 0; i < 255; i++) |
174 |
|
{ |
175 |
255 |
purinepyrimidineIndex[i] = 3; |
176 |
|
|
177 |
|
} |
178 |
|
|
179 |
1 |
purinepyrimidineIndex['A'] = 0; |
180 |
1 |
purinepyrimidineIndex['a'] = 0; |
181 |
1 |
purinepyrimidineIndex['C'] = 1; |
182 |
1 |
purinepyrimidineIndex['c'] = 1; |
183 |
1 |
purinepyrimidineIndex['G'] = 0; |
184 |
1 |
purinepyrimidineIndex['g'] = 0; |
185 |
1 |
purinepyrimidineIndex['T'] = 1; |
186 |
1 |
purinepyrimidineIndex['t'] = 1; |
187 |
1 |
purinepyrimidineIndex['U'] = 1; |
188 |
1 |
purinepyrimidineIndex['u'] = 1; |
189 |
1 |
purinepyrimidineIndex['I'] = 2; |
190 |
1 |
purinepyrimidineIndex['i'] = 2; |
191 |
1 |
purinepyrimidineIndex['X'] = 2; |
192 |
1 |
purinepyrimidineIndex['x'] = 2; |
193 |
1 |
purinepyrimidineIndex['R'] = 0; |
194 |
1 |
purinepyrimidineIndex['r'] = 0; |
195 |
1 |
purinepyrimidineIndex['Y'] = 1; |
196 |
1 |
purinepyrimidineIndex['y'] = 1; |
197 |
1 |
purinepyrimidineIndex['N'] = 2; |
198 |
1 |
purinepyrimidineIndex['n'] = 2; |
199 |
|
} |
200 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (8) |
Complexity: 2 |
Complexity Density: 0.33 |
|
201 |
1 |
static... |
202 |
|
{ |
203 |
1 |
secondaryStructureIndex = new int[255]; |
204 |
256 |
for (int i = 0; i < 255; i++) |
205 |
|
{ |
206 |
255 |
secondaryStructureIndex[i] = 3; |
207 |
|
} |
208 |
|
|
209 |
1 |
secondaryStructureIndex['H'] = 0; |
210 |
1 |
secondaryStructureIndex['E'] = 1; |
211 |
1 |
secondaryStructureIndex['C'] = 2; |
212 |
|
} |
213 |
|
|
214 |
|
private static final Integer ONE = Integer.valueOf(1); |
215 |
|
|
216 |
|
private static final Integer ZERO = Integer.valueOf(0); |
217 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (29) |
Complexity: 1 |
Complexity Density: 0.03 |
|
218 |
1 |
static... |
219 |
|
{ |
220 |
1 |
aa3Hash.put("ALA", ZERO); |
221 |
1 |
aa3Hash.put("ARG", ONE); |
222 |
1 |
aa3Hash.put("ASN", Integer.valueOf(2)); |
223 |
1 |
aa3Hash.put("ASP", Integer.valueOf(3)); |
224 |
1 |
aa3Hash.put("CYS", Integer.valueOf(4)); |
225 |
1 |
aa3Hash.put("GLN", Integer.valueOf(5)); |
226 |
1 |
aa3Hash.put("GLU", Integer.valueOf(6)); |
227 |
1 |
aa3Hash.put("GLY", Integer.valueOf(7)); |
228 |
1 |
aa3Hash.put("HIS", Integer.valueOf(8)); |
229 |
1 |
aa3Hash.put("ILE", Integer.valueOf(9)); |
230 |
1 |
aa3Hash.put("LEU", Integer.valueOf(10)); |
231 |
1 |
aa3Hash.put("LYS", Integer.valueOf(11)); |
232 |
1 |
aa3Hash.put("MET", Integer.valueOf(12)); |
233 |
1 |
aa3Hash.put("PHE", Integer.valueOf(13)); |
234 |
1 |
aa3Hash.put("PRO", Integer.valueOf(14)); |
235 |
1 |
aa3Hash.put("SER", Integer.valueOf(15)); |
236 |
1 |
aa3Hash.put("THR", Integer.valueOf(16)); |
237 |
1 |
aa3Hash.put("TRP", Integer.valueOf(17)); |
238 |
1 |
aa3Hash.put("TYR", Integer.valueOf(18)); |
239 |
1 |
aa3Hash.put("VAL", Integer.valueOf(19)); |
240 |
|
|
241 |
1 |
aa3Hash.put("ASX", Integer.valueOf(20)); |
242 |
1 |
aa3Hash.put("GLX", Integer.valueOf(21)); |
243 |
1 |
aa3Hash.put("XAA", Integer.valueOf(22)); |
244 |
1 |
aa3Hash.put("-", Integer.valueOf(23)); |
245 |
1 |
aa3Hash.put("*", Integer.valueOf(23)); |
246 |
1 |
aa3Hash.put(".", Integer.valueOf(23)); |
247 |
1 |
aa3Hash.put(" ", Integer.valueOf(23)); |
248 |
1 |
aa3Hash.put("Gap", Integer.valueOf(23)); |
249 |
1 |
aa3Hash.put("UR3", Integer.valueOf(24)); |
250 |
|
} |
251 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (40) |
Complexity: 1 |
Complexity Density: 0.03 |
|
252 |
1 |
static... |
253 |
|
{ |
254 |
1 |
aa2Triplet.put("A", "ALA"); |
255 |
1 |
aa2Triplet.put("a", "ALA"); |
256 |
1 |
aa2Triplet.put("R", "ARG"); |
257 |
1 |
aa2Triplet.put("r", "ARG"); |
258 |
1 |
aa2Triplet.put("N", "ASN"); |
259 |
1 |
aa2Triplet.put("n", "ASN"); |
260 |
1 |
aa2Triplet.put("D", "ASP"); |
261 |
1 |
aa2Triplet.put("d", "ASP"); |
262 |
1 |
aa2Triplet.put("C", "CYS"); |
263 |
1 |
aa2Triplet.put("c", "CYS"); |
264 |
1 |
aa2Triplet.put("Q", "GLN"); |
265 |
1 |
aa2Triplet.put("q", "GLN"); |
266 |
1 |
aa2Triplet.put("E", "GLU"); |
267 |
1 |
aa2Triplet.put("e", "GLU"); |
268 |
1 |
aa2Triplet.put("G", "GLY"); |
269 |
1 |
aa2Triplet.put("g", "GLY"); |
270 |
1 |
aa2Triplet.put("H", "HIS"); |
271 |
1 |
aa2Triplet.put("h", "HIS"); |
272 |
1 |
aa2Triplet.put("I", "ILE"); |
273 |
1 |
aa2Triplet.put("i", "ILE"); |
274 |
1 |
aa2Triplet.put("L", "LEU"); |
275 |
1 |
aa2Triplet.put("l", "LEU"); |
276 |
1 |
aa2Triplet.put("K", "LYS"); |
277 |
1 |
aa2Triplet.put("k", "LYS"); |
278 |
1 |
aa2Triplet.put("M", "MET"); |
279 |
1 |
aa2Triplet.put("m", "MET"); |
280 |
1 |
aa2Triplet.put("F", "PHE"); |
281 |
1 |
aa2Triplet.put("f", "PHE"); |
282 |
1 |
aa2Triplet.put("P", "PRO"); |
283 |
1 |
aa2Triplet.put("p", "PRO"); |
284 |
1 |
aa2Triplet.put("S", "SER"); |
285 |
1 |
aa2Triplet.put("s", "SER"); |
286 |
1 |
aa2Triplet.put("T", "THR"); |
287 |
1 |
aa2Triplet.put("t", "THR"); |
288 |
1 |
aa2Triplet.put("W", "TRP"); |
289 |
1 |
aa2Triplet.put("w", "TRP"); |
290 |
1 |
aa2Triplet.put("Y", "TYR"); |
291 |
1 |
aa2Triplet.put("y", "TYR"); |
292 |
1 |
aa2Triplet.put("V", "VAL"); |
293 |
1 |
aa2Triplet.put("v", "VAL"); |
294 |
|
} |
295 |
|
|
296 |
|
public static final String[] aa = { "A", "R", "N", "D", "C", "Q", "E", |
297 |
|
"G", "H", "I", "L", "K", "M", "F", "P", "S", "T", "W", "Y", "V", "B", |
298 |
|
"Z", "X", "_", "*", ".", " ", "U" }; |
299 |
|
|
300 |
|
public static final Color midBlue = new Color(100, 100, 255); |
301 |
|
|
302 |
|
|
303 |
|
|
304 |
|
|
305 |
|
|
306 |
|
|
307 |
|
|
308 |
|
|
309 |
|
|
310 |
|
|
311 |
|
|
312 |
|
|
313 |
|
|
314 |
|
|
315 |
|
|
316 |
|
|
317 |
|
|
318 |
|
public static final Color[] taylor = { new Color(204, 255, 0), |
319 |
|
|
320 |
|
new Color(0, 0, 255), |
321 |
|
new Color(204, 0, 255), |
322 |
|
new Color(255, 0, 0), |
323 |
|
new Color(255, 255, 0), |
324 |
|
new Color(255, 0, 204), |
325 |
|
new Color(255, 0, 102), |
326 |
|
new Color(255, 153, 0), |
327 |
|
new Color(0, 102, 255), |
328 |
|
new Color(102, 255, 0), |
329 |
|
new Color(51, 255, 0), |
330 |
|
new Color(102, 0, 255), |
331 |
|
new Color(0, 255, 0), |
332 |
|
new Color(0, 255, 102), |
333 |
|
new Color(255, 204, 0), |
334 |
|
new Color(255, 51, 0), |
335 |
|
new Color(255, 102, 0), |
336 |
|
new Color(0, 204, 255), |
337 |
|
new Color(0, 255, 204), |
338 |
|
new Color(153, 255, 0), |
339 |
|
Color.white, |
340 |
|
Color.white, |
341 |
|
Color.white, |
342 |
|
Color.white, |
343 |
|
Color.white, |
344 |
|
Color.white |
345 |
|
}; |
346 |
|
|
347 |
|
public static final Color[] nucleotide = { new Color(100, 247, 63), |
348 |
|
new Color(255, 179, 64), |
349 |
|
new Color(235, 65, 60), |
350 |
|
new Color(60, 136, 238), |
351 |
|
new Color(60, 136, 238), |
352 |
|
Color.white, |
353 |
|
Color.white, |
354 |
|
Color.white, |
355 |
|
Color.white, |
356 |
|
Color.white, |
357 |
|
Color.white, |
358 |
|
Color.white, |
359 |
|
Color.white, |
360 |
|
Color.white, |
361 |
|
Color.white, |
362 |
|
Color.white, |
363 |
|
Color.white, |
364 |
|
Color.white, |
365 |
|
Color.white, |
366 |
|
}; |
367 |
|
|
368 |
|
|
369 |
|
public static final Color[] nucleotideAmbiguity = { |
370 |
|
Color.decode("#f0fff0"), |
371 |
|
Color.decode("#f0fff0"), |
372 |
|
Color.decode("#f0fff0"), |
373 |
|
Color.decode("#f0fff0"), |
374 |
|
Color.decode("#f0fff0"), |
375 |
|
Color.decode("#ffffff"), |
376 |
|
Color.decode("#4f6f6f"), |
377 |
|
Color.decode("#CD5C5C"), |
378 |
|
Color.decode("#008000"), |
379 |
|
Color.decode("#4682B4"), |
380 |
|
Color.decode("#FF8C00"), |
381 |
|
Color.decode("#9ACD32"), |
382 |
|
Color.decode("#9932CC"), |
383 |
|
Color.decode("#8b4513"), |
384 |
|
Color.decode("#808080"), |
385 |
|
Color.decode("#483D8B"), |
386 |
|
Color.decode("#b8860b"), |
387 |
|
Color.decode("#2f4f4f"), |
388 |
|
Color.white, |
389 |
|
}; |
390 |
|
|
391 |
|
|
392 |
|
public static final Color[] purinepyrimidine = { new Color(255, 131, 250), |
393 |
|
|
394 |
|
|
395 |
|
|
396 |
|
|
397 |
|
new Color(64, 224, 208), |
398 |
|
Color.white, |
399 |
|
Color.white |
400 |
|
}; |
401 |
|
|
402 |
|
|
403 |
|
public static final Color[] secondarystructure = { Color.red, |
404 |
|
Color.green, |
405 |
|
Color.gray |
406 |
|
}; |
407 |
|
|
408 |
|
|
409 |
|
public static final Color[] zappo = { Color.pink, |
410 |
|
midBlue, |
411 |
|
Color.green, |
412 |
|
Color.red, |
413 |
|
Color.yellow, |
414 |
|
Color.green, |
415 |
|
Color.red, |
416 |
|
Color.magenta, |
417 |
|
midBlue, |
418 |
|
Color.pink, |
419 |
|
Color.pink, |
420 |
|
midBlue, |
421 |
|
Color.pink, |
422 |
|
Color.orange, |
423 |
|
Color.magenta, |
424 |
|
Color.green, |
425 |
|
Color.green, |
426 |
|
Color.orange, |
427 |
|
Color.orange, |
428 |
|
Color.pink, |
429 |
|
Color.white, |
430 |
|
Color.white, |
431 |
|
Color.white, |
432 |
|
Color.white, |
433 |
|
Color.white, |
434 |
|
Color.white, |
435 |
|
Color.white |
436 |
|
}; |
437 |
|
|
438 |
|
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
|
443 |
|
|
444 |
|
|
445 |
|
public static final Color[] flower = { new Color(177, 138, 81), |
446 |
|
new Color(131, 191, 241), |
447 |
|
new Color(11, 206, 198), |
448 |
|
new Color(1, 165, 120), |
449 |
|
new Color(255, 87, 1), |
450 |
|
new Color(114, 149, 174), |
451 |
|
new Color(45, 160, 161), |
452 |
|
new Color(177, 194, 60), |
453 |
|
new Color(1, 148, 249), |
454 |
|
new Color(242, 118, 99), |
455 |
|
new Color(223, 110, 117), |
456 |
|
new Color(127, 195, 215), |
457 |
|
new Color(254, 157, 175), |
458 |
|
new Color(250, 85, 157), |
459 |
|
new Color(79, 163, 42), |
460 |
|
new Color(180, 189, 155), |
461 |
|
new Color(210, 181, 118), |
462 |
|
new Color(255, 45, 237), |
463 |
|
new Color(201, 110, 207), |
464 |
|
new Color(253, 153, 123), |
465 |
|
Color.white, |
466 |
|
Color.white, |
467 |
|
Color.white, |
468 |
|
Color.white, |
469 |
|
Color.white, |
470 |
|
Color.white |
471 |
|
}; |
472 |
|
|
473 |
|
public static final Color[] blossom = { new Color(139, 196, 180), |
474 |
|
new Color(252, 149, 2), |
475 |
|
new Color(181, 194, 6), |
476 |
|
new Color(95, 165, 5), |
477 |
|
new Color(8, 147, 254), |
478 |
|
new Color(191, 133, 39), |
479 |
|
new Color(219, 181, 1), |
480 |
|
new Color(0, 211, 130), |
481 |
|
new Color(255, 87, 1), |
482 |
|
new Color(154, 186, 243), |
483 |
|
new Color(205, 165, 220), |
484 |
|
new Color(254, 165, 39), |
485 |
|
new Color(245, 161, 184), |
486 |
|
new Color(247, 79, 168), |
487 |
|
new Color(16, 214, 49), |
488 |
|
new Color(126, 157, 89), |
489 |
|
new Color(0, 162, 156), |
490 |
|
new Color(254, 8, 251), |
491 |
|
new Color(255, 78, 122), |
492 |
|
new Color(135, 192, 228), |
493 |
|
Color.white, |
494 |
|
Color.white, |
495 |
|
Color.white, |
496 |
|
Color.white, |
497 |
|
Color.white, |
498 |
|
Color.white |
499 |
|
}; |
500 |
|
|
501 |
|
public static final Color[] sunset = { new Color(254, 160, 253), |
502 |
|
new Color(133, 116, 106), |
503 |
|
new Color(171, 200, 245), |
504 |
|
new Color(46, 123, 190), |
505 |
|
new Color(252, 12, 254), |
506 |
|
new Color(140, 110, 129), |
507 |
|
new Color(103, 120, 146), |
508 |
|
new Color(39, 153, 255), |
509 |
|
new Color(219, 197, 142), |
510 |
|
new Color(250, 33, 161), |
511 |
|
new Color(224, 30, 130), |
512 |
|
new Color(222, 190, 204), |
513 |
|
new Color(209, 62, 123), |
514 |
|
new Color(255, 56, 93), |
515 |
|
new Color(87, 102, 249), |
516 |
|
new Color(231, 180, 253), |
517 |
|
new Color(166, 88, 183), |
518 |
|
new Color(255, 55, 1), |
519 |
|
new Color(203, 83, 57), |
520 |
|
new Color(254, 81, 184), |
521 |
|
Color.white, |
522 |
|
Color.white, |
523 |
|
Color.white, |
524 |
|
Color.white, |
525 |
|
Color.white, |
526 |
|
Color.white |
527 |
|
}; |
528 |
|
|
529 |
|
public static final Color[] ocean = { new Color(198, 202, 155), |
530 |
|
new Color(12, 160, 168), |
531 |
|
new Color(10, 223, 195), |
532 |
|
new Color(76, 223, 161), |
533 |
|
new Color(198, 129, 54), |
534 |
|
new Color(139, 211, 209), |
535 |
|
new Color(96, 218, 201), |
536 |
|
new Color(51, 165, 81), |
537 |
|
new Color(0, 207, 254), |
538 |
|
new Color(242, 186, 170), |
539 |
|
new Color(187, 138, 131), |
540 |
|
new Color(64, 160, 144), |
541 |
|
new Color(164, 139, 136), |
542 |
|
new Color(171, 136, 174), |
543 |
|
new Color(175, 211, 101), |
544 |
|
new Color(109, 155, 116), |
545 |
|
new Color(141, 149, 102), |
546 |
|
new Color(117, 138, 238), |
547 |
|
new Color(186, 195, 252), |
548 |
|
new Color(233, 190, 164), |
549 |
|
Color.white, |
550 |
|
Color.white, |
551 |
|
Color.white, |
552 |
|
Color.white, |
553 |
|
Color.white, |
554 |
|
Color.white |
555 |
|
}; |
556 |
|
|
557 |
|
|
558 |
|
public static final double[] hyd2 = { 0.62, |
559 |
|
0.29, |
560 |
|
-0.90, |
561 |
|
-0.74, |
562 |
|
1.19, |
563 |
|
0.48, |
564 |
|
-0.40, |
565 |
|
1.38, |
566 |
|
-1.50, |
567 |
|
1.06, |
568 |
|
0.64, |
569 |
|
-0.78, |
570 |
|
0.12, |
571 |
|
-0.85, |
572 |
|
-2.53, |
573 |
|
-0.18, |
574 |
|
-0.05, |
575 |
|
1.08, |
576 |
|
0.81, |
577 |
|
0.0, |
578 |
|
0.26, |
579 |
|
0.0, |
580 |
|
0.0 |
581 |
|
}; |
582 |
|
|
583 |
|
public static final double[] helix = { 1.42, 0.98, 0.67, 1.01, 0.70, 1.11, |
584 |
|
1.51, 0.57, 1.00, 1.08, 1.21, 1.16, 1.45, 1.13, 0.57, 0.77, 0.83, |
585 |
|
1.08, 0.69, 1.06, 0.84, 1.31, 1.00, 0.0 }; |
586 |
|
|
587 |
|
public static final double helixmin = 0.57; |
588 |
|
|
589 |
|
public static final double helixmax = 1.51; |
590 |
|
|
591 |
|
public static final double[] strand = { 0.83, 0.93, 0.89, 0.54, 1.19, |
592 |
|
1.10, 0.37, 0.75, 0.87, 1.60, 1.30, 0.74, 1.05, 1.38, 0.55, 0.75, |
593 |
|
1.19, 1.37, 1.47, 1.70, 0.72, 0.74, 1.0, 0.0 }; |
594 |
|
|
595 |
|
public static final double strandmin = 0.37; |
596 |
|
|
597 |
|
public static final double strandmax = 1.7; |
598 |
|
|
599 |
|
public static final double[] turn = { 0.66, 0.95, 1.56, 1.46, 1.19, 0.98, |
600 |
|
0.74, 1.56, 0.95, 0.47, 0.59, 1.01, 0.60, 0.60, 1.52, 1.43, 0.96, |
601 |
|
0.96, 1.14, 0.50, 1.51, 0.86, 1.00, 0, 0 }; |
602 |
|
|
603 |
|
public static final double turnmin = 0.47; |
604 |
|
|
605 |
|
public static final double turnmax = 1.56; |
606 |
|
|
607 |
|
public static final double[] buried = { 1.7, 0.1, 0.4, 0.4, 4.6, 0.3, 0.3, |
608 |
|
1.8, 0.8, 3.1, 2.4, 0.05, 1.9, 2.2, 0.6, 0.8, 0.7, 1.6, 0.5, 2.9, 0.4, |
609 |
|
0.3, 1.358, 0.00 }; |
610 |
|
|
611 |
|
public static final double buriedmin = 0.05; |
612 |
|
|
613 |
|
public static final double buriedmax = 4.6; |
614 |
|
|
615 |
|
|
616 |
|
|
617 |
|
|
618 |
|
public static final double[] hyd = { 1.8, -4.5, -3.5, -3.5, 2.5, -3.5, |
619 |
|
-3.5, -0.4, -3.2, 4.5, 3.8, -3.9, 1.9, 2.8, -1.6, -0.8, -0.7, -0.9, |
620 |
|
-1.3, 4.2, -3.5, -3.5, -0.49, 0.0 }; |
621 |
|
|
622 |
|
public static final double hydmax = 4.5; |
623 |
|
|
624 |
|
public static final double hydmin = -3.9; |
625 |
|
|
626 |
|
|
627 |
|
|
628 |
|
|
629 |
|
|
630 |
|
|
631 |
|
|
632 |
|
|
633 |
|
|
634 |
|
|
635 |
|
|
636 |
|
|
637 |
|
|
638 |
|
|
639 |
|
|
640 |
|
|
641 |
|
|
642 |
|
|
643 |
|
|
644 |
|
|
645 |
|
|
646 |
|
|
647 |
|
|
648 |
|
|
649 |
|
|
650 |
|
public static String STOP = "STOP"; |
651 |
|
|
652 |
|
public static List<String> STOP_CODONS = Arrays.asList("TGA", "TAA", |
653 |
|
"TAG"); |
654 |
|
|
655 |
|
public static String START = "ATG"; |
656 |
|
|
657 |
|
|
658 |
|
public static Map<String, Map<String, Integer>> propHash = new Hashtable<>(); |
659 |
|
|
660 |
|
public static Map<String, Integer> hydrophobic = new Hashtable<>(); |
661 |
|
|
662 |
|
public static Map<String, Integer> polar = new Hashtable<>(); |
663 |
|
|
664 |
|
public static Map<String, Integer> small = new Hashtable<>(); |
665 |
|
|
666 |
|
public static Map<String, Integer> positive = new Hashtable<>(); |
667 |
|
|
668 |
|
public static Map<String, Integer> negative = new Hashtable<>(); |
669 |
|
|
670 |
|
public static Map<String, Integer> charged = new Hashtable<>(); |
671 |
|
|
672 |
|
public static Map<String, Integer> aromatic = new Hashtable<>(); |
673 |
|
|
674 |
|
public static Map<String, Integer> aliphatic = new Hashtable<>(); |
675 |
|
|
676 |
|
public static Map<String, Integer> tiny = new Hashtable<>(); |
677 |
|
|
678 |
|
public static Map<String, Integer> proline = new Hashtable<>(); |
679 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (23) |
Complexity: 1 |
Complexity Density: 0.04 |
|
680 |
1 |
static... |
681 |
|
{ |
682 |
1 |
hydrophobic.put("I", ONE); |
683 |
1 |
hydrophobic.put("L", ONE); |
684 |
1 |
hydrophobic.put("V", ONE); |
685 |
1 |
hydrophobic.put("C", ONE); |
686 |
1 |
hydrophobic.put("A", ONE); |
687 |
1 |
hydrophobic.put("G", ONE); |
688 |
1 |
hydrophobic.put("M", ONE); |
689 |
1 |
hydrophobic.put("F", ONE); |
690 |
1 |
hydrophobic.put("Y", ONE); |
691 |
1 |
hydrophobic.put("W", ONE); |
692 |
1 |
hydrophobic.put("H", ONE); |
693 |
1 |
hydrophobic.put("K", ONE); |
694 |
1 |
hydrophobic.put("X", ONE); |
695 |
1 |
hydrophobic.put("-", ONE); |
696 |
1 |
hydrophobic.put("*", ONE); |
697 |
1 |
hydrophobic.put("R", ZERO); |
698 |
1 |
hydrophobic.put("E", ZERO); |
699 |
1 |
hydrophobic.put("Q", ZERO); |
700 |
1 |
hydrophobic.put("D", ZERO); |
701 |
1 |
hydrophobic.put("N", ZERO); |
702 |
1 |
hydrophobic.put("S", ZERO); |
703 |
1 |
hydrophobic.put("T", ONE); |
704 |
1 |
hydrophobic.put("P", ZERO); |
705 |
|
} |
706 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (23) |
Complexity: 1 |
Complexity Density: 0.04 |
|
707 |
1 |
static... |
708 |
|
{ |
709 |
1 |
polar.put("Y", ONE); |
710 |
1 |
polar.put("W", ONE); |
711 |
1 |
polar.put("H", ONE); |
712 |
1 |
polar.put("K", ONE); |
713 |
1 |
polar.put("R", ONE); |
714 |
1 |
polar.put("E", ONE); |
715 |
1 |
polar.put("Q", ONE); |
716 |
1 |
polar.put("D", ONE); |
717 |
1 |
polar.put("N", ONE); |
718 |
1 |
polar.put("S", ONE); |
719 |
1 |
polar.put("T", ONE); |
720 |
1 |
polar.put("X", ONE); |
721 |
1 |
polar.put("-", ONE); |
722 |
1 |
polar.put("*", ONE); |
723 |
1 |
polar.put("I", ZERO); |
724 |
1 |
polar.put("L", ZERO); |
725 |
1 |
polar.put("V", ZERO); |
726 |
1 |
polar.put("C", ZERO); |
727 |
1 |
polar.put("A", ZERO); |
728 |
1 |
polar.put("G", ZERO); |
729 |
1 |
polar.put("M", ZERO); |
730 |
1 |
polar.put("F", ZERO); |
731 |
1 |
polar.put("P", ZERO); |
732 |
|
} |
733 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
734 |
1 |
static... |
735 |
|
{ |
736 |
1 |
small.put("I", ZERO); |
737 |
1 |
small.put("L", ZERO); |
738 |
1 |
small.put("V", ONE); |
739 |
1 |
small.put("C", ONE); |
740 |
1 |
small.put("A", ONE); |
741 |
1 |
small.put("G", ONE); |
742 |
1 |
small.put("M", ZERO); |
743 |
1 |
small.put("F", ZERO); |
744 |
1 |
small.put("Y", ZERO); |
745 |
1 |
small.put("W", ZERO); |
746 |
1 |
small.put("H", ZERO); |
747 |
1 |
small.put("K", ZERO); |
748 |
1 |
small.put("R", ZERO); |
749 |
1 |
small.put("E", ZERO); |
750 |
1 |
small.put("Q", ZERO); |
751 |
1 |
small.put("D", ONE); |
752 |
1 |
small.put("N", ONE); |
753 |
1 |
small.put("S", ONE); |
754 |
1 |
small.put("T", ONE); |
755 |
1 |
small.put("P", ONE); |
756 |
1 |
small.put("-", ONE); |
757 |
1 |
small.put("*", ONE); |
758 |
|
} |
759 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
760 |
1 |
static... |
761 |
|
{ |
762 |
1 |
positive.put("I", ZERO); |
763 |
1 |
positive.put("L", ZERO); |
764 |
1 |
positive.put("V", ZERO); |
765 |
1 |
positive.put("C", ZERO); |
766 |
1 |
positive.put("A", ZERO); |
767 |
1 |
positive.put("G", ZERO); |
768 |
1 |
positive.put("M", ZERO); |
769 |
1 |
positive.put("F", ZERO); |
770 |
1 |
positive.put("Y", ZERO); |
771 |
1 |
positive.put("W", ZERO); |
772 |
1 |
positive.put("H", ONE); |
773 |
1 |
positive.put("K", ONE); |
774 |
1 |
positive.put("R", ONE); |
775 |
1 |
positive.put("E", ZERO); |
776 |
1 |
positive.put("Q", ZERO); |
777 |
1 |
positive.put("D", ZERO); |
778 |
1 |
positive.put("N", ZERO); |
779 |
1 |
positive.put("S", ZERO); |
780 |
1 |
positive.put("T", ZERO); |
781 |
1 |
positive.put("P", ZERO); |
782 |
1 |
positive.put("-", ONE); |
783 |
1 |
positive.put("*", ONE); |
784 |
|
} |
785 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
786 |
1 |
static... |
787 |
|
{ |
788 |
1 |
negative.put("I", ZERO); |
789 |
1 |
negative.put("L", ZERO); |
790 |
1 |
negative.put("V", ZERO); |
791 |
1 |
negative.put("C", ZERO); |
792 |
1 |
negative.put("A", ZERO); |
793 |
1 |
negative.put("G", ZERO); |
794 |
1 |
negative.put("M", ZERO); |
795 |
1 |
negative.put("F", ZERO); |
796 |
1 |
negative.put("Y", ZERO); |
797 |
1 |
negative.put("W", ZERO); |
798 |
1 |
negative.put("H", ZERO); |
799 |
1 |
negative.put("K", ZERO); |
800 |
1 |
negative.put("R", ZERO); |
801 |
1 |
negative.put("E", ONE); |
802 |
1 |
negative.put("Q", ZERO); |
803 |
1 |
negative.put("D", ONE); |
804 |
1 |
negative.put("N", ZERO); |
805 |
1 |
negative.put("S", ZERO); |
806 |
1 |
negative.put("T", ZERO); |
807 |
1 |
negative.put("P", ZERO); |
808 |
1 |
negative.put("-", ONE); |
809 |
1 |
negative.put("*", ONE); |
810 |
|
} |
811 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
812 |
1 |
static... |
813 |
|
{ |
814 |
1 |
charged.put("I", ZERO); |
815 |
1 |
charged.put("L", ZERO); |
816 |
1 |
charged.put("V", ZERO); |
817 |
1 |
charged.put("C", ZERO); |
818 |
1 |
charged.put("A", ZERO); |
819 |
1 |
charged.put("G", ZERO); |
820 |
1 |
charged.put("M", ZERO); |
821 |
1 |
charged.put("F", ZERO); |
822 |
1 |
charged.put("Y", ZERO); |
823 |
1 |
charged.put("W", ZERO); |
824 |
1 |
charged.put("H", ONE); |
825 |
1 |
charged.put("K", ONE); |
826 |
1 |
charged.put("R", ONE); |
827 |
1 |
charged.put("E", ONE); |
828 |
1 |
charged.put("Q", ZERO); |
829 |
1 |
charged.put("D", ONE); |
830 |
1 |
charged.put("N", ZERO); |
831 |
|
|
832 |
|
|
833 |
|
|
834 |
1 |
charged.put("S", ZERO); |
835 |
1 |
charged.put("T", ZERO); |
836 |
1 |
charged.put("P", ZERO); |
837 |
1 |
charged.put("-", ONE); |
838 |
1 |
charged.put("*", ONE); |
839 |
|
} |
840 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
841 |
1 |
static... |
842 |
|
{ |
843 |
1 |
aromatic.put("I", ZERO); |
844 |
1 |
aromatic.put("L", ZERO); |
845 |
1 |
aromatic.put("V", ZERO); |
846 |
1 |
aromatic.put("C", ZERO); |
847 |
1 |
aromatic.put("A", ZERO); |
848 |
1 |
aromatic.put("G", ZERO); |
849 |
1 |
aromatic.put("M", ZERO); |
850 |
1 |
aromatic.put("F", ONE); |
851 |
1 |
aromatic.put("Y", ONE); |
852 |
1 |
aromatic.put("W", ONE); |
853 |
1 |
aromatic.put("H", ONE); |
854 |
1 |
aromatic.put("K", ZERO); |
855 |
1 |
aromatic.put("R", ZERO); |
856 |
1 |
aromatic.put("E", ZERO); |
857 |
1 |
aromatic.put("Q", ZERO); |
858 |
1 |
aromatic.put("D", ZERO); |
859 |
1 |
aromatic.put("N", ZERO); |
860 |
1 |
aromatic.put("S", ZERO); |
861 |
1 |
aromatic.put("T", ZERO); |
862 |
1 |
aromatic.put("P", ZERO); |
863 |
1 |
aromatic.put("-", ONE); |
864 |
1 |
aromatic.put("*", ONE); |
865 |
|
} |
866 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
867 |
1 |
static... |
868 |
|
{ |
869 |
1 |
aliphatic.put("I", ONE); |
870 |
1 |
aliphatic.put("L", ONE); |
871 |
1 |
aliphatic.put("V", ONE); |
872 |
1 |
aliphatic.put("C", ZERO); |
873 |
1 |
aliphatic.put("A", ZERO); |
874 |
1 |
aliphatic.put("G", ZERO); |
875 |
1 |
aliphatic.put("M", ZERO); |
876 |
1 |
aliphatic.put("F", ZERO); |
877 |
1 |
aliphatic.put("Y", ZERO); |
878 |
1 |
aliphatic.put("W", ZERO); |
879 |
1 |
aliphatic.put("H", ZERO); |
880 |
1 |
aliphatic.put("K", ZERO); |
881 |
1 |
aliphatic.put("R", ZERO); |
882 |
1 |
aliphatic.put("E", ZERO); |
883 |
1 |
aliphatic.put("Q", ZERO); |
884 |
1 |
aliphatic.put("D", ZERO); |
885 |
1 |
aliphatic.put("N", ZERO); |
886 |
1 |
aliphatic.put("S", ZERO); |
887 |
1 |
aliphatic.put("T", ZERO); |
888 |
1 |
aliphatic.put("P", ZERO); |
889 |
1 |
aliphatic.put("-", ONE); |
890 |
1 |
aliphatic.put("*", ONE); |
891 |
|
} |
892 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
893 |
1 |
static... |
894 |
|
{ |
895 |
1 |
tiny.put("I", ZERO); |
896 |
1 |
tiny.put("L", ZERO); |
897 |
1 |
tiny.put("V", ZERO); |
898 |
1 |
tiny.put("C", ZERO); |
899 |
1 |
tiny.put("A", ONE); |
900 |
1 |
tiny.put("G", ONE); |
901 |
1 |
tiny.put("M", ZERO); |
902 |
1 |
tiny.put("F", ZERO); |
903 |
1 |
tiny.put("Y", ZERO); |
904 |
1 |
tiny.put("W", ZERO); |
905 |
1 |
tiny.put("H", ZERO); |
906 |
1 |
tiny.put("K", ZERO); |
907 |
1 |
tiny.put("R", ZERO); |
908 |
1 |
tiny.put("E", ZERO); |
909 |
1 |
tiny.put("Q", ZERO); |
910 |
1 |
tiny.put("D", ZERO); |
911 |
1 |
tiny.put("N", ZERO); |
912 |
1 |
tiny.put("S", ONE); |
913 |
1 |
tiny.put("T", ZERO); |
914 |
1 |
tiny.put("P", ZERO); |
915 |
1 |
tiny.put("-", ONE); |
916 |
1 |
tiny.put("*", ONE); |
917 |
|
} |
918 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (22) |
Complexity: 1 |
Complexity Density: 0.05 |
|
919 |
1 |
static... |
920 |
|
{ |
921 |
1 |
proline.put("I", ZERO); |
922 |
1 |
proline.put("L", ZERO); |
923 |
1 |
proline.put("V", ZERO); |
924 |
1 |
proline.put("C", ZERO); |
925 |
1 |
proline.put("A", ZERO); |
926 |
1 |
proline.put("G", ZERO); |
927 |
1 |
proline.put("M", ZERO); |
928 |
1 |
proline.put("F", ZERO); |
929 |
1 |
proline.put("Y", ZERO); |
930 |
1 |
proline.put("W", ZERO); |
931 |
1 |
proline.put("H", ZERO); |
932 |
1 |
proline.put("K", ZERO); |
933 |
1 |
proline.put("R", ZERO); |
934 |
1 |
proline.put("E", ZERO); |
935 |
1 |
proline.put("Q", ZERO); |
936 |
1 |
proline.put("D", ZERO); |
937 |
1 |
proline.put("N", ZERO); |
938 |
1 |
proline.put("S", ZERO); |
939 |
1 |
proline.put("T", ZERO); |
940 |
1 |
proline.put("P", ONE); |
941 |
1 |
proline.put("-", ONE); |
942 |
1 |
proline.put("*", ONE); |
943 |
|
} |
944 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (10) |
Complexity: 1 |
Complexity Density: 0.1 |
|
945 |
1 |
static... |
946 |
|
{ |
947 |
1 |
propHash.put("hydrophobic", hydrophobic); |
948 |
1 |
propHash.put("small", small); |
949 |
1 |
propHash.put("positive", positive); |
950 |
1 |
propHash.put("negative", negative); |
951 |
1 |
propHash.put("charged", charged); |
952 |
1 |
propHash.put("aromatic", aromatic); |
953 |
1 |
propHash.put("aliphatic", aliphatic); |
954 |
1 |
propHash.put("tiny", tiny); |
955 |
1 |
propHash.put("proline", proline); |
956 |
1 |
propHash.put("polar", polar); |
957 |
|
} |
|
|
| 93.5% |
Uncovered Elements: 4 (62) |
Complexity: 18 |
Complexity Density: 0.53 |
|
958 |
1 |
static... |
959 |
|
{ |
960 |
1 |
int[][] propMatrixF = new int[maxProteinIndex][maxProteinIndex], |
961 |
|
propMatrixPos = new int[maxProteinIndex][maxProteinIndex], |
962 |
|
propMatrixEpos = new int[maxProteinIndex][maxProteinIndex]; |
963 |
24 |
for (int i = 0; i < maxProteinIndex; i++) |
964 |
|
{ |
965 |
23 |
int maxF = 0, maxP = 0, maxEP = 0; |
966 |
23 |
String ic = ""; |
967 |
23 |
if (aa.length > i) |
968 |
|
{ |
969 |
23 |
ic += aa[i]; |
970 |
|
} |
971 |
|
else |
972 |
|
{ |
973 |
0 |
ic = "-"; |
974 |
|
} |
975 |
276 |
for (int j = i + 1; j < maxProteinIndex; j++) |
976 |
|
{ |
977 |
253 |
String jc = ""; |
978 |
253 |
if (aa.length > j) |
979 |
|
{ |
980 |
253 |
jc += aa[j]; |
981 |
|
} |
982 |
|
else |
983 |
|
{ |
984 |
0 |
jc = "-"; |
985 |
|
} |
986 |
253 |
propMatrixF[i][j] = 0; |
987 |
253 |
propMatrixPos[i][j] = 0; |
988 |
253 |
propMatrixEpos[i][j] = 0; |
989 |
253 |
for (String ph : propHash.keySet()) |
990 |
|
{ |
991 |
2530 |
Map<String, Integer> pph = propHash.get(ph); |
992 |
2530 |
if (pph.get(ic) != null && pph.get(jc) != null) |
993 |
|
{ |
994 |
1940 |
int icp = pph.get(ic).intValue(), jcp = pph.get(jc).intValue(); |
995 |
|
|
996 |
1940 |
propMatrixPos[i][j] += icp == jcp && icp > 0 ? 2 : 0; |
997 |
1940 |
propMatrixPos[j][i] += icp == jcp && icp > 0 ? 2 : 0; |
998 |
1940 |
propMatrixF[i][j] += icp == jcp ? 2 : 0; |
999 |
1940 |
propMatrixF[j][i] += icp == jcp ? 2 : 0; |
1000 |
1940 |
propMatrixEpos[i][j] += icp == jcp ? (1 + icp * 2) : 0; |
1001 |
1940 |
propMatrixEpos[j][i] += icp == jcp ? (1 + icp * 2) : 0; |
1002 |
|
} |
1003 |
|
} |
1004 |
253 |
if (maxF < propMatrixF[i][j]) |
1005 |
|
{ |
1006 |
37 |
maxF = propMatrixF[i][j]; |
1007 |
|
} |
1008 |
253 |
if (maxP < propMatrixPos[i][j]) |
1009 |
|
{ |
1010 |
31 |
maxP = propMatrixPos[i][j]; |
1011 |
|
} |
1012 |
253 |
if (maxEP < propMatrixEpos[i][j]) |
1013 |
|
{ |
1014 |
42 |
maxEP = propMatrixEpos[i][j]; |
1015 |
|
} |
1016 |
|
} |
1017 |
23 |
propMatrixF[i][i] = maxF; |
1018 |
23 |
propMatrixPos[i][i] = maxP; |
1019 |
23 |
propMatrixEpos[i][i] = maxEP; |
1020 |
|
} |
1021 |
|
} |
1022 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
1023 |
0 |
private ResidueProperties()... |
1024 |
|
{ |
1025 |
|
} |
1026 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1027 |
0 |
public static double getHydmax()... |
1028 |
|
{ |
1029 |
0 |
return hydmax; |
1030 |
|
} |
1031 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1032 |
0 |
public static double getHydmin()... |
1033 |
|
{ |
1034 |
0 |
return hydmin; |
1035 |
|
} |
1036 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1037 |
0 |
public static double[] getHyd()... |
1038 |
|
{ |
1039 |
0 |
return hyd; |
1040 |
|
} |
1041 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1042 |
25862 |
public static Map<String, Integer> getAA3Hash()... |
1043 |
|
{ |
1044 |
25862 |
return aa3Hash; |
1045 |
|
} |
1046 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1047 |
149 |
public static String codonTranslate(String lccodon)... |
1048 |
|
{ |
1049 |
149 |
String peptide = GeneticCodes.getInstance().getStandardCodeTable() |
1050 |
|
.translate(lccodon); |
1051 |
149 |
if ("*".equals(peptide)) |
1052 |
|
{ |
1053 |
14 |
return "STOP"; |
1054 |
|
} |
1055 |
135 |
return peptide; |
1056 |
|
} |
1057 |
|
|
1058 |
|
|
1059 |
|
|
1060 |
|
|
1061 |
|
|
1062 |
|
private static char[] toDssp3State; |
|
|
| 100% |
Uncovered Elements: 0 (7) |
Complexity: 1 |
Complexity Density: 0.14 |
|
1063 |
1 |
static... |
1064 |
|
{ |
1065 |
1 |
toDssp3State = new char[9]; |
1066 |
1 |
Arrays.fill(toDssp3State, ' '); |
1067 |
1 |
toDssp3State['B' - 'A'] = 'E'; |
1068 |
1 |
toDssp3State['E' - 'A'] = 'E'; |
1069 |
1 |
toDssp3State['G' - 'A'] = 'H'; |
1070 |
1 |
toDssp3State['H' - 'A'] = 'H'; |
1071 |
1 |
toDssp3State['I' - 'A'] = 'H'; |
1072 |
|
} |
1073 |
|
|
1074 |
|
|
1075 |
|
|
1076 |
|
|
1077 |
|
@param |
1078 |
|
@return |
1079 |
|
|
|
|
| 88.9% |
Uncovered Elements: 2 (18) |
Complexity: 5 |
Complexity Density: 0.42 |
|
1080 |
13676 |
public static String getDssp3state(String ssString)... |
1081 |
|
{ |
1082 |
13676 |
if (ssString == null) |
1083 |
|
{ |
1084 |
0 |
return null; |
1085 |
|
} |
1086 |
13676 |
int lookupSize = toDssp3State.length; |
1087 |
13676 |
int len = ssString.length(); |
1088 |
13676 |
char[] trans = new char[len]; |
1089 |
27352 |
for (int i = 0; i < len; i++) |
1090 |
|
{ |
1091 |
13676 |
char c = ssString.charAt(i); |
1092 |
13676 |
int index = c - 'A'; |
1093 |
13676 |
if (index < 0 || index >= lookupSize) |
1094 |
|
{ |
1095 |
12362 |
trans[i] = ' '; |
1096 |
|
} |
1097 |
|
else |
1098 |
|
{ |
1099 |
1314 |
trans[i] = toDssp3State[index]; |
1100 |
|
} |
1101 |
|
} |
1102 |
13676 |
return new String(trans); |
1103 |
|
} |
1104 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1,300) |
Complexity: 1 |
Complexity Density: 0 |
|
1105 |
1 |
static... |
1106 |
|
{ |
1107 |
1 |
modifications.put("MSE", "MET"); |
1108 |
|
|
1109 |
|
|
1110 |
|
|
1111 |
|
|
1112 |
|
|
1113 |
|
|
1114 |
|
|
1115 |
|
|
1116 |
|
|
1117 |
|
|
1118 |
|
|
1119 |
|
|
1120 |
|
|
1121 |
1 |
modifications.put("00C", "CYS"); |
1122 |
1 |
modifications.put("01W", "XAA"); |
1123 |
1 |
modifications.put("02K", "ALA"); |
1124 |
1 |
modifications.put("03Y", "CYS"); |
1125 |
1 |
modifications.put("07O", "CYS"); |
1126 |
1 |
modifications.put("08P", "CYS"); |
1127 |
1 |
modifications.put("0A0", "ASP"); |
1128 |
1 |
modifications.put("0A1", "TYR"); |
1129 |
1 |
modifications.put("0A2", "LYS"); |
1130 |
1 |
modifications.put("0A8", "CYS"); |
1131 |
1 |
modifications.put("0AA", "VAL"); |
1132 |
1 |
modifications.put("0AB", "VAL"); |
1133 |
1 |
modifications.put("0AC", "GLY"); |
1134 |
1 |
modifications.put("0AD", "GLY"); |
1135 |
1 |
modifications.put("0AF", "TRP"); |
1136 |
1 |
modifications.put("0AG", "LEU"); |
1137 |
1 |
modifications.put("0AH", "SER"); |
1138 |
1 |
modifications.put("0AK", "ASP"); |
1139 |
1 |
modifications.put("0AM", "ALA"); |
1140 |
1 |
modifications.put("0AP", "CYS"); |
1141 |
1 |
modifications.put("0AU", "UR3"); |
1142 |
1 |
modifications.put("0AV", "ALA"); |
1143 |
1 |
modifications.put("0AZ", "PRO"); |
1144 |
1 |
modifications.put("0BN", "PHE"); |
1145 |
1 |
modifications.put("0C ", "CYS"); |
1146 |
1 |
modifications.put("0CS", "ALA"); |
1147 |
1 |
modifications.put("0DC", "CYS"); |
1148 |
1 |
modifications.put("0DG", "GLY"); |
1149 |
1 |
modifications.put("0DT", "THR"); |
1150 |
1 |
modifications.put("0FL", "ALA"); |
1151 |
1 |
modifications.put("0G ", "GLY"); |
1152 |
1 |
modifications.put("0NC", "ALA"); |
1153 |
1 |
modifications.put("0SP", "ALA"); |
1154 |
1 |
modifications.put("0U ", "UR3"); |
1155 |
1 |
modifications.put("0YG", "YG"); |
1156 |
1 |
modifications.put("10C", "CYS"); |
1157 |
1 |
modifications.put("125", "UR3"); |
1158 |
1 |
modifications.put("126", "UR3"); |
1159 |
1 |
modifications.put("127", "UR3"); |
1160 |
1 |
modifications.put("128", "ASN"); |
1161 |
1 |
modifications.put("12A", "ALA"); |
1162 |
1 |
modifications.put("143", "CYS"); |
1163 |
1 |
modifications.put("175", "ASG"); |
1164 |
1 |
modifications.put("193", "XAA"); |
1165 |
1 |
modifications.put("1AP", "ALA"); |
1166 |
1 |
modifications.put("1MA", "ALA"); |
1167 |
1 |
modifications.put("1MG", "GLY"); |
1168 |
1 |
modifications.put("1PA", "PHE"); |
1169 |
1 |
modifications.put("1PI", "ALA"); |
1170 |
1 |
modifications.put("1PR", "ASN"); |
1171 |
1 |
modifications.put("1SC", "CYS"); |
1172 |
1 |
modifications.put("1TQ", "TRP"); |
1173 |
1 |
modifications.put("1TY", "TYR"); |
1174 |
1 |
modifications.put("1X6", "SER"); |
1175 |
1 |
modifications.put("200", "PHE"); |
1176 |
1 |
modifications.put("23F", "PHE"); |
1177 |
1 |
modifications.put("23S", "XAA"); |
1178 |
1 |
modifications.put("26B", "THR"); |
1179 |
1 |
modifications.put("2AD", "XAA"); |
1180 |
1 |
modifications.put("2AG", "ALA"); |
1181 |
1 |
modifications.put("2AO", "XAA"); |
1182 |
1 |
modifications.put("2AR", "ALA"); |
1183 |
1 |
modifications.put("2AS", "XAA"); |
1184 |
1 |
modifications.put("2AT", "THR"); |
1185 |
1 |
modifications.put("2AU", "UR3"); |
1186 |
1 |
modifications.put("2BD", "ILE"); |
1187 |
1 |
modifications.put("2BT", "THR"); |
1188 |
1 |
modifications.put("2BU", "ALA"); |
1189 |
1 |
modifications.put("2CO", "CYS"); |
1190 |
1 |
modifications.put("2DA", "ALA"); |
1191 |
1 |
modifications.put("2DF", "ASN"); |
1192 |
1 |
modifications.put("2DM", "ASN"); |
1193 |
1 |
modifications.put("2DO", "XAA"); |
1194 |
1 |
modifications.put("2DT", "THR"); |
1195 |
1 |
modifications.put("2EG", "GLY"); |
1196 |
1 |
modifications.put("2FE", "ASN"); |
1197 |
1 |
modifications.put("2FI", "ASN"); |
1198 |
1 |
modifications.put("2FM", "MET"); |
1199 |
1 |
modifications.put("2GT", "THR"); |
1200 |
1 |
modifications.put("2HF", "HIS"); |
1201 |
1 |
modifications.put("2LU", "LEU"); |
1202 |
1 |
modifications.put("2MA", "ALA"); |
1203 |
1 |
modifications.put("2MG", "GLY"); |
1204 |
1 |
modifications.put("2ML", "LEU"); |
1205 |
1 |
modifications.put("2MR", "ARG"); |
1206 |
1 |
modifications.put("2MT", "PRO"); |
1207 |
1 |
modifications.put("2MU", "UR3"); |
1208 |
1 |
modifications.put("2NT", "THR"); |
1209 |
1 |
modifications.put("2OM", "UR3"); |
1210 |
1 |
modifications.put("2OT", "THR"); |
1211 |
1 |
modifications.put("2PI", "XAA"); |
1212 |
1 |
modifications.put("2PR", "GLY"); |
1213 |
1 |
modifications.put("2SA", "ASN"); |
1214 |
1 |
modifications.put("2SI", "XAA"); |
1215 |
1 |
modifications.put("2ST", "THR"); |
1216 |
1 |
modifications.put("2TL", "THR"); |
1217 |
1 |
modifications.put("2TY", "TYR"); |
1218 |
1 |
modifications.put("2VA", "VAL"); |
1219 |
1 |
modifications.put("2XA", "CYS"); |
1220 |
1 |
modifications.put("32S", "XAA"); |
1221 |
1 |
modifications.put("32T", "XAA"); |
1222 |
1 |
modifications.put("3AH", "HIS"); |
1223 |
1 |
modifications.put("3AR", "XAA"); |
1224 |
1 |
modifications.put("3CF", "PHE"); |
1225 |
1 |
modifications.put("3DA", "ALA"); |
1226 |
1 |
modifications.put("3DR", "ASN"); |
1227 |
1 |
modifications.put("3GA", "ALA"); |
1228 |
1 |
modifications.put("3MD", "ASP"); |
1229 |
1 |
modifications.put("3ME", "UR3"); |
1230 |
1 |
modifications.put("3NF", "TYR"); |
1231 |
1 |
modifications.put("3QN", "LYS"); |
1232 |
1 |
modifications.put("3TY", "XAA"); |
1233 |
1 |
modifications.put("3XH", "GLY"); |
1234 |
1 |
modifications.put("4AC", "ASN"); |
1235 |
1 |
modifications.put("4BF", "TYR"); |
1236 |
1 |
modifications.put("4CF", "PHE"); |
1237 |
1 |
modifications.put("4CY", "MET"); |
1238 |
1 |
modifications.put("4DP", "TRP"); |
1239 |
1 |
modifications.put("4F3", "GYG"); |
1240 |
1 |
modifications.put("4FB", "PRO"); |
1241 |
1 |
modifications.put("4FW", "TRP"); |
1242 |
1 |
modifications.put("4HT", "TRP"); |
1243 |
1 |
modifications.put("4IN", "TRP"); |
1244 |
1 |
modifications.put("4MF", "ASN"); |
1245 |
1 |
modifications.put("4MM", "XAA"); |
1246 |
1 |
modifications.put("4OC", "CYS"); |
1247 |
1 |
modifications.put("4PC", "CYS"); |
1248 |
1 |
modifications.put("4PD", "CYS"); |
1249 |
1 |
modifications.put("4PE", "CYS"); |
1250 |
1 |
modifications.put("4PH", "PHE"); |
1251 |
1 |
modifications.put("4SC", "CYS"); |
1252 |
1 |
modifications.put("4SU", "UR3"); |
1253 |
1 |
modifications.put("4TA", "ASN"); |
1254 |
1 |
modifications.put("4U7", "ALA"); |
1255 |
1 |
modifications.put("56A", "HIS"); |
1256 |
1 |
modifications.put("5AA", "ALA"); |
1257 |
1 |
modifications.put("5AB", "ALA"); |
1258 |
1 |
modifications.put("5AT", "THR"); |
1259 |
1 |
modifications.put("5BU", "UR3"); |
1260 |
1 |
modifications.put("5CG", "GLY"); |
1261 |
1 |
modifications.put("5CM", "CYS"); |
1262 |
1 |
modifications.put("5CS", "CYS"); |
1263 |
1 |
modifications.put("5FA", "ALA"); |
1264 |
1 |
modifications.put("5FC", "CYS"); |
1265 |
1 |
modifications.put("5FU", "UR3"); |
1266 |
1 |
modifications.put("5HP", "GLU"); |
1267 |
1 |
modifications.put("5HT", "THR"); |
1268 |
1 |
modifications.put("5HU", "UR3"); |
1269 |
1 |
modifications.put("5IC", "CYS"); |
1270 |
1 |
modifications.put("5IT", "THR"); |
1271 |
1 |
modifications.put("5IU", "UR3"); |
1272 |
1 |
modifications.put("5MC", "CYS"); |
1273 |
1 |
modifications.put("5MD", "ASN"); |
1274 |
1 |
modifications.put("5MU", "UR3"); |
1275 |
1 |
modifications.put("5NC", "CYS"); |
1276 |
1 |
modifications.put("5PC", "CYS"); |
1277 |
1 |
modifications.put("5PY", "THR"); |
1278 |
1 |
modifications.put("5SE", "UR3"); |
1279 |
1 |
modifications.put("5ZA", "TWG"); |
1280 |
1 |
modifications.put("64T", "THR"); |
1281 |
1 |
modifications.put("6CL", "LYS"); |
1282 |
1 |
modifications.put("6CT", "THR"); |
1283 |
1 |
modifications.put("6CW", "TRP"); |
1284 |
1 |
modifications.put("6HA", "ALA"); |
1285 |
1 |
modifications.put("6HC", "CYS"); |
1286 |
1 |
modifications.put("6HG", "GLY"); |
1287 |
1 |
modifications.put("6HN", "LYS"); |
1288 |
1 |
modifications.put("6HT", "THR"); |
1289 |
1 |
modifications.put("6IA", "ALA"); |
1290 |
1 |
modifications.put("6MA", "ALA"); |
1291 |
1 |
modifications.put("6MC", "ALA"); |
1292 |
1 |
modifications.put("6MI", "ASN"); |
1293 |
1 |
modifications.put("6MT", "ALA"); |
1294 |
1 |
modifications.put("6MZ", "ASN"); |
1295 |
1 |
modifications.put("6OG", "GLY"); |
1296 |
1 |
modifications.put("70U", "UR3"); |
1297 |
1 |
modifications.put("7DA", "ALA"); |
1298 |
1 |
modifications.put("7GU", "GLY"); |
1299 |
1 |
modifications.put("7JA", "ILE"); |
1300 |
1 |
modifications.put("7MG", "GLY"); |
1301 |
1 |
modifications.put("8AN", "ALA"); |
1302 |
1 |
modifications.put("8FG", "GLY"); |
1303 |
1 |
modifications.put("8MG", "GLY"); |
1304 |
1 |
modifications.put("8OG", "GLY"); |
1305 |
1 |
modifications.put("9NE", "GLU"); |
1306 |
1 |
modifications.put("9NF", "PHE"); |
1307 |
1 |
modifications.put("9NR", "ARG"); |
1308 |
1 |
modifications.put("9NV", "VAL"); |
1309 |
1 |
modifications.put("A ", "ALA"); |
1310 |
1 |
modifications.put("A1P", "ASN"); |
1311 |
1 |
modifications.put("A23", "ALA"); |
1312 |
1 |
modifications.put("A2L", "ALA"); |
1313 |
1 |
modifications.put("A2M", "ALA"); |
1314 |
1 |
modifications.put("A34", "ALA"); |
1315 |
1 |
modifications.put("A35", "ALA"); |
1316 |
1 |
modifications.put("A38", "ALA"); |
1317 |
1 |
modifications.put("A39", "ALA"); |
1318 |
1 |
modifications.put("A3A", "ALA"); |
1319 |
1 |
modifications.put("A3P", "ALA"); |
1320 |
1 |
modifications.put("A40", "ALA"); |
1321 |
1 |
modifications.put("A43", "ALA"); |
1322 |
1 |
modifications.put("A44", "ALA"); |
1323 |
1 |
modifications.put("A47", "ALA"); |
1324 |
1 |
modifications.put("A5L", "ALA"); |
1325 |
1 |
modifications.put("A5M", "CYS"); |
1326 |
1 |
modifications.put("A5N", "ASN"); |
1327 |
1 |
modifications.put("A5O", "ALA"); |
1328 |
1 |
modifications.put("A66", "XAA"); |
1329 |
1 |
modifications.put("AA3", "ALA"); |
1330 |
1 |
modifications.put("AA4", "ALA"); |
1331 |
1 |
modifications.put("AAR", "ARG"); |
1332 |
1 |
modifications.put("AB7", "XAA"); |
1333 |
1 |
modifications.put("ABA", "ALA"); |
1334 |
1 |
modifications.put("ABR", "ALA"); |
1335 |
1 |
modifications.put("ABS", "ALA"); |
1336 |
1 |
modifications.put("ABT", "ASN"); |
1337 |
1 |
modifications.put("ACB", "ASP"); |
1338 |
1 |
modifications.put("ACL", "ARG"); |
1339 |
1 |
modifications.put("AD2", "ALA"); |
1340 |
1 |
modifications.put("ADD", "XAA"); |
1341 |
1 |
modifications.put("ADX", "ASN"); |
1342 |
1 |
modifications.put("AEA", "XAA"); |
1343 |
1 |
modifications.put("AEI", "ASP"); |
1344 |
1 |
modifications.put("AET", "ALA"); |
1345 |
1 |
modifications.put("AFA", "ASN"); |
1346 |
1 |
modifications.put("AFF", "ASN"); |
1347 |
1 |
modifications.put("AFG", "GLY"); |
1348 |
1 |
modifications.put("AGM", "ARG"); |
1349 |
1 |
modifications.put("AGT", "CYS"); |
1350 |
1 |
modifications.put("AHB", "ASN"); |
1351 |
1 |
modifications.put("AHH", "XAA"); |
1352 |
1 |
modifications.put("AHO", "ALA"); |
1353 |
1 |
modifications.put("AHP", "ALA"); |
1354 |
1 |
modifications.put("AHS", "XAA"); |
1355 |
1 |
modifications.put("AHT", "XAA"); |
1356 |
1 |
modifications.put("AIB", "ALA"); |
1357 |
1 |
modifications.put("AKL", "ASP"); |
1358 |
1 |
modifications.put("AKZ", "ASP"); |
1359 |
1 |
modifications.put("ALA", "ALA"); |
1360 |
1 |
modifications.put("ALC", "ALA"); |
1361 |
1 |
modifications.put("ALM", "ALA"); |
1362 |
1 |
modifications.put("ALN", "ALA"); |
1363 |
1 |
modifications.put("ALO", "THR"); |
1364 |
1 |
modifications.put("ALQ", "XAA"); |
1365 |
1 |
modifications.put("ALS", "ALA"); |
1366 |
1 |
modifications.put("ALT", "ALA"); |
1367 |
1 |
modifications.put("ALV", "ALA"); |
1368 |
1 |
modifications.put("ALY", "LYS"); |
1369 |
1 |
modifications.put("AN8", "ALA"); |
1370 |
1 |
modifications.put("AP7", "ALA"); |
1371 |
1 |
modifications.put("APE", "XAA"); |
1372 |
1 |
modifications.put("APH", "ALA"); |
1373 |
1 |
modifications.put("API", "LYS"); |
1374 |
1 |
modifications.put("APK", "LYS"); |
1375 |
1 |
modifications.put("APM", "XAA"); |
1376 |
1 |
modifications.put("APP", "XAA"); |
1377 |
1 |
modifications.put("AR2", "ARG"); |
1378 |
1 |
modifications.put("AR4", "GLU"); |
1379 |
1 |
modifications.put("AR7", "ARG"); |
1380 |
1 |
modifications.put("ARG", "ARG"); |
1381 |
1 |
modifications.put("ARM", "ARG"); |
1382 |
1 |
modifications.put("ARO", "ARG"); |
1383 |
1 |
modifications.put("ARV", "XAA"); |
1384 |
1 |
modifications.put("AS ", "ALA"); |
1385 |
1 |
modifications.put("AS2", "ASP"); |
1386 |
1 |
modifications.put("AS9", "XAA"); |
1387 |
1 |
modifications.put("ASA", "ASP"); |
1388 |
1 |
modifications.put("ASB", "ASP"); |
1389 |
1 |
modifications.put("ASI", "ASP"); |
1390 |
1 |
modifications.put("ASK", "ASP"); |
1391 |
1 |
modifications.put("ASL", "ASP"); |
1392 |
1 |
modifications.put("ASM", "XAA"); |
1393 |
1 |
modifications.put("ASN", "ASN"); |
1394 |
1 |
modifications.put("ASP", "ASP"); |
1395 |
1 |
modifications.put("ASQ", "ASP"); |
1396 |
1 |
modifications.put("ASU", "ASN"); |
1397 |
1 |
modifications.put("ASX", "ASX"); |
1398 |
1 |
modifications.put("ATD", "THR"); |
1399 |
1 |
modifications.put("ATL", "THR"); |
1400 |
1 |
modifications.put("ATM", "THR"); |
1401 |
1 |
modifications.put("AVC", "ALA"); |
1402 |
1 |
modifications.put("AVN", "XAA"); |
1403 |
1 |
modifications.put("AYA", "ALA"); |
1404 |
1 |
modifications.put("AYG", "AYG"); |
1405 |
1 |
modifications.put("AZK", "LYS"); |
1406 |
1 |
modifications.put("AZS", "SER"); |
1407 |
1 |
modifications.put("AZY", "TYR"); |
1408 |
1 |
modifications.put("B1F", "PHE"); |
1409 |
1 |
modifications.put("B1P", "ASN"); |
1410 |
1 |
modifications.put("B2A", "ALA"); |
1411 |
1 |
modifications.put("B2F", "PHE"); |
1412 |
1 |
modifications.put("B2I", "ILE"); |
1413 |
1 |
modifications.put("B2V", "VAL"); |
1414 |
1 |
modifications.put("B3A", "ALA"); |
1415 |
1 |
modifications.put("B3D", "ASP"); |
1416 |
1 |
modifications.put("B3E", "GLU"); |
1417 |
1 |
modifications.put("B3K", "LYS"); |
1418 |
1 |
modifications.put("B3L", "XAA"); |
1419 |
1 |
modifications.put("B3M", "XAA"); |
1420 |
1 |
modifications.put("B3Q", "XAA"); |
1421 |
1 |
modifications.put("B3S", "SER"); |
1422 |
1 |
modifications.put("B3T", "XAA"); |
1423 |
1 |
modifications.put("B3U", "HIS"); |
1424 |
1 |
modifications.put("B3X", "ASN"); |
1425 |
1 |
modifications.put("B3Y", "TYR"); |
1426 |
1 |
modifications.put("BB6", "CYS"); |
1427 |
1 |
modifications.put("BB7", "CYS"); |
1428 |
1 |
modifications.put("BB8", "PHE"); |
1429 |
1 |
modifications.put("BB9", "CYS"); |
1430 |
1 |
modifications.put("BBC", "CYS"); |
1431 |
1 |
modifications.put("BCS", "CYS"); |
1432 |
1 |
modifications.put("BE2", "XAA"); |
1433 |
1 |
modifications.put("BFD", "ASP"); |
1434 |
1 |
modifications.put("BG1", "SER"); |
1435 |
1 |
modifications.put("BGM", "GLY"); |
1436 |
1 |
modifications.put("BH2", "ASP"); |
1437 |
1 |
modifications.put("BHD", "ASP"); |
1438 |
1 |
modifications.put("BIF", "PHE"); |
1439 |
1 |
modifications.put("BIL", "XAA"); |
1440 |
1 |
modifications.put("BIU", "ILE"); |
1441 |
1 |
modifications.put("BJH", "XAA"); |
1442 |
1 |
modifications.put("BLE", "LEU"); |
1443 |
1 |
modifications.put("BLY", "LYS"); |
1444 |
1 |
modifications.put("BMP", "ASN"); |
1445 |
1 |
modifications.put("BMT", "THR"); |
1446 |
1 |
modifications.put("BNN", "PHE"); |
1447 |
1 |
modifications.put("BNO", "XAA"); |
1448 |
1 |
modifications.put("BOE", "THR"); |
1449 |
1 |
modifications.put("BOR", "ARG"); |
1450 |
1 |
modifications.put("BPE", "CYS"); |
1451 |
1 |
modifications.put("BRU", "UR3"); |
1452 |
1 |
modifications.put("BSE", "SER"); |
1453 |
1 |
modifications.put("BT5", "ASN"); |
1454 |
1 |
modifications.put("BTA", "LEU"); |
1455 |
1 |
modifications.put("BTC", "CYS"); |
1456 |
1 |
modifications.put("BTR", "TRP"); |
1457 |
1 |
modifications.put("BUC", "CYS"); |
1458 |
1 |
modifications.put("BUG", "VAL"); |
1459 |
1 |
modifications.put("BVP", "UR3"); |
1460 |
1 |
modifications.put("BZG", "ASN"); |
1461 |
1 |
modifications.put("C ", "CYS"); |
1462 |
1 |
modifications.put("C12", "TYG"); |
1463 |
1 |
modifications.put("C1X", "LYS"); |
1464 |
1 |
modifications.put("C25", "CYS"); |
1465 |
1 |
modifications.put("C2L", "CYS"); |
1466 |
1 |
modifications.put("C2S", "CYS"); |
1467 |
1 |
modifications.put("C31", "CYS"); |
1468 |
1 |
modifications.put("C32", "CYS"); |
1469 |
1 |
modifications.put("C34", "CYS"); |
1470 |
1 |
modifications.put("C36", "CYS"); |
1471 |
1 |
modifications.put("C37", "CYS"); |
1472 |
1 |
modifications.put("C38", "CYS"); |
1473 |
1 |
modifications.put("C3Y", "CYS"); |
1474 |
1 |
modifications.put("C42", "CYS"); |
1475 |
1 |
modifications.put("C43", "CYS"); |
1476 |
1 |
modifications.put("C45", "CYS"); |
1477 |
1 |
modifications.put("C46", "CYS"); |
1478 |
1 |
modifications.put("C49", "CYS"); |
1479 |
1 |
modifications.put("C4R", "CYS"); |
1480 |
1 |
modifications.put("C4S", "CYS"); |
1481 |
1 |
modifications.put("C5C", "CYS"); |
1482 |
1 |
modifications.put("C66", "XAA"); |
1483 |
1 |
modifications.put("C6C", "CYS"); |
1484 |
1 |
modifications.put("C99", "TFG"); |
1485 |
1 |
modifications.put("CAF", "CYS"); |
1486 |
1 |
modifications.put("CAL", "XAA"); |
1487 |
1 |
modifications.put("CAR", "CYS"); |
1488 |
1 |
modifications.put("CAS", "CYS"); |
1489 |
1 |
modifications.put("CAV", "XAA"); |
1490 |
1 |
modifications.put("CAY", "CYS"); |
1491 |
1 |
modifications.put("CB2", "CYS"); |
1492 |
1 |
modifications.put("CBR", "CYS"); |
1493 |
1 |
modifications.put("CBV", "CYS"); |
1494 |
1 |
modifications.put("CCC", "CYS"); |
1495 |
1 |
modifications.put("CCL", "LYS"); |
1496 |
1 |
modifications.put("CCS", "CYS"); |
1497 |
1 |
modifications.put("CCY", "CYG"); |
1498 |
1 |
modifications.put("CDE", "XAA"); |
1499 |
1 |
modifications.put("CDV", "XAA"); |
1500 |
1 |
modifications.put("CDW", "CYS"); |
1501 |
1 |
modifications.put("CEA", "CYS"); |
1502 |
1 |
modifications.put("CFL", "CYS"); |
1503 |
1 |
modifications.put("CFY", "FCYG"); |
1504 |
1 |
modifications.put("CG1", "GLY"); |
1505 |
1 |
modifications.put("CGA", "GLU"); |
1506 |
1 |
modifications.put("CGU", "GLU"); |
1507 |
1 |
modifications.put("CH ", "CYS"); |
1508 |
1 |
modifications.put("CH6", "MYG"); |
1509 |
1 |
modifications.put("CH7", "KYG"); |
1510 |
1 |
modifications.put("CHF", "XAA"); |
1511 |
1 |
modifications.put("CHG", "XAA"); |
1512 |
1 |
modifications.put("CHP", "GLY"); |
1513 |
1 |
modifications.put("CHS", "XAA"); |
1514 |
1 |
modifications.put("CIR", "ARG"); |
1515 |
1 |
modifications.put("CJO", "GYG"); |
1516 |
1 |
modifications.put("CLE", "LEU"); |
1517 |
1 |
modifications.put("CLG", "LYS"); |
1518 |
1 |
modifications.put("CLH", "LYS"); |
1519 |
1 |
modifications.put("CLV", "AFG"); |
1520 |
1 |
modifications.put("CM0", "ASN"); |
1521 |
1 |
modifications.put("CME", "CYS"); |
1522 |
1 |
modifications.put("CMH", "CYS"); |
1523 |
1 |
modifications.put("CML", "CYS"); |
1524 |
1 |
modifications.put("CMR", "CYS"); |
1525 |
1 |
modifications.put("CMT", "CYS"); |
1526 |
1 |
modifications.put("CNU", "UR3"); |
1527 |
1 |
modifications.put("CP1", "CYS"); |
1528 |
1 |
modifications.put("CPC", "XAA"); |
1529 |
1 |
modifications.put("CPI", "XAA"); |
1530 |
1 |
modifications.put("CQR", "GYG"); |
1531 |
1 |
modifications.put("CR0", "TLG"); |
1532 |
1 |
modifications.put("CR2", "GYG"); |
1533 |
1 |
modifications.put("CR5", "GLY"); |
1534 |
1 |
modifications.put("CR7", "KYG"); |
1535 |
1 |
modifications.put("CR8", "HYG"); |
1536 |
1 |
modifications.put("CRF", "TWG"); |
1537 |
1 |
modifications.put("CRG", "THG"); |
1538 |
1 |
modifications.put("CRK", "MYG"); |
1539 |
1 |
modifications.put("CRO", "GYG"); |
1540 |
1 |
modifications.put("CRQ", "QYG"); |
1541 |
1 |
modifications.put("CRU", "EYG"); |
1542 |
1 |
modifications.put("CRW", "ASG"); |
1543 |
1 |
modifications.put("CRX", "ASG"); |
1544 |
1 |
modifications.put("CS0", "CYS"); |
1545 |
1 |
modifications.put("CS1", "CYS"); |
1546 |
1 |
modifications.put("CS3", "CYS"); |
1547 |
1 |
modifications.put("CS4", "CYS"); |
1548 |
1 |
modifications.put("CS8", "ASN"); |
1549 |
1 |
modifications.put("CSA", "CYS"); |
1550 |
1 |
modifications.put("CSB", "CYS"); |
1551 |
1 |
modifications.put("CSD", "CYS"); |
1552 |
1 |
modifications.put("CSE", "CYS"); |
1553 |
1 |
modifications.put("CSF", "CYS"); |
1554 |
1 |
modifications.put("CSH", "SHG"); |
1555 |
1 |
modifications.put("CSI", "GLY"); |
1556 |
1 |
modifications.put("CSJ", "CYS"); |
1557 |
1 |
modifications.put("CSL", "CYS"); |
1558 |
1 |
modifications.put("CSO", "CYS"); |
1559 |
1 |
modifications.put("CSP", "CYS"); |
1560 |
1 |
modifications.put("CSR", "CYS"); |
1561 |
1 |
modifications.put("CSS", "CYS"); |
1562 |
1 |
modifications.put("CSU", "CYS"); |
1563 |
1 |
modifications.put("CSW", "CYS"); |
1564 |
1 |
modifications.put("CSX", "CYS"); |
1565 |
1 |
modifications.put("CSY", "SYG"); |
1566 |
1 |
modifications.put("CSZ", "CYS"); |
1567 |
1 |
modifications.put("CTE", "TRP"); |
1568 |
1 |
modifications.put("CTG", "THR"); |
1569 |
1 |
modifications.put("CTH", "THR"); |
1570 |
1 |
modifications.put("CUC", "XAA"); |
1571 |
1 |
modifications.put("CWR", "SER"); |
1572 |
1 |
modifications.put("CXM", "MET"); |
1573 |
1 |
modifications.put("CY0", "CYS"); |
1574 |
1 |
modifications.put("CY1", "CYS"); |
1575 |
1 |
modifications.put("CY3", "CYS"); |
1576 |
1 |
modifications.put("CY4", "CYS"); |
1577 |
1 |
modifications.put("CYA", "CYS"); |
1578 |
1 |
modifications.put("CYD", "CYS"); |
1579 |
1 |
modifications.put("CYF", "CYS"); |
1580 |
1 |
modifications.put("CYG", "CYS"); |
1581 |
1 |
modifications.put("CYJ", "XAA"); |
1582 |
1 |
modifications.put("CYM", "CYS"); |
1583 |
1 |
modifications.put("CYQ", "CYS"); |
1584 |
1 |
modifications.put("CYR", "CYS"); |
1585 |
1 |
modifications.put("CYS", "CYS"); |
1586 |
1 |
modifications.put("CZ2", "CYS"); |
1587 |
1 |
modifications.put("CZO", "GYG"); |
1588 |
1 |
modifications.put("CZZ", "CYS"); |
1589 |
1 |
modifications.put("D11", "THR"); |
1590 |
1 |
modifications.put("D1P", "ASN"); |
1591 |
1 |
modifications.put("D3 ", "ASN"); |
1592 |
1 |
modifications.put("D33", "ASN"); |
1593 |
1 |
modifications.put("D3P", "GLY"); |
1594 |
1 |
modifications.put("D3T", "THR"); |
1595 |
1 |
modifications.put("D4M", "THR"); |
1596 |
1 |
modifications.put("D4P", "XAA"); |
1597 |
1 |
modifications.put("DA ", "ALA"); |
1598 |
1 |
modifications.put("DA2", "XAA"); |
1599 |
1 |
modifications.put("DAB", "ALA"); |
1600 |
1 |
modifications.put("DAH", "PHE"); |
1601 |
1 |
modifications.put("DAL", "ALA"); |
1602 |
1 |
modifications.put("DAR", "ARG"); |
1603 |
1 |
modifications.put("DAS", "ASP"); |
1604 |
1 |
modifications.put("DBB", "THR"); |
1605 |
1 |
modifications.put("DBM", "ASN"); |
1606 |
1 |
modifications.put("DBS", "SER"); |
1607 |
1 |
modifications.put("DBU", "THR"); |
1608 |
1 |
modifications.put("DBY", "TYR"); |
1609 |
1 |
modifications.put("DBZ", "ALA"); |
1610 |
1 |
modifications.put("DC ", "CYS"); |
1611 |
1 |
modifications.put("DC2", "CYS"); |
1612 |
1 |
modifications.put("DCG", "GLY"); |
1613 |
1 |
modifications.put("DCI", "XAA"); |
1614 |
1 |
modifications.put("DCL", "XAA"); |
1615 |
1 |
modifications.put("DCT", "CYS"); |
1616 |
1 |
modifications.put("DCY", "CYS"); |
1617 |
1 |
modifications.put("DDE", "HIS"); |
1618 |
1 |
modifications.put("DDG", "GLY"); |
1619 |
1 |
modifications.put("DDN", "UR3"); |
1620 |
1 |
modifications.put("DDX", "ASN"); |
1621 |
1 |
modifications.put("DFC", "CYS"); |
1622 |
1 |
modifications.put("DFG", "GLY"); |
1623 |
1 |
modifications.put("DFI", "XAA"); |
1624 |
1 |
modifications.put("DFO", "XAA"); |
1625 |
1 |
modifications.put("DFT", "ASN"); |
1626 |
1 |
modifications.put("DG ", "GLY"); |
1627 |
1 |
modifications.put("DGH", "GLY"); |
1628 |
1 |
modifications.put("DGI", "GLY"); |
1629 |
1 |
modifications.put("DGL", "GLU"); |
1630 |
1 |
modifications.put("DGN", "GLN"); |
1631 |
1 |
modifications.put("DHA", "SER"); |
1632 |
1 |
modifications.put("DHI", "HIS"); |
1633 |
1 |
modifications.put("DHL", "XAA"); |
1634 |
1 |
modifications.put("DHN", "VAL"); |
1635 |
1 |
modifications.put("DHP", "XAA"); |
1636 |
1 |
modifications.put("DHU", "UR3"); |
1637 |
1 |
modifications.put("DHV", "VAL"); |
1638 |
1 |
modifications.put("DI ", "ILE"); |
1639 |
1 |
modifications.put("DIL", "ILE"); |
1640 |
1 |
modifications.put("DIR", "ARG"); |
1641 |
1 |
modifications.put("DIV", "VAL"); |
1642 |
1 |
modifications.put("DLE", "LEU"); |
1643 |
1 |
modifications.put("DLS", "LYS"); |
1644 |
1 |
modifications.put("DLY", "LYS"); |
1645 |
1 |
modifications.put("DM0", "LYS"); |
1646 |
1 |
modifications.put("DMH", "ASN"); |
1647 |
1 |
modifications.put("DMK", "ASP"); |
1648 |
1 |
modifications.put("DMT", "XAA"); |
1649 |
1 |
modifications.put("DN ", "ASN"); |
1650 |
1 |
modifications.put("DNE", "LEU"); |
1651 |
1 |
modifications.put("DNG", "LEU"); |
1652 |
1 |
modifications.put("DNL", "LYS"); |
1653 |
1 |
modifications.put("DNM", "LEU"); |
1654 |
1 |
modifications.put("DNP", "ALA"); |
1655 |
1 |
modifications.put("DNR", "CYS"); |
1656 |
1 |
modifications.put("DNS", "LYS"); |
1657 |
1 |
modifications.put("DOA", "XAA"); |
1658 |
1 |
modifications.put("DOC", "CYS"); |
1659 |
1 |
modifications.put("DOH", "ASP"); |
1660 |
1 |
modifications.put("DON", "LEU"); |
1661 |
1 |
modifications.put("DPB", "THR"); |
1662 |
1 |
modifications.put("DPH", "PHE"); |
1663 |
1 |
modifications.put("DPL", "PRO"); |
1664 |
1 |
modifications.put("DPP", "ALA"); |
1665 |
1 |
modifications.put("DPQ", "TYR"); |
1666 |
1 |
modifications.put("DPR", "PRO"); |
1667 |
1 |
modifications.put("DPY", "ASN"); |
1668 |
1 |
modifications.put("DRM", "UR3"); |
1669 |
1 |
modifications.put("DRP", "ASN"); |
1670 |
1 |
modifications.put("DRT", "THR"); |
1671 |
1 |
modifications.put("DRZ", "ASN"); |
1672 |
1 |
modifications.put("DSE", "SER"); |
1673 |
1 |
modifications.put("DSG", "ASN"); |
1674 |
1 |
modifications.put("DSN", "SER"); |
1675 |
1 |
modifications.put("DSP", "ASP"); |
1676 |
1 |
modifications.put("DT ", "THR"); |
1677 |
1 |
modifications.put("DTH", "THR"); |
1678 |
1 |
modifications.put("DTR", "TRP"); |
1679 |
1 |
modifications.put("DTY", "TYR"); |
1680 |
1 |
modifications.put("DU ", "UR3"); |
1681 |
1 |
modifications.put("DVA", "VAL"); |
1682 |
1 |
modifications.put("DXD", "ASN"); |
1683 |
1 |
modifications.put("DXN", "ASN"); |
1684 |
1 |
modifications.put("DYG", "DYG"); |
1685 |
1 |
modifications.put("DYS", "CYS"); |
1686 |
1 |
modifications.put("DZM", "ALA"); |
1687 |
1 |
modifications.put("E ", "ALA"); |
1688 |
1 |
modifications.put("E1X", "ALA"); |
1689 |
1 |
modifications.put("ECC", "GLN"); |
1690 |
1 |
modifications.put("EDA", "ALA"); |
1691 |
1 |
modifications.put("EFC", "CYS"); |
1692 |
1 |
modifications.put("EHP", "PHE"); |
1693 |
1 |
modifications.put("EIT", "THR"); |
1694 |
1 |
modifications.put("ENP", "ASN"); |
1695 |
1 |
modifications.put("ESB", "TYR"); |
1696 |
1 |
modifications.put("ESC", "MET"); |
1697 |
1 |
modifications.put("EXB", "XAA"); |
1698 |
1 |
modifications.put("EXY", "LEU"); |
1699 |
1 |
modifications.put("EY5", "ASN"); |
1700 |
1 |
modifications.put("EYS", "XAA"); |
1701 |
1 |
modifications.put("F2F", "PHE"); |
1702 |
1 |
modifications.put("FA2", "ALA"); |
1703 |
1 |
modifications.put("FA5", "ASN"); |
1704 |
1 |
modifications.put("FAG", "ASN"); |
1705 |
1 |
modifications.put("FAI", "ASN"); |
1706 |
1 |
modifications.put("FB5", "ALA"); |
1707 |
1 |
modifications.put("FB6", "ALA"); |
1708 |
1 |
modifications.put("FCL", "PHE"); |
1709 |
1 |
modifications.put("FFD", "ASN"); |
1710 |
1 |
modifications.put("FGA", "GLU"); |
1711 |
1 |
modifications.put("FGL", "GLY"); |
1712 |
1 |
modifications.put("FGP", "SER"); |
1713 |
1 |
modifications.put("FHL", "XAA"); |
1714 |
1 |
modifications.put("FHO", "LYS"); |
1715 |
1 |
modifications.put("FHU", "UR3"); |
1716 |
1 |
modifications.put("FLA", "ALA"); |
1717 |
1 |
modifications.put("FLE", "LEU"); |
1718 |
1 |
modifications.put("FLT", "TYR"); |
1719 |
1 |
modifications.put("FME", "MET"); |
1720 |
1 |
modifications.put("FMG", "GLY"); |
1721 |
1 |
modifications.put("FMU", "ASN"); |
1722 |
1 |
modifications.put("FOE", "CYS"); |
1723 |
1 |
modifications.put("FOX", "GLY"); |
1724 |
1 |
modifications.put("FP9", "PRO"); |
1725 |
1 |
modifications.put("FPA", "PHE"); |
1726 |
1 |
modifications.put("FRD", "XAA"); |
1727 |
1 |
modifications.put("FT6", "TRP"); |
1728 |
1 |
modifications.put("FTR", "TRP"); |
1729 |
1 |
modifications.put("FTY", "TYR"); |
1730 |
1 |
modifications.put("FVA", "VAL"); |
1731 |
1 |
modifications.put("FZN", "LYS"); |
1732 |
1 |
modifications.put("G ", "GLY"); |
1733 |
1 |
modifications.put("G25", "GLY"); |
1734 |
1 |
modifications.put("G2L", "GLY"); |
1735 |
1 |
modifications.put("G2S", "GLY"); |
1736 |
1 |
modifications.put("G31", "GLY"); |
1737 |
1 |
modifications.put("G32", "GLY"); |
1738 |
1 |
modifications.put("G33", "GLY"); |
1739 |
1 |
modifications.put("G36", "GLY"); |
1740 |
1 |
modifications.put("G38", "GLY"); |
1741 |
1 |
modifications.put("G42", "GLY"); |
1742 |
1 |
modifications.put("G46", "GLY"); |
1743 |
1 |
modifications.put("G47", "GLY"); |
1744 |
1 |
modifications.put("G48", "GLY"); |
1745 |
1 |
modifications.put("G49", "GLY"); |
1746 |
1 |
modifications.put("G4P", "ASN"); |
1747 |
1 |
modifications.put("G7M", "GLY"); |
1748 |
1 |
modifications.put("GAO", "GLY"); |
1749 |
1 |
modifications.put("GAU", "GLU"); |
1750 |
1 |
modifications.put("GCK", "CYS"); |
1751 |
1 |
modifications.put("GCM", "XAA"); |
1752 |
1 |
modifications.put("GDP", "GLY"); |
1753 |
1 |
modifications.put("GDR", "GLY"); |
1754 |
1 |
modifications.put("GFL", "GLY"); |
1755 |
1 |
modifications.put("GGL", "GLU"); |
1756 |
1 |
modifications.put("GH3", "GLY"); |
1757 |
1 |
modifications.put("GHG", "GLN"); |
1758 |
1 |
modifications.put("GHP", "GLY"); |
1759 |
1 |
modifications.put("GL3", "GLY"); |
1760 |
1 |
modifications.put("GLH", "GLN"); |
1761 |
1 |
modifications.put("GLJ", "GLU"); |
1762 |
1 |
modifications.put("GLK", "GLU"); |
1763 |
1 |
modifications.put("GLM", "XAA"); |
1764 |
1 |
modifications.put("GLN", "GLN"); |
1765 |
1 |
modifications.put("GLQ", "GLU"); |
1766 |
1 |
modifications.put("GLU", "GLU"); |
1767 |
1 |
modifications.put("GLX", "GLX"); |
1768 |
1 |
modifications.put("GLY", "GLY"); |
1769 |
1 |
modifications.put("GLZ", "GLY"); |
1770 |
1 |
modifications.put("GMA", "GLU"); |
1771 |
1 |
modifications.put("GMS", "GLY"); |
1772 |
1 |
modifications.put("GMU", "UR3"); |
1773 |
1 |
modifications.put("GN7", "GLY"); |
1774 |
1 |
modifications.put("GND", "XAA"); |
1775 |
1 |
modifications.put("GNE", "ASN"); |
1776 |
1 |
modifications.put("GOM", "GLY"); |
1777 |
1 |
modifications.put("GPL", "LYS"); |
1778 |
1 |
modifications.put("GS ", "GLY"); |
1779 |
1 |
modifications.put("GSC", "GLY"); |
1780 |
1 |
modifications.put("GSR", "GLY"); |
1781 |
1 |
modifications.put("GSS", "GLY"); |
1782 |
1 |
modifications.put("GSU", "GLU"); |
1783 |
1 |
modifications.put("GT9", "CYS"); |
1784 |
1 |
modifications.put("GTP", "GLY"); |
1785 |
1 |
modifications.put("GVL", "XAA"); |
1786 |
1 |
modifications.put("GYC", "CYG"); |
1787 |
1 |
modifications.put("GYS", "SYG"); |
1788 |
1 |
modifications.put("H2U", "UR3"); |
1789 |
1 |
modifications.put("H5M", "PRO"); |
1790 |
1 |
modifications.put("HAC", "ALA"); |
1791 |
1 |
modifications.put("HAR", "ARG"); |
1792 |
1 |
modifications.put("HBN", "HIS"); |
1793 |
1 |
modifications.put("HCS", "XAA"); |
1794 |
1 |
modifications.put("HDP", "UR3"); |
1795 |
1 |
modifications.put("HEU", "UR3"); |
1796 |
1 |
modifications.put("HFA", "XAA"); |
1797 |
1 |
modifications.put("HGL", "XAA"); |
1798 |
1 |
modifications.put("HHI", "HIS"); |
1799 |
1 |
modifications.put("HHK", "AK"); |
1800 |
1 |
modifications.put("HIA", "HIS"); |
1801 |
1 |
modifications.put("HIC", "HIS"); |
1802 |
1 |
modifications.put("HIP", "HIS"); |
1803 |
1 |
modifications.put("HIQ", "HIS"); |
1804 |
1 |
modifications.put("HIS", "HIS"); |
1805 |
1 |
modifications.put("HL2", "LEU"); |
1806 |
1 |
modifications.put("HLU", "LEU"); |
1807 |
1 |
modifications.put("HMR", "ARG"); |
1808 |
1 |
modifications.put("HOL", "ASN"); |
1809 |
1 |
modifications.put("HPC", "PHE"); |
1810 |
1 |
modifications.put("HPE", "PHE"); |
1811 |
1 |
modifications.put("HPH", "PHE"); |
1812 |
1 |
modifications.put("HPQ", "PHE"); |
1813 |
1 |
modifications.put("HQA", "ALA"); |
1814 |
1 |
modifications.put("HRG", "ARG"); |
1815 |
1 |
modifications.put("HRP", "TRP"); |
1816 |
1 |
modifications.put("HS8", "HIS"); |
1817 |
1 |
modifications.put("HS9", "HIS"); |
1818 |
1 |
modifications.put("HSE", "SER"); |
1819 |
1 |
modifications.put("HSL", "SER"); |
1820 |
1 |
modifications.put("HSO", "HIS"); |
1821 |
1 |
modifications.put("HTI", "CYS"); |
1822 |
1 |
modifications.put("HTN", "ASN"); |
1823 |
1 |
modifications.put("HTR", "TRP"); |
1824 |
1 |
modifications.put("HV5", "ALA"); |
1825 |
1 |
modifications.put("HVA", "VAL"); |
1826 |
1 |
modifications.put("HY3", "PRO"); |
1827 |
1 |
modifications.put("HYP", "PRO"); |
1828 |
1 |
modifications.put("HZP", "PRO"); |
1829 |
1 |
modifications.put("I ", "ILE"); |
1830 |
1 |
modifications.put("I2M", "ILE"); |
1831 |
1 |
modifications.put("I58", "LYS"); |
1832 |
1 |
modifications.put("I5C", "CYS"); |
1833 |
1 |
modifications.put("IAM", "ALA"); |
1834 |
1 |
modifications.put("IAR", "ARG"); |
1835 |
1 |
modifications.put("IAS", "ASP"); |
1836 |
1 |
modifications.put("IC ", "CYS"); |
1837 |
1 |
modifications.put("IEL", "LYS"); |
1838 |
1 |
modifications.put("IEY", "HYG"); |
1839 |
1 |
modifications.put("IG ", "GLY"); |
1840 |
1 |
modifications.put("IGL", "GLY"); |
1841 |
1 |
modifications.put("IGU", "GLY"); |
1842 |
1 |
modifications.put("IIC", "SHG"); |
1843 |
1 |
modifications.put("IIL", "ILE"); |
1844 |
1 |
modifications.put("ILE", "ILE"); |
1845 |
1 |
modifications.put("ILG", "GLU"); |
1846 |
1 |
modifications.put("ILX", "ILE"); |
1847 |
1 |
modifications.put("IMC", "CYS"); |
1848 |
1 |
modifications.put("IML", "ILE"); |
1849 |
1 |
modifications.put("IOY", "PHE"); |
1850 |
1 |
modifications.put("IPG", "GLY"); |
1851 |
1 |
modifications.put("IPN", "ASN"); |
1852 |
1 |
modifications.put("IRN", "ASN"); |
1853 |
1 |
modifications.put("IT1", "LYS"); |
1854 |
1 |
modifications.put("IU ", "UR3"); |
1855 |
1 |
modifications.put("IYR", "TYR"); |
1856 |
1 |
modifications.put("IYT", "THR"); |
1857 |
1 |
modifications.put("IZO", "MET"); |
1858 |
1 |
modifications.put("JJJ", "CYS"); |
1859 |
1 |
modifications.put("JJK", "CYS"); |
1860 |
1 |
modifications.put("JJL", "CYS"); |
1861 |
1 |
modifications.put("JW5", "ASN"); |
1862 |
1 |
modifications.put("K1R", "CYS"); |
1863 |
1 |
modifications.put("KAG", "GLY"); |
1864 |
1 |
modifications.put("KCX", "LYS"); |
1865 |
1 |
modifications.put("KGC", "LYS"); |
1866 |
1 |
modifications.put("KNB", "ALA"); |
1867 |
1 |
modifications.put("KOR", "MET"); |
1868 |
1 |
modifications.put("KPI", "LYS"); |
1869 |
1 |
modifications.put("KST", "LYS"); |
1870 |
1 |
modifications.put("KYQ", "LYS"); |
1871 |
1 |
modifications.put("L2A", "XAA"); |
1872 |
1 |
modifications.put("LA2", "LYS"); |
1873 |
1 |
modifications.put("LAA", "ASP"); |
1874 |
1 |
modifications.put("LAL", "ALA"); |
1875 |
1 |
modifications.put("LBY", "LYS"); |
1876 |
1 |
modifications.put("LC ", "CYS"); |
1877 |
1 |
modifications.put("LCA", "ALA"); |
1878 |
1 |
modifications.put("LCC", "ASN"); |
1879 |
1 |
modifications.put("LCG", "GLY"); |
1880 |
1 |
modifications.put("LCH", "ASN"); |
1881 |
1 |
modifications.put("LCK", "LYS"); |
1882 |
1 |
modifications.put("LCX", "LYS"); |
1883 |
1 |
modifications.put("LDH", "LYS"); |
1884 |
1 |
modifications.put("LED", "LEU"); |
1885 |
1 |
modifications.put("LEF", "LEU"); |
1886 |
1 |
modifications.put("LEH", "LEU"); |
1887 |
1 |
modifications.put("LEI", "VAL"); |
1888 |
1 |
modifications.put("LEM", "LEU"); |
1889 |
1 |
modifications.put("LEN", "LEU"); |
1890 |
1 |
modifications.put("LET", "XAA"); |
1891 |
1 |
modifications.put("LEU", "LEU"); |
1892 |
1 |
modifications.put("LEX", "LEU"); |
1893 |
1 |
modifications.put("LG ", "GLY"); |
1894 |
1 |
modifications.put("LGP", "GLY"); |
1895 |
1 |
modifications.put("LHC", "XAA"); |
1896 |
1 |
modifications.put("LHU", "UR3"); |
1897 |
1 |
modifications.put("LKC", "ASN"); |
1898 |
1 |
modifications.put("LLP", "LYS"); |
1899 |
1 |
modifications.put("LLY", "LYS"); |
1900 |
1 |
modifications.put("LME", "GLU"); |
1901 |
1 |
modifications.put("LMF", "LYS"); |
1902 |
1 |
modifications.put("LMQ", "GLN"); |
1903 |
1 |
modifications.put("LMS", "ASN"); |
1904 |
1 |
modifications.put("LP6", "LYS"); |
1905 |
1 |
modifications.put("LPD", "PRO"); |
1906 |
1 |
modifications.put("LPG", "GLY"); |
1907 |
1 |
modifications.put("LPL", "XAA"); |
1908 |
1 |
modifications.put("LPS", "SER"); |
1909 |
1 |
modifications.put("LSO", "XAA"); |
1910 |
1 |
modifications.put("LTA", "XAA"); |
1911 |
1 |
modifications.put("LTR", "TRP"); |
1912 |
1 |
modifications.put("LVG", "GLY"); |
1913 |
1 |
modifications.put("LVN", "VAL"); |
1914 |
1 |
modifications.put("LYF", "LYS"); |
1915 |
1 |
modifications.put("LYK", "LYS"); |
1916 |
1 |
modifications.put("LYM", "LYS"); |
1917 |
1 |
modifications.put("LYN", "LYS"); |
1918 |
1 |
modifications.put("LYR", "LYS"); |
1919 |
1 |
modifications.put("LYS", "LYS"); |
1920 |
1 |
modifications.put("LYX", "LYS"); |
1921 |
1 |
modifications.put("LYZ", "LYS"); |
1922 |
1 |
modifications.put("M0H", "CYS"); |
1923 |
1 |
modifications.put("M1G", "GLY"); |
1924 |
1 |
modifications.put("M2G", "GLY"); |
1925 |
1 |
modifications.put("M2L", "LYS"); |
1926 |
1 |
modifications.put("M2S", "MET"); |
1927 |
1 |
modifications.put("M30", "GLY"); |
1928 |
1 |
modifications.put("M3L", "LYS"); |
1929 |
1 |
modifications.put("M5M", "CYS"); |
1930 |
1 |
modifications.put("MA ", "ALA"); |
1931 |
1 |
modifications.put("MA6", "ALA"); |
1932 |
1 |
modifications.put("MA7", "ALA"); |
1933 |
1 |
modifications.put("MAA", "ALA"); |
1934 |
1 |
modifications.put("MAD", "ALA"); |
1935 |
1 |
modifications.put("MAI", "ARG"); |
1936 |
1 |
modifications.put("MBQ", "TYR"); |
1937 |
1 |
modifications.put("MBZ", "ASN"); |
1938 |
1 |
modifications.put("MC1", "SER"); |
1939 |
1 |
modifications.put("MCG", "XAA"); |
1940 |
1 |
modifications.put("MCL", "LYS"); |
1941 |
1 |
modifications.put("MCS", "CYS"); |
1942 |
1 |
modifications.put("MCY", "CYS"); |
1943 |
1 |
modifications.put("MD3", "CYS"); |
1944 |
1 |
modifications.put("MD6", "GLY"); |
1945 |
1 |
modifications.put("MDH", "XAA"); |
1946 |
1 |
modifications.put("MDO", "ASG"); |
1947 |
1 |
modifications.put("MDR", "ASN"); |
1948 |
1 |
modifications.put("MEA", "PHE"); |
1949 |
1 |
modifications.put("MED", "MET"); |
1950 |
1 |
modifications.put("MEG", "GLU"); |
1951 |
1 |
modifications.put("MEN", "ASN"); |
1952 |
1 |
modifications.put("MEP", "UR3"); |
1953 |
1 |
modifications.put("MEQ", "GLN"); |
1954 |
1 |
modifications.put("MET", "MET"); |
1955 |
1 |
modifications.put("MEU", "GLY"); |
1956 |
1 |
modifications.put("MF3", "XAA"); |
1957 |
1 |
modifications.put("MFC", "GYG"); |
1958 |
1 |
modifications.put("MG1", "GLY"); |
1959 |
1 |
modifications.put("MGG", "ARG"); |
1960 |
1 |
modifications.put("MGN", "GLN"); |
1961 |
1 |
modifications.put("MGQ", "ALA"); |
1962 |
1 |
modifications.put("MGV", "GLY"); |
1963 |
1 |
modifications.put("MGY", "GLY"); |
1964 |
1 |
modifications.put("MHL", "LEU"); |
1965 |
1 |
modifications.put("MHO", "MET"); |
1966 |
1 |
modifications.put("MHS", "HIS"); |
1967 |
1 |
modifications.put("MIA", "ALA"); |
1968 |
1 |
modifications.put("MIS", "SER"); |
1969 |
1 |
modifications.put("MK8", "LEU"); |
1970 |
1 |
modifications.put("ML3", "LYS"); |
1971 |
1 |
modifications.put("MLE", "LEU"); |
1972 |
1 |
modifications.put("MLL", "LEU"); |
1973 |
1 |
modifications.put("MLY", "LYS"); |
1974 |
1 |
modifications.put("MLZ", "LYS"); |
1975 |
1 |
modifications.put("MME", "MET"); |
1976 |
1 |
modifications.put("MMO", "ARG"); |
1977 |
1 |
modifications.put("MMT", "THR"); |
1978 |
1 |
modifications.put("MND", "ASN"); |
1979 |
1 |
modifications.put("MNL", "LEU"); |
1980 |
1 |
modifications.put("MNU", "UR3"); |
1981 |
1 |
modifications.put("MNV", "VAL"); |
1982 |
1 |
modifications.put("MOD", "XAA"); |
1983 |
1 |
modifications.put("MP8", "PRO"); |
1984 |
1 |
modifications.put("MPH", "XAA"); |
1985 |
1 |
modifications.put("MPJ", "XAA"); |
1986 |
1 |
modifications.put("MPQ", "GLY"); |
1987 |
1 |
modifications.put("MRG", "GLY"); |
1988 |
1 |
modifications.put("MSA", "GLY"); |
1989 |
1 |
modifications.put("MSE", "MET"); |
1990 |
1 |
modifications.put("MSL", "MET"); |
1991 |
1 |
modifications.put("MSO", "MET"); |
1992 |
1 |
modifications.put("MSP", "XAA"); |
1993 |
1 |
modifications.put("MT2", "MET"); |
1994 |
1 |
modifications.put("MTR", "THR"); |
1995 |
1 |
modifications.put("MTU", "ALA"); |
1996 |
1 |
modifications.put("MTY", "TYR"); |
1997 |
1 |
modifications.put("MVA", "VAL"); |
1998 |
1 |
modifications.put("N ", "ASN"); |
1999 |
1 |
modifications.put("N10", "SER"); |
2000 |
1 |
modifications.put("N2C", "XAA"); |
2001 |
1 |
modifications.put("N5I", "ASN"); |
2002 |
1 |
modifications.put("N5M", "CYS"); |
2003 |
1 |
modifications.put("N6G", "GLY"); |
2004 |
1 |
modifications.put("N7P", "PRO"); |
2005 |
1 |
modifications.put("NA8", "ALA"); |
2006 |
1 |
modifications.put("NAL", "ALA"); |
2007 |
1 |
modifications.put("NAM", "ALA"); |
2008 |
1 |
modifications.put("NB8", "ASN"); |
2009 |
1 |
modifications.put("NBQ", "TYR"); |
2010 |
1 |
modifications.put("NC1", "SER"); |
2011 |
1 |
modifications.put("NCB", "ALA"); |
2012 |
1 |
modifications.put("NCX", "ASN"); |
2013 |
1 |
modifications.put("NCY", "XAA"); |
2014 |
1 |
modifications.put("NDF", "PHE"); |
2015 |
1 |
modifications.put("NDN", "UR3"); |
2016 |
1 |
modifications.put("NEM", "HIS"); |
2017 |
1 |
modifications.put("NEP", "HIS"); |
2018 |
1 |
modifications.put("NF2", "ASN"); |
2019 |
1 |
modifications.put("NFA", "PHE"); |
2020 |
1 |
modifications.put("NHL", "GLU"); |
2021 |
1 |
modifications.put("NIT", "XAA"); |
2022 |
1 |
modifications.put("NIY", "TYR"); |
2023 |
1 |
modifications.put("NLE", "LEU"); |
2024 |
1 |
modifications.put("NLN", "LEU"); |
2025 |
1 |
modifications.put("NLO", "LEU"); |
2026 |
1 |
modifications.put("NLP", "LEU"); |
2027 |
1 |
modifications.put("NLQ", "GLN"); |
2028 |
1 |
modifications.put("NMC", "GLY"); |
2029 |
1 |
modifications.put("NMM", "ARG"); |
2030 |
1 |
modifications.put("NMS", "THR"); |
2031 |
1 |
modifications.put("NMT", "THR"); |
2032 |
1 |
modifications.put("NNH", "ARG"); |
2033 |
1 |
modifications.put("NP3", "ASN"); |
2034 |
1 |
modifications.put("NPH", "CYS"); |
2035 |
1 |
modifications.put("NPI", "ALA"); |
2036 |
1 |
modifications.put("NRP", "LYG"); |
2037 |
1 |
modifications.put("NRQ", "MYG"); |
2038 |
1 |
modifications.put("NSK", "XAA"); |
2039 |
1 |
modifications.put("NTY", "TYR"); |
2040 |
1 |
modifications.put("NVA", "VAL"); |
2041 |
1 |
modifications.put("NYC", "TWG"); |
2042 |
1 |
modifications.put("NYG", "NYG"); |
2043 |
1 |
modifications.put("NYM", "ASN"); |
2044 |
1 |
modifications.put("NYS", "CYS"); |
2045 |
1 |
modifications.put("NZH", "HIS"); |
2046 |
1 |
modifications.put("O12", "XAA"); |
2047 |
1 |
modifications.put("O2C", "ASN"); |
2048 |
1 |
modifications.put("O2G", "GLY"); |
2049 |
1 |
modifications.put("OAD", "ASN"); |
2050 |
1 |
modifications.put("OAS", "SER"); |
2051 |
1 |
modifications.put("OBF", "XAA"); |
2052 |
1 |
modifications.put("OBS", "XAA"); |
2053 |
1 |
modifications.put("OCS", "CYS"); |
2054 |
1 |
modifications.put("OCY", "CYS"); |
2055 |
1 |
modifications.put("ODP", "ASN"); |
2056 |
1 |
modifications.put("OHI", "HIS"); |
2057 |
1 |
modifications.put("OHS", "ASP"); |
2058 |
1 |
modifications.put("OIC", "XAA"); |
2059 |
1 |
modifications.put("OIP", "ILE"); |
2060 |
1 |
modifications.put("OLE", "XAA"); |
2061 |
1 |
modifications.put("OLT", "THR"); |
2062 |
1 |
modifications.put("OLZ", "SER"); |
2063 |
1 |
modifications.put("OMC", "CYS"); |
2064 |
1 |
modifications.put("OMG", "GLY"); |
2065 |
1 |
modifications.put("OMT", "MET"); |
2066 |
1 |
modifications.put("OMU", "UR3"); |
2067 |
1 |
modifications.put("ONE", "UR3"); |
2068 |
1 |
modifications.put("ONH", "ALA"); |
2069 |
1 |
modifications.put("ONL", "XAA"); |
2070 |
1 |
modifications.put("OPR", "ARG"); |
2071 |
1 |
modifications.put("ORN", "ALA"); |
2072 |
1 |
modifications.put("ORQ", "ARG"); |
2073 |
1 |
modifications.put("OSE", "SER"); |
2074 |
1 |
modifications.put("OTB", "XAA"); |
2075 |
1 |
modifications.put("OTH", "THR"); |
2076 |
1 |
modifications.put("OTY", "TYR"); |
2077 |
1 |
modifications.put("OXX", "ASP"); |
2078 |
1 |
modifications.put("P ", "GLY"); |
2079 |
1 |
modifications.put("P1L", "CYS"); |
2080 |
1 |
modifications.put("P1P", "ASN"); |
2081 |
1 |
modifications.put("P2T", "THR"); |
2082 |
1 |
modifications.put("P2U", "UR3"); |
2083 |
1 |
modifications.put("P2Y", "PRO"); |
2084 |
1 |
modifications.put("P5P", "ALA"); |
2085 |
1 |
modifications.put("PAQ", "TYR"); |
2086 |
1 |
modifications.put("PAS", "ASP"); |
2087 |
1 |
modifications.put("PAT", "TRP"); |
2088 |
1 |
modifications.put("PAU", "ALA"); |
2089 |
1 |
modifications.put("PBB", "CYS"); |
2090 |
1 |
modifications.put("PBF", "PHE"); |
2091 |
1 |
modifications.put("PBT", "ASN"); |
2092 |
1 |
modifications.put("PCA", "GLU"); |
2093 |
1 |
modifications.put("PCC", "PRO"); |
2094 |
1 |
modifications.put("PCE", "XAA"); |
2095 |
1 |
modifications.put("PCS", "PHE"); |
2096 |
1 |
modifications.put("PDL", "XAA"); |
2097 |
1 |
modifications.put("PDU", "UR3"); |
2098 |
1 |
modifications.put("PEC", "CYS"); |
2099 |
1 |
modifications.put("PF5", "PHE"); |
2100 |
1 |
modifications.put("PFF", "PHE"); |
2101 |
1 |
modifications.put("PFX", "XAA"); |
2102 |
1 |
modifications.put("PG1", "SER"); |
2103 |
1 |
modifications.put("PG7", "GLY"); |
2104 |
1 |
modifications.put("PG9", "GLY"); |
2105 |
1 |
modifications.put("PGL", "XAA"); |
2106 |
1 |
modifications.put("PGN", "GLY"); |
2107 |
1 |
modifications.put("PGP", "GLY"); |
2108 |
1 |
modifications.put("PGY", "GLY"); |
2109 |
1 |
modifications.put("PHA", "PHE"); |
2110 |
1 |
modifications.put("PHD", "ASP"); |
2111 |
1 |
modifications.put("PHE", "PHE"); |
2112 |
1 |
modifications.put("PHI", "PHE"); |
2113 |
1 |
modifications.put("PHL", "PHE"); |
2114 |
1 |
modifications.put("PHM", "PHE"); |
2115 |
1 |
modifications.put("PIA", "AYG"); |
2116 |
1 |
modifications.put("PIV", "XAA"); |
2117 |
1 |
modifications.put("PLE", "LEU"); |
2118 |
1 |
modifications.put("PM3", "PHE"); |
2119 |
1 |
modifications.put("PMT", "CYS"); |
2120 |
1 |
modifications.put("POM", "PRO"); |
2121 |
1 |
modifications.put("PPN", "PHE"); |
2122 |
1 |
modifications.put("PPU", "ALA"); |
2123 |
1 |
modifications.put("PPW", "GLY"); |
2124 |
1 |
modifications.put("PQ1", "ASN"); |
2125 |
1 |
modifications.put("PR3", "CYS"); |
2126 |
1 |
modifications.put("PR5", "ALA"); |
2127 |
1 |
modifications.put("PR9", "PRO"); |
2128 |
1 |
modifications.put("PRN", "ALA"); |
2129 |
1 |
modifications.put("PRO", "PRO"); |
2130 |
1 |
modifications.put("PRS", "PRO"); |
2131 |
1 |
modifications.put("PSA", "PHE"); |
2132 |
1 |
modifications.put("PSH", "HIS"); |
2133 |
1 |
modifications.put("PST", "THR"); |
2134 |
1 |
modifications.put("PSU", "UR3"); |
2135 |
1 |
modifications.put("PSW", "CYS"); |
2136 |
1 |
modifications.put("PTA", "XAA"); |
2137 |
1 |
modifications.put("PTH", "TYR"); |
2138 |
1 |
modifications.put("PTM", "TYR"); |
2139 |
1 |
modifications.put("PTR", "TYR"); |
2140 |
1 |
modifications.put("PU ", "ALA"); |
2141 |
1 |
modifications.put("PUY", "ASN"); |
2142 |
1 |
modifications.put("PVH", "HIS"); |
2143 |
1 |
modifications.put("PVL", "XAA"); |
2144 |
1 |
modifications.put("PYA", "ALA"); |
2145 |
1 |
modifications.put("PYO", "UR3"); |
2146 |
1 |
modifications.put("PYX", "CYS"); |
2147 |
1 |
modifications.put("PYY", "ASN"); |
2148 |
1 |
modifications.put("QLG", "QLG"); |
2149 |
1 |
modifications.put("QMM", "GLN"); |
2150 |
1 |
modifications.put("QPA", "CYS"); |
2151 |
1 |
modifications.put("QPH", "PHE"); |
2152 |
1 |
modifications.put("QUO", "GLY"); |
2153 |
1 |
modifications.put("R ", "ALA"); |
2154 |
1 |
modifications.put("R1A", "CYS"); |
2155 |
1 |
modifications.put("R4K", "TRP"); |
2156 |
1 |
modifications.put("RC7", "HYG"); |
2157 |
1 |
modifications.put("RE0", "TRP"); |
2158 |
1 |
modifications.put("RE3", "TRP"); |
2159 |
1 |
modifications.put("RIA", "ALA"); |
2160 |
1 |
modifications.put("RMP", "ALA"); |
2161 |
1 |
modifications.put("RON", "XAA"); |
2162 |
1 |
modifications.put("RT ", "THR"); |
2163 |
1 |
modifications.put("RTP", "ASN"); |
2164 |
1 |
modifications.put("S1H", "SER"); |
2165 |
1 |
modifications.put("S2C", "CYS"); |
2166 |
1 |
modifications.put("S2D", "ALA"); |
2167 |
1 |
modifications.put("S2M", "THR"); |
2168 |
1 |
modifications.put("S2P", "ALA"); |
2169 |
1 |
modifications.put("S4A", "ALA"); |
2170 |
1 |
modifications.put("S4C", "CYS"); |
2171 |
1 |
modifications.put("S4G", "GLY"); |
2172 |
1 |
modifications.put("S4U", "UR3"); |
2173 |
1 |
modifications.put("S6G", "GLY"); |
2174 |
1 |
modifications.put("SAC", "SER"); |
2175 |
1 |
modifications.put("SAH", "CYS"); |
2176 |
1 |
modifications.put("SAR", "GLY"); |
2177 |
1 |
modifications.put("SBL", "SER"); |
2178 |
1 |
modifications.put("SC ", "CYS"); |
2179 |
1 |
modifications.put("SCH", "CYS"); |
2180 |
1 |
modifications.put("SCS", "CYS"); |
2181 |
1 |
modifications.put("SCY", "CYS"); |
2182 |
1 |
modifications.put("SD2", "XAA"); |
2183 |
1 |
modifications.put("SDG", "GLY"); |
2184 |
1 |
modifications.put("SDP", "SER"); |
2185 |
1 |
modifications.put("SEB", "SER"); |
2186 |
1 |
modifications.put("SEC", "ALA"); |
2187 |
1 |
modifications.put("SEG", "ALA"); |
2188 |
1 |
modifications.put("SEL", "SER"); |
2189 |
1 |
modifications.put("SEM", "SER"); |
2190 |
1 |
modifications.put("SEN", "SER"); |
2191 |
1 |
modifications.put("SEP", "SER"); |
2192 |
1 |
modifications.put("SER", "SER"); |
2193 |
1 |
modifications.put("SET", "SER"); |
2194 |
1 |
modifications.put("SGB", "SER"); |
2195 |
1 |
modifications.put("SHC", "CYS"); |
2196 |
1 |
modifications.put("SHP", "GLY"); |
2197 |
1 |
modifications.put("SHR", "LYS"); |
2198 |
1 |
modifications.put("SIB", "CYS"); |
2199 |
1 |
modifications.put("SIC", "DC"); |
2200 |
1 |
modifications.put("SLA", "PRO"); |
2201 |
1 |
modifications.put("SLR", "PRO"); |
2202 |
1 |
modifications.put("SLZ", "LYS"); |
2203 |
1 |
modifications.put("SMC", "CYS"); |
2204 |
1 |
modifications.put("SME", "MET"); |
2205 |
1 |
modifications.put("SMF", "PHE"); |
2206 |
1 |
modifications.put("SMP", "ALA"); |
2207 |
1 |
modifications.put("SMT", "THR"); |
2208 |
1 |
modifications.put("SNC", "CYS"); |
2209 |
1 |
modifications.put("SNN", "ASN"); |
2210 |
1 |
modifications.put("SOC", "CYS"); |
2211 |
1 |
modifications.put("SOS", "ASN"); |
2212 |
1 |
modifications.put("SOY", "SER"); |
2213 |
1 |
modifications.put("SPT", "THR"); |
2214 |
1 |
modifications.put("SRA", "ALA"); |
2215 |
1 |
modifications.put("SSU", "UR3"); |
2216 |
1 |
modifications.put("STY", "TYR"); |
2217 |
1 |
modifications.put("SUB", "XAA"); |
2218 |
1 |
modifications.put("SUI", "DG"); |
2219 |
1 |
modifications.put("SUN", "SER"); |
2220 |
1 |
modifications.put("SUR", "UR3"); |
2221 |
1 |
modifications.put("SVA", "SER"); |
2222 |
1 |
modifications.put("SVV", "SER"); |
2223 |
1 |
modifications.put("SVW", "SER"); |
2224 |
1 |
modifications.put("SVX", "SER"); |
2225 |
1 |
modifications.put("SVY", "SER"); |
2226 |
1 |
modifications.put("SVZ", "XAA"); |
2227 |
1 |
modifications.put("SWG", "SWG"); |
2228 |
1 |
modifications.put("SYS", "CYS"); |
2229 |
1 |
modifications.put("T ", "THR"); |
2230 |
1 |
modifications.put("T11", "PHE"); |
2231 |
1 |
modifications.put("T23", "THR"); |
2232 |
1 |
modifications.put("T2S", "THR"); |
2233 |
1 |
modifications.put("T2T", "ASN"); |
2234 |
1 |
modifications.put("T31", "UR3"); |
2235 |
1 |
modifications.put("T32", "THR"); |
2236 |
1 |
modifications.put("T36", "THR"); |
2237 |
1 |
modifications.put("T37", "THR"); |
2238 |
1 |
modifications.put("T38", "THR"); |
2239 |
1 |
modifications.put("T39", "THR"); |
2240 |
1 |
modifications.put("T3P", "THR"); |
2241 |
1 |
modifications.put("T41", "THR"); |
2242 |
1 |
modifications.put("T48", "THR"); |
2243 |
1 |
modifications.put("T49", "THR"); |
2244 |
1 |
modifications.put("T4S", "THR"); |
2245 |
1 |
modifications.put("T5O", "UR3"); |
2246 |
1 |
modifications.put("T5S", "THR"); |
2247 |
1 |
modifications.put("T66", "XAA"); |
2248 |
1 |
modifications.put("T6A", "ALA"); |
2249 |
1 |
modifications.put("TA3", "THR"); |
2250 |
1 |
modifications.put("TA4", "XAA"); |
2251 |
1 |
modifications.put("TAF", "THR"); |
2252 |
1 |
modifications.put("TAL", "ASN"); |
2253 |
1 |
modifications.put("TAV", "ASP"); |
2254 |
1 |
modifications.put("TBG", "VAL"); |
2255 |
1 |
modifications.put("TBM", "THR"); |
2256 |
1 |
modifications.put("TC1", "CYS"); |
2257 |
1 |
modifications.put("TCP", "THR"); |
2258 |
1 |
modifications.put("TCQ", "TYR"); |
2259 |
1 |
modifications.put("TCR", "TRP"); |
2260 |
1 |
modifications.put("TCY", "ALA"); |
2261 |
1 |
modifications.put("TDD", "LEU"); |
2262 |
1 |
modifications.put("TDY", "THR"); |
2263 |
1 |
modifications.put("TFE", "THR"); |
2264 |
1 |
modifications.put("TFO", "ALA"); |
2265 |
1 |
modifications.put("TFQ", "PHE"); |
2266 |
1 |
modifications.put("TFT", "THR"); |
2267 |
1 |
modifications.put("TGP", "GLY"); |
2268 |
1 |
modifications.put("TH6", "THR"); |
2269 |
1 |
modifications.put("THC", "THR"); |
2270 |
1 |
modifications.put("THO", "XAA"); |
2271 |
1 |
modifications.put("THR", "THR"); |
2272 |
1 |
modifications.put("THX", "ASN"); |
2273 |
1 |
modifications.put("THZ", "ARG"); |
2274 |
1 |
modifications.put("TIH", "ALA"); |
2275 |
1 |
modifications.put("TLB", "ASN"); |
2276 |
1 |
modifications.put("TLC", "THR"); |
2277 |
1 |
modifications.put("TLN", "UR3"); |
2278 |
1 |
modifications.put("TMB", "THR"); |
2279 |
1 |
modifications.put("TMD", "THR"); |
2280 |
1 |
modifications.put("TNB", "CYS"); |
2281 |
1 |
modifications.put("TNR", "SER"); |
2282 |
1 |
modifications.put("TOX", "TRP"); |
2283 |
1 |
modifications.put("TP1", "THR"); |
2284 |
1 |
modifications.put("TPC", "CYS"); |
2285 |
1 |
modifications.put("TPG", "GLY"); |
2286 |
1 |
modifications.put("TPH", "XAA"); |
2287 |
1 |
modifications.put("TPL", "TRP"); |
2288 |
1 |
modifications.put("TPO", "THR"); |
2289 |
1 |
modifications.put("TPQ", "TYR"); |
2290 |
1 |
modifications.put("TQI", "TRP"); |
2291 |
1 |
modifications.put("TQQ", "TRP"); |
2292 |
1 |
modifications.put("TRF", "TRP"); |
2293 |
1 |
modifications.put("TRG", "LYS"); |
2294 |
1 |
modifications.put("TRN", "TRP"); |
2295 |
1 |
modifications.put("TRO", "TRP"); |
2296 |
1 |
modifications.put("TRP", "TRP"); |
2297 |
1 |
modifications.put("TRQ", "TRP"); |
2298 |
1 |
modifications.put("TRW", "TRP"); |
2299 |
1 |
modifications.put("TRX", "TRP"); |
2300 |
1 |
modifications.put("TS ", "ASN"); |
2301 |
1 |
modifications.put("TST", "XAA"); |
2302 |
1 |
modifications.put("TT ", "ASN"); |
2303 |
1 |
modifications.put("TTD", "THR"); |
2304 |
1 |
modifications.put("TTI", "UR3"); |
2305 |
1 |
modifications.put("TTM", "THR"); |
2306 |
1 |
modifications.put("TTQ", "TRP"); |
2307 |
1 |
modifications.put("TTS", "TYR"); |
2308 |
1 |
modifications.put("TY1", "TYR"); |
2309 |
1 |
modifications.put("TY2", "TYR"); |
2310 |
1 |
modifications.put("TY3", "TYR"); |
2311 |
1 |
modifications.put("TY5", "TYR"); |
2312 |
1 |
modifications.put("TYB", "TYR"); |
2313 |
1 |
modifications.put("TYI", "TYR"); |
2314 |
1 |
modifications.put("TYJ", "TYR"); |
2315 |
1 |
modifications.put("TYN", "TYR"); |
2316 |
1 |
modifications.put("TYO", "TYR"); |
2317 |
1 |
modifications.put("TYQ", "TYR"); |
2318 |
1 |
modifications.put("TYR", "TYR"); |
2319 |
1 |
modifications.put("TYS", "TYR"); |
2320 |
1 |
modifications.put("TYT", "TYR"); |
2321 |
1 |
modifications.put("TYU", "ASN"); |
2322 |
1 |
modifications.put("TYW", "TYR"); |
2323 |
1 |
modifications.put("TYX", "XAA"); |
2324 |
1 |
modifications.put("TYY", "TYR"); |
2325 |
1 |
modifications.put("TZB", "XAA"); |
2326 |
1 |
modifications.put("TZO", "XAA"); |
2327 |
1 |
modifications.put("U ", "UR3"); |
2328 |
1 |
modifications.put("U25", "UR3"); |
2329 |
1 |
modifications.put("U2L", "UR3"); |
2330 |
1 |
modifications.put("U2N", "UR3"); |
2331 |
1 |
modifications.put("U2P", "UR3"); |
2332 |
1 |
modifications.put("U31", "UR3"); |
2333 |
1 |
modifications.put("U33", "UR3"); |
2334 |
1 |
modifications.put("U34", "UR3"); |
2335 |
1 |
modifications.put("U36", "UR3"); |
2336 |
1 |
modifications.put("U37", "UR3"); |
2337 |
1 |
modifications.put("U8U", "UR3"); |
2338 |
1 |
modifications.put("UAR", "UR3"); |
2339 |
1 |
modifications.put("UCL", "UR3"); |
2340 |
1 |
modifications.put("UD5", "UR3"); |
2341 |
1 |
modifications.put("UDP", "ASN"); |
2342 |
1 |
modifications.put("UFP", "ASN"); |
2343 |
1 |
modifications.put("UFR", "UR3"); |
2344 |
1 |
modifications.put("UFT", "UR3"); |
2345 |
1 |
modifications.put("UMA", "ALA"); |
2346 |
1 |
modifications.put("UMP", "UR3"); |
2347 |
1 |
modifications.put("UMS", "UR3"); |
2348 |
1 |
modifications.put("UN1", "XAA"); |
2349 |
1 |
modifications.put("UN2", "XAA"); |
2350 |
1 |
modifications.put("UNK", "XAA"); |
2351 |
1 |
modifications.put("UR3", "UR3"); |
2352 |
1 |
modifications.put("URD", "UR3"); |
2353 |
1 |
modifications.put("US1", "UR3"); |
2354 |
1 |
modifications.put("US2", "UR3"); |
2355 |
1 |
modifications.put("US3", "THR"); |
2356 |
1 |
modifications.put("US5", "UR3"); |
2357 |
1 |
modifications.put("USM", "UR3"); |
2358 |
1 |
modifications.put("VAD", "VAL"); |
2359 |
1 |
modifications.put("VAF", "VAL"); |
2360 |
1 |
modifications.put("VAL", "VAL"); |
2361 |
1 |
modifications.put("VB1", "LYS"); |
2362 |
1 |
modifications.put("VDL", "XAA"); |
2363 |
1 |
modifications.put("VLL", "XAA"); |
2364 |
1 |
modifications.put("VLM", "XAA"); |
2365 |
1 |
modifications.put("VMS", "XAA"); |
2366 |
1 |
modifications.put("VOL", "XAA"); |
2367 |
1 |
modifications.put("WCR", "GYG"); |
2368 |
1 |
modifications.put("X ", "GLY"); |
2369 |
1 |
modifications.put("X2W", "GLU"); |
2370 |
1 |
modifications.put("X4A", "ASN"); |
2371 |
1 |
modifications.put("X9Q", "AFG"); |
2372 |
1 |
modifications.put("XAD", "ALA"); |
2373 |
1 |
modifications.put("XAE", "ASN"); |
2374 |
1 |
modifications.put("XAL", "ALA"); |
2375 |
1 |
modifications.put("XAR", "ASN"); |
2376 |
1 |
modifications.put("XCL", "CYS"); |
2377 |
1 |
modifications.put("XCN", "CYS"); |
2378 |
1 |
modifications.put("XCP", "XAA"); |
2379 |
1 |
modifications.put("XCR", "CYS"); |
2380 |
1 |
modifications.put("XCS", "ASN"); |
2381 |
1 |
modifications.put("XCT", "CYS"); |
2382 |
1 |
modifications.put("XCY", "CYS"); |
2383 |
1 |
modifications.put("XGA", "ASN"); |
2384 |
1 |
modifications.put("XGL", "GLY"); |
2385 |
1 |
modifications.put("XGR", "GLY"); |
2386 |
1 |
modifications.put("XGU", "GLY"); |
2387 |
1 |
modifications.put("XPR", "PRO"); |
2388 |
1 |
modifications.put("XSN", "ASN"); |
2389 |
1 |
modifications.put("XTH", "THR"); |
2390 |
1 |
modifications.put("XTL", "THR"); |
2391 |
1 |
modifications.put("XTR", "THR"); |
2392 |
1 |
modifications.put("XTS", "GLY"); |
2393 |
1 |
modifications.put("XTY", "ASN"); |
2394 |
1 |
modifications.put("XUA", "ALA"); |
2395 |
1 |
modifications.put("XUG", "GLY"); |
2396 |
1 |
modifications.put("XX1", "LYS"); |
2397 |
1 |
modifications.put("XXY", "THG"); |
2398 |
1 |
modifications.put("XYG", "DYG"); |
2399 |
1 |
modifications.put("Y ", "ALA"); |
2400 |
1 |
modifications.put("YCM", "CYS"); |
2401 |
1 |
modifications.put("YG ", "GLY"); |
2402 |
1 |
modifications.put("YOF", "TYR"); |
2403 |
1 |
modifications.put("YRR", "ASN"); |
2404 |
1 |
modifications.put("YYG", "GLY"); |
2405 |
1 |
modifications.put("Z ", "CYS"); |
2406 |
1 |
modifications.put("Z01", "ALA"); |
2407 |
1 |
modifications.put("ZAD", "ALA"); |
2408 |
1 |
modifications.put("ZAL", "ALA"); |
2409 |
1 |
modifications.put("ZBC", "CYS"); |
2410 |
1 |
modifications.put("ZBU", "UR3"); |
2411 |
1 |
modifications.put("ZCL", "PHE"); |
2412 |
1 |
modifications.put("ZCY", "CYS"); |
2413 |
1 |
modifications.put("ZDU", "UR3"); |
2414 |
1 |
modifications.put("ZFB", "XAA"); |
2415 |
1 |
modifications.put("ZGU", "GLY"); |
2416 |
1 |
modifications.put("ZHP", "ASN"); |
2417 |
1 |
modifications.put("ZTH", "THR"); |
2418 |
1 |
modifications.put("ZU0", "THR"); |
2419 |
1 |
modifications.put("ZZJ", "ALA"); |
2420 |
|
|
2421 |
|
} |
2422 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
2423 |
6819 |
public static String getCanonicalAminoAcid(String aA)... |
2424 |
|
{ |
2425 |
6819 |
String canonical = modifications.get(aA); |
2426 |
6819 |
return canonical == null ? aA : canonical; |
2427 |
|
} |
2428 |
|
|
2429 |
|
|
2430 |
|
|
2431 |
|
|
2432 |
|
|
2433 |
|
@param |
2434 |
|
|
|
|
| 0% |
Uncovered Elements: 35 (35) |
Complexity: 7 |
Complexity Density: 0.3 |
|
2435 |
0 |
public static void main(String[] args)... |
2436 |
|
{ |
2437 |
0 |
Hashtable<String, Vector<String>> aaProps = new Hashtable<>(); |
2438 |
0 |
jalview.bin.Console.outPrintln("my %aa = {"); |
2439 |
|
|
2440 |
0 |
for (String pname : propHash.keySet()) |
2441 |
|
{ |
2442 |
0 |
Map<String, Integer> phash = propHash.get(pname); |
2443 |
0 |
for (String rname : phash.keySet()) |
2444 |
|
{ |
2445 |
0 |
Vector<String> aprops = aaProps.get(rname); |
2446 |
0 |
if (aprops == null) |
2447 |
|
{ |
2448 |
0 |
aprops = new Vector<>(); |
2449 |
0 |
aaProps.put(rname, aprops); |
2450 |
|
} |
2451 |
0 |
Integer hasprop = phash.get(rname); |
2452 |
0 |
if (hasprop.intValue() == 1) |
2453 |
|
{ |
2454 |
0 |
aprops.addElement(pname); |
2455 |
|
} |
2456 |
|
} |
2457 |
|
} |
2458 |
0 |
Enumeration<String> res = aaProps.keys(); |
2459 |
0 |
while (res.hasMoreElements()) |
2460 |
|
{ |
2461 |
0 |
String rname = res.nextElement(); |
2462 |
|
|
2463 |
0 |
System.out.print("'" + rname + "' => ["); |
2464 |
0 |
Enumeration<String> props = aaProps.get(rname).elements(); |
2465 |
0 |
while (props.hasMoreElements()) |
2466 |
|
{ |
2467 |
0 |
System.out.print("'" + props.nextElement() + "'"); |
2468 |
0 |
if (props.hasMoreElements()) |
2469 |
|
{ |
2470 |
0 |
jalview.bin.Console.outPrintln(", "); |
2471 |
|
} |
2472 |
|
} |
2473 |
0 |
jalview.bin.Console |
2474 |
0 |
.outPrintln("]" + (res.hasMoreElements() ? "," : "")); |
2475 |
|
} |
2476 |
0 |
jalview.bin.Console.outPrintln("};"); |
2477 |
|
} |
2478 |
|
|
2479 |
|
|
2480 |
|
|
2481 |
|
|
2482 |
|
|
2483 |
|
|
2484 |
|
@param |
2485 |
|
@param |
2486 |
|
@return |
2487 |
|
|
|
|
| 0% |
Uncovered Elements: 27 (27) |
Complexity: 10 |
Complexity Density: 0.59 |
|
2488 |
0 |
public static List<String> getResidues(boolean forNucleotide,... |
2489 |
|
boolean includeAmbiguous) |
2490 |
|
{ |
2491 |
0 |
List<String> result = new ArrayList<>(); |
2492 |
0 |
if (forNucleotide) |
2493 |
|
{ |
2494 |
0 |
for (String nuc : nucleotideName.keySet()) |
2495 |
|
{ |
2496 |
0 |
int val = nucleotideIndex[nuc.charAt(0)]; |
2497 |
0 |
if ((!includeAmbiguous && val > 4) || (val >= maxNucleotideIndex)) |
2498 |
|
{ |
2499 |
0 |
continue; |
2500 |
|
} |
2501 |
0 |
nuc = nuc.toUpperCase(Locale.ROOT); |
2502 |
0 |
if (!result.contains(nuc)) |
2503 |
|
{ |
2504 |
0 |
result.add(nuc); |
2505 |
|
} |
2506 |
|
} |
2507 |
|
} |
2508 |
|
else |
2509 |
|
{ |
2510 |
|
|
2511 |
|
|
2512 |
|
|
2513 |
0 |
for (String res : aa3Hash.keySet()) |
2514 |
|
{ |
2515 |
0 |
int index = aa3Hash.get(res).intValue(); |
2516 |
0 |
if ((!includeAmbiguous && index >= 20) || index >= maxProteinIndex) |
2517 |
|
{ |
2518 |
0 |
continue; |
2519 |
|
} |
2520 |
0 |
res = res.toUpperCase(Locale.ROOT); |
2521 |
0 |
if (!result.contains(res)) |
2522 |
|
{ |
2523 |
0 |
result.add(res); |
2524 |
|
} |
2525 |
|
} |
2526 |
|
} |
2527 |
|
|
2528 |
0 |
return result; |
2529 |
|
} |
2530 |
|
|
2531 |
|
|
2532 |
|
|
2533 |
|
|
2534 |
|
@param |
2535 |
|
|
2536 |
|
@return |
2537 |
|
|
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
2538 |
4 |
public static char getSingleCharacterCode(String threeLetterCode)... |
2539 |
|
{ |
2540 |
4 |
if (threeLetterCode == null) |
2541 |
|
{ |
2542 |
0 |
return '0'; |
2543 |
|
} |
2544 |
4 |
Integer index = ResidueProperties.aa3Hash |
2545 |
|
.get(threeLetterCode.toUpperCase(Locale.ROOT)); |
2546 |
4 |
return index == null ? '0' : aa[index].charAt(0); |
2547 |
|
} |
2548 |
|
} |