-
-
Notifications
You must be signed in to change notification settings - Fork 542
/
canonical-data.json
324 lines (324 loc) · 9.28 KB
/
canonical-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
{
"exercise": "protein-translation",
"cases": [
{
"uuid": "2c44f7bf-ba20-43f7-a3bf-f2219c0c3f98",
"description": "Empty RNA sequence results in no proteins",
"comments": [
"Tracks may choose to expect an error when an empty RNA sequence ",
"is given, or use this test to expect an empty result. "
],
"property": "proteins",
"input": {
"strand": ""
},
"expected": []
},
{
"uuid": "96d3d44f-34a2-4db4-84cd-fff523e069be",
"description": "Methionine RNA sequence",
"property": "proteins",
"input": {
"strand": "AUG"
},
"expected": ["Methionine"]
},
{
"uuid": "1b4c56d8-d69f-44eb-be0e-7b17546143d9",
"description": "Phenylalanine RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UUU"
},
"expected": ["Phenylalanine"]
},
{
"uuid": "81b53646-bd57-4732-b2cb-6b1880e36d11",
"description": "Phenylalanine RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UUC"
},
"expected": ["Phenylalanine"]
},
{
"uuid": "42f69d4f-19d2-4d2c-a8b0-f0ae9ee1b6b4",
"description": "Leucine RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UUA"
},
"expected": ["Leucine"]
},
{
"uuid": "ac5edadd-08ed-40a3-b2b9-d82bb50424c4",
"description": "Leucine RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UUG"
},
"expected": ["Leucine"]
},
{
"uuid": "8bc36e22-f984-44c3-9f6b-ee5d4e73f120",
"description": "Serine RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UCU"
},
"expected": ["Serine"]
},
{
"uuid": "5c3fa5da-4268-44e5-9f4b-f016ccf90131",
"description": "Serine RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UCC"
},
"expected": ["Serine"]
},
{
"uuid": "00579891-b594-42b4-96dc-7ff8bf519606",
"description": "Serine RNA sequence 3",
"property": "proteins",
"input": {
"strand": "UCA"
},
"expected": ["Serine"]
},
{
"uuid": "08c61c3b-fa34-4950-8c4a-133945570ef6",
"description": "Serine RNA sequence 4",
"property": "proteins",
"input": {
"strand": "UCG"
},
"expected": ["Serine"]
},
{
"uuid": "54e1e7d8-63c0-456d-91d2-062c72f8eef5",
"description": "Tyrosine RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UAU"
},
"expected": ["Tyrosine"]
},
{
"uuid": "47bcfba2-9d72-46ad-bbce-22f7666b7eb1",
"description": "Tyrosine RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UAC"
},
"expected": ["Tyrosine"]
},
{
"uuid": "3a691829-fe72-43a7-8c8e-1bd083163f72",
"description": "Cysteine RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UGU"
},
"expected": ["Cysteine"]
},
{
"uuid": "1b6f8a26-ca2f-43b8-8262-3ee446021767",
"description": "Cysteine RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UGC"
},
"expected": ["Cysteine"]
},
{
"uuid": "1e91c1eb-02c0-48a0-9e35-168ad0cb5f39",
"description": "Tryptophan RNA sequence",
"property": "proteins",
"input": {
"strand": "UGG"
},
"expected": ["Tryptophan"]
},
{
"uuid": "e547af0b-aeab-49c7-9f13-801773a73557",
"description": "STOP codon RNA sequence 1",
"property": "proteins",
"input": {
"strand": "UAA"
},
"expected": []
},
{
"uuid": "67640947-ff02-4f23-a2ef-816f8a2ba72e",
"description": "STOP codon RNA sequence 2",
"property": "proteins",
"input": {
"strand": "UAG"
},
"expected": []
},
{
"uuid": "9c2ad527-ebc9-4ace-808b-2b6447cb54cb",
"description": "STOP codon RNA sequence 3",
"property": "proteins",
"input": {
"strand": "UGA"
},
"expected": []
},
{
"uuid": "f4d9d8ee-00a8-47bf-a1e3-1641d4428e54",
"description": "Sequence of two protein codons translates into proteins",
"property": "proteins",
"input": {
"strand": "UUUUUU"
},
"expected": ["Phenylalanine", "Phenylalanine"]
},
{
"uuid": "dd22eef3-b4f1-4ad6-bb0b-27093c090a9d",
"description": "Sequence of two different protein codons translates into proteins",
"comments": [
"The codons are different, the proteins they translate into are not."
],
"property": "proteins",
"input": {
"strand": "UUAUUG"
},
"expected": ["Leucine", "Leucine"]
},
{
"uuid": "d0f295df-fb70-425c-946c-ec2ec185388e",
"description": "Translate RNA strand into correct protein list",
"property": "proteins",
"input": {
"strand": "AUGUUUUGG"
},
"expected": ["Methionine", "Phenylalanine", "Tryptophan"]
},
{
"uuid": "e30e8505-97ec-4e5f-a73e-5726a1faa1f4",
"description": "Translation stops if STOP codon at beginning of sequence",
"property": "proteins",
"input": {
"strand": "UAGUGG"
},
"expected": []
},
{
"uuid": "5358a20b-6f4c-4893-bce4-f929001710f3",
"description": "Translation stops if STOP codon at end of two-codon sequence",
"property": "proteins",
"input": {
"strand": "UGGUAG"
},
"expected": ["Tryptophan"]
},
{
"uuid": "ba16703a-1a55-482f-bb07-b21eef5093a3",
"description": "Translation stops if STOP codon at end of three-codon sequence",
"property": "proteins",
"input": {
"strand": "AUGUUUUAA"
},
"expected": ["Methionine", "Phenylalanine"]
},
{
"uuid": "4089bb5a-d5b4-4e71-b79e-b8d1f14a2911",
"description": "Translation stops if STOP codon in middle of three-codon sequence",
"property": "proteins",
"input": {
"strand": "UGGUAGUGG"
},
"expected": ["Tryptophan"]
},
{
"uuid": "2c2a2a60-401f-4a80-b977-e0715b23b93d",
"description": "Translation stops if STOP codon in middle of six-codon sequence",
"property": "proteins",
"input": {
"strand": "UGGUGUUAUUAAUGGUUU"
},
"expected": ["Tryptophan", "Cysteine", "Tyrosine"]
},
{
"uuid": "f6f92714-769f-4187-9524-e353e8a41a80",
"description": "Sequence of two non-STOP codons does not translate to a STOP codon",
"property": "proteins",
"input": {
"strand": "AUGAUG"
},
"expected": ["Methionine", "Methionine"]
},
{
"uuid": "1e75ea2a-f907-4994-ae5c-118632a1cb0f",
"description": "Non-existing codon can't translate",
"comments": [
"It's up to a track how to behave when a non-existing codon is ",
"passed; to simplify the exercise, this test may be excluded in ",
"order to remove the requirement for input validation. "
],
"scenarios": ["input-validation"],
"property": "proteins",
"input": {
"strand": "AAA"
},
"expected": {
"error": "Invalid codon"
}
},
{
"uuid": "9eac93f3-627a-4c90-8653-6d0a0595bc6f",
"reimplements": "1e75ea2a-f907-4994-ae5c-118632a1cb0f",
"description": "Unknown amino acids, not part of a codon, can't translate",
"comments": [
"It's up to a track how to behave when a character is encountered ",
"that doesn't represent one of the amino acids part of one of the ",
"codons. To simplify the exercise, this test may be excluded in ",
"order to remove the requirement for input validation. "
],
"scenarios": ["input-validation"],
"property": "proteins",
"input": {
"strand": "XYZ"
},
"expected": {
"error": "Invalid codon"
}
},
{
"uuid": "9d73899f-e68e-4291-b1e2-7bf87c00f024",
"description": "Incomplete RNA sequence can't translate",
"comments": [
"It's up to a track how to behave when a sequence is incomplete. ",
"To simplify the exercise, this test may be excluded in order to ",
"remove the requirement for input validation. "
],
"scenarios": ["input-validation"],
"property": "proteins",
"input": {
"strand": "AUGU"
},
"expected": {
"error": "Invalid codon"
}
},
{
"uuid": "43945cf7-9968-402d-ab9f-b8a28750b050",
"description": "Incomplete RNA sequence can translate if valid until a STOP codon",
"comments": [
"It's up to a track how to behave when a sequence is incomplete. ",
"To simplify the exercise, this test may be excluded in order to ",
"allow implementations to validate the strand before translating ",
"it into proteins. "
],
"scenarios": ["input-validation", "runtime-validation"],
"property": "proteins",
"input": {
"strand": "UUCUUCUAAUGGU"
},
"expected": ["Phenylalanine", "Phenylalanine"]
}
]
}