dsh-molbio-tools 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -0
- package/README.md +65 -21
- package/align.mjs +28 -0
- package/batch.mjs +185 -0
- package/benchmark/README.md +27 -8
- package/benchmark/sequences.mjs +7 -0
- package/benchmark/tasks/02-primers.json +132 -19
- package/benchmark/tasks/03-restriction.json +113 -29
- package/benchmark/tasks/04-cloning.json +167 -34
- package/benchmark/tasks/05-plasmids.json +172 -29
- package/benchmark/tasks/06-analysis.json +387 -100
- package/benchmark/tasks/09-formats.json +132 -23
- package/benchmark/tools.mjs +28 -2
- package/benchmark/verifications.mjs +17 -1
- package/build/release-preflight.mjs +2 -2
- package/crispr.mjs +392 -78
- package/docs/history.md +10 -0
- package/docs/maintainer.md +8 -6
- package/docs/roadmap.md +22 -8
- package/docs/rules.md +1 -1
- package/docs/workflow.md +7 -7
- package/fastq-qc.mjs +735 -735
- package/index.mjs +573 -36
- package/lib/client.js +665 -86
- package/multiplex.mjs +87 -0
- package/package.json +9 -4
- package/packages/molbio-panel/lib/client.js +665 -86
- package/packages/molbio-panel/package.json +1 -1
- package/preset/molbio-lab/agent.cordis.yml +4 -4
- package/preset/molbio-lab/preset.patch.yml +2 -2
- package/preset/molbio-lab/preset.yml +1 -1
- package/silent-site.mjs +286 -0
- package/snapgene.mjs +17 -1
- package/taqman.mjs +163 -7
- package/test/contract.mjs +14 -0
- package/test/release.mjs +23 -3
- package/test/smoke.mjs +377 -3
- package/benchmark/reports/20260923-142935-suite.json +0 -545
- package/benchmark/reports/20260923-142935-suite.md +0 -30
- package/benchmark/reports/20260923-190149-suite.json +0 -2024
- package/benchmark/reports/20260923-190149-suite.md +0 -235
- package/benchmark/reports/20260923-192913-suite.json +0 -1856
- package/benchmark/reports/20260923-192913-suite.md +0 -158
- package/benchmark/reports/20260923-200212-suite.json +0 -3587
- package/benchmark/reports/20260923-200212-suite.md +0 -163
- package/benchmark/reports/20260923-202830-suite.json +0 -3129
- package/benchmark/reports/20260923-202830-suite.md +0 -99
- package/benchmark/reports/20260923-203856-suite.json +0 -71
- package/benchmark/reports/20260923-203856-suite.md +0 -16
|
@@ -12,236 +12,523 @@
|
|
|
12
12
|
"id": "protein-props",
|
|
13
13
|
"category": "protein",
|
|
14
14
|
"tier": "full",
|
|
15
|
-
"covers": [
|
|
15
|
+
"covers": [
|
|
16
|
+
"molbio_protein_props"
|
|
17
|
+
],
|
|
16
18
|
"instruction": "I have a peptide and I need its basic physico-chemical parameters before I order it: molecular weight, isoelectric point, and the extinction coefficient I should use for a A280 measurement.\n\nMKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ",
|
|
17
19
|
"timeout_ms": 180000,
|
|
18
|
-
"expect_tools": [
|
|
20
|
+
"expect_tools": [
|
|
21
|
+
"molbio_protein_props"
|
|
22
|
+
],
|
|
19
23
|
"assertions": [
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
|
|
24
|
+
{
|
|
25
|
+
"where": "tool",
|
|
26
|
+
"pattern": "33 aa · MW 3935\\.62 Da · pI 10\\.63"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"where": "tool",
|
|
30
|
+
"pattern": "A280 extinction: 1490 M⁻¹cm⁻¹"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"where": "tool",
|
|
34
|
+
"pattern": "GRAVY -0\\.403"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"where": "answer",
|
|
38
|
+
"pattern": "3[,.]?935|3[,.]?936",
|
|
39
|
+
"note": "the peptide MW; accepts the decimal/thousands formatting a human writes"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"where": "answer",
|
|
43
|
+
"pattern": "10\\.6"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"where": "answer",
|
|
47
|
+
"pattern": "1490"
|
|
48
|
+
}
|
|
26
49
|
]
|
|
27
50
|
},
|
|
28
51
|
{
|
|
29
52
|
"id": "peptide-digest",
|
|
30
53
|
"category": "protein",
|
|
31
54
|
"tier": "full",
|
|
32
|
-
"covers": [
|
|
55
|
+
"covers": [
|
|
56
|
+
"molbio_peptide_digest"
|
|
57
|
+
],
|
|
33
58
|
"instruction": "Plan a trypsin digest of this peptide for mass spectrometry, with no missed cleavages, and give me the monoisotopic [M+H]+ mass of every peptide.\n\nMKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ",
|
|
34
59
|
"timeout_ms": 180000,
|
|
35
|
-
"expect_tools": [
|
|
60
|
+
"expect_tools": [
|
|
61
|
+
"molbio_peptide_digest"
|
|
62
|
+
],
|
|
36
63
|
"assertions": [
|
|
37
|
-
{
|
|
64
|
+
{
|
|
65
|
+
"where": "tool",
|
|
66
|
+
"pattern": "trypsin digest, 0 missed cleavage\\(s\\), monoisotopic \\[M\\+H\\]\\+ masses: 7 peptide\\(s\\)"
|
|
67
|
+
},
|
|
38
68
|
{
|
|
39
69
|
"where": "tool",
|
|
40
70
|
"pattern": "1-2 MK \\[M\\+H\\]\\+ 278\\.1533",
|
|
41
71
|
"note": "one space, not the two the raw render uses: every regex is matched against whitespace-COLLAPSED text, so a pattern built from the un-collapsed output cannot match. The first version of this assertion carried the raw double space and failed offline."
|
|
42
72
|
},
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
73
|
+
{
|
|
74
|
+
"where": "tool",
|
|
75
|
+
"pattern": "27-33 LGLIEVQ \\[M\\+H\\]\\+ 771\\.4611"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"where": "answer",
|
|
79
|
+
"pattern": "\\b7\\b|seven"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"where": "answer",
|
|
83
|
+
"pattern": "278\\.15"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"where": "answer",
|
|
87
|
+
"pattern": "771\\.46"
|
|
88
|
+
}
|
|
47
89
|
]
|
|
48
90
|
},
|
|
49
91
|
{
|
|
50
92
|
"id": "helical-wheel",
|
|
51
93
|
"category": "protein",
|
|
52
94
|
"tier": "full",
|
|
53
|
-
"covers": [
|
|
95
|
+
"covers": [
|
|
96
|
+
"molbio_helical_wheel"
|
|
97
|
+
],
|
|
54
98
|
"instruction": "Is this 14-residue peptide amphipathic? Draw the helical wheel projection and give me the hydrophobic moment and the residue-class breakdown.\n\nLKKLLKKLLKKLLK",
|
|
55
99
|
"timeout_ms": 240000,
|
|
56
|
-
"expect_tools": [
|
|
100
|
+
"expect_tools": [
|
|
101
|
+
"molbio_helical_wheel"
|
|
102
|
+
],
|
|
57
103
|
"assertions": [
|
|
58
|
-
{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
|
|
104
|
+
{
|
|
105
|
+
"where": "tool",
|
|
106
|
+
"pattern": "helical wheel for residues 1-14 \\(14 residues, 100°/residue, 3\\.6 per turn\\)"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"where": "tool",
|
|
110
|
+
"pattern": "hydrophobic moment μH 0\\.758"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"where": "tool",
|
|
114
|
+
"pattern": "residue classes: hydrophobic 7, polar 0, acidic 0, basic 7"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"where": "tool",
|
|
118
|
+
"pattern": "candidate amphipathic helix",
|
|
119
|
+
"note": "the tool's own verdict word"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"where": "answer",
|
|
123
|
+
"pattern": "0\\.75|0\\.76"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"where": "answer",
|
|
127
|
+
"pattern": "amphipathic"
|
|
128
|
+
}
|
|
64
129
|
]
|
|
65
130
|
},
|
|
66
131
|
{
|
|
67
132
|
"id": "hydropathy",
|
|
68
133
|
"category": "protein",
|
|
69
134
|
"tier": "full",
|
|
70
|
-
"covers": [
|
|
135
|
+
"covers": [
|
|
136
|
+
"molbio_hydropathy_plot"
|
|
137
|
+
],
|
|
71
138
|
"instruction": "Plot the Kyte-Doolittle hydropathy profile of this peptide with the standard window and tell me whether it contains a candidate transmembrane stretch. Report the GRAVY value too.\n\nMKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ",
|
|
72
139
|
"timeout_ms": 240000,
|
|
73
|
-
"expect_tools": [
|
|
140
|
+
"expect_tools": [
|
|
141
|
+
"molbio_hydropathy_plot"
|
|
142
|
+
],
|
|
74
143
|
"assertions": [
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
{
|
|
144
|
+
{
|
|
145
|
+
"where": "tool",
|
|
146
|
+
"pattern": "Kyte-Doolittle hydropathy: 33 aa, window 9, threshold 1\\.6"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"where": "tool",
|
|
150
|
+
"pattern": "GRAVY -0\\.4"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"where": "tool",
|
|
154
|
+
"pattern": "no window average reaches the 1\\.6 threshold"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"where": "answer",
|
|
158
|
+
"pattern": "-0\\.4"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"where": "answer",
|
|
162
|
+
"pattern": "no .{0,20}(peak|stretch|span|transmembrane)|not .{0,20}(hydrophobic|membrane)"
|
|
163
|
+
}
|
|
80
164
|
]
|
|
81
165
|
},
|
|
82
166
|
{
|
|
83
167
|
"id": "codon-optimize",
|
|
84
168
|
"category": "bench-analysis",
|
|
85
169
|
"tier": "full",
|
|
86
|
-
"covers": [
|
|
170
|
+
"covers": [
|
|
171
|
+
"molbio_codon_optimize"
|
|
172
|
+
],
|
|
87
173
|
"instruction": "Optimize this coding sequence for E. coli expression and tell me the GC content of the result and how long it is. Also remove any EcoRI site from it while you are at it, since I want to clone with EcoRI.\n\n{seq:cds}",
|
|
88
174
|
"timeout_ms": 240000,
|
|
89
|
-
"expect_tools": [
|
|
175
|
+
"expect_tools": [
|
|
176
|
+
"molbio_codon_optimize"
|
|
177
|
+
],
|
|
90
178
|
"assertions": [
|
|
91
179
|
{
|
|
92
180
|
"where": "tool",
|
|
93
181
|
"pattern": "e_coli codon-optimized DNA: [0-9]+ bp, GC [0-9.]+%",
|
|
94
182
|
"note": "the optimized construct's own reported length and GC. The VALUES are not pinned: the task asks for the EcoRI-avoidance pass, and passing `avoid_enzymes` legitimately changes which synonymous codons are chosen, hence both numbers. The first version pinned the no-avoidance result (261 bp / 84.3%) and failed a correct `avoid_enzymes` answer — and 84.3% GC would in fact be a poor answer to give a user who wants to express the protein."
|
|
95
183
|
},
|
|
96
|
-
{
|
|
97
|
-
|
|
184
|
+
{
|
|
185
|
+
"where": "answer",
|
|
186
|
+
"pattern": "GC|gc content"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"where": "answer",
|
|
190
|
+
"pattern": "avoid|no EcoRI|without EcoRI|EcoRI site|EcoRI-free|free of EcoRI",
|
|
191
|
+
"note": "the model may say EcoRI-free rather than 'no EcoRI'"
|
|
192
|
+
}
|
|
98
193
|
]
|
|
99
194
|
},
|
|
100
195
|
{
|
|
101
196
|
"id": "reading-frames",
|
|
102
197
|
"category": "bench-analysis",
|
|
103
198
|
"tier": "full",
|
|
104
|
-
"covers": [
|
|
199
|
+
"covers": [
|
|
200
|
+
"molbio_translate"
|
|
201
|
+
],
|
|
105
202
|
"instruction": "I do not know which frame this ORF is in. Translate all six frames and report every open reading frame of at least 20 amino acids, with the frame it is in and its coordinates.\n\nGGG{seq:cds}",
|
|
106
203
|
"timeout_ms": 240000,
|
|
107
|
-
"expect_tools": [
|
|
204
|
+
"expect_tools": [
|
|
205
|
+
"molbio_translate"
|
|
206
|
+
],
|
|
108
207
|
"assertions": [
|
|
109
|
-
{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
{
|
|
114
|
-
|
|
208
|
+
{
|
|
209
|
+
"where": "tool",
|
|
210
|
+
"pattern": "ORFs \\(>= min_orf_aa\\):"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"where": "tool",
|
|
214
|
+
"pattern": "frame 1, bases 4-90, 28 aa: MAAAEEEFFFKKKGGGRRRYYYDDDLLL"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"where": "tool",
|
|
218
|
+
"pattern": "frame -1 \\(30 aa, 0 stop\\(s\\), no stop\\)",
|
|
219
|
+
"note": "a reverse-strand frame with no stop codon — the reason all six were requested"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"where": "answer",
|
|
223
|
+
"pattern": "MAAAEEEFFFKKKGGGRRRYYYDDDLLL"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"where": "answer",
|
|
227
|
+
"pattern": "\\b28\\b"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"where": "answer",
|
|
231
|
+
"pattern": "-1|reverse"
|
|
232
|
+
}
|
|
115
233
|
]
|
|
116
234
|
},
|
|
117
235
|
{
|
|
118
236
|
"id": "qpcr-efficiency",
|
|
119
237
|
"category": "qpcr",
|
|
120
238
|
"tier": "full",
|
|
121
|
-
"covers": [
|
|
239
|
+
"covers": [
|
|
240
|
+
"molbio_qpcr_efficiency"
|
|
241
|
+
],
|
|
122
242
|
"instruction": "Here is a qPCR standard curve: dilution factors 1, 10, 100, 1000 with Ct values 15.0, 18.3, 21.6, 24.9. Fit the curve, give me the slope, the R² and the amplification efficiency, and tell me whether the efficiency is good enough to trust the assay.\n\n",
|
|
123
243
|
"timeout_ms": 240000,
|
|
124
|
-
"expect_tools": [
|
|
244
|
+
"expect_tools": [
|
|
245
|
+
"molbio_qpcr_efficiency"
|
|
246
|
+
],
|
|
125
247
|
"assertions": [
|
|
126
|
-
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
{
|
|
248
|
+
{
|
|
249
|
+
"where": "tool",
|
|
250
|
+
"pattern": "standard curve from 4 points: Ct = 15 \\+ -3\\.3·log10\\(relative quantity\\)"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"where": "tool",
|
|
254
|
+
"pattern": "R² = 1 · efficiency = 100\\.92%"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"where": "answer",
|
|
258
|
+
"pattern": "-3\\.3"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"where": "answer",
|
|
262
|
+
"pattern": "100\\.9|101\\b"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"where": "answer",
|
|
266
|
+
"pattern": "R²|R2|R\\^2"
|
|
267
|
+
}
|
|
131
268
|
]
|
|
132
269
|
},
|
|
133
270
|
{
|
|
134
271
|
"id": "plotting",
|
|
135
272
|
"category": "visualisation",
|
|
136
273
|
"tier": "full",
|
|
137
|
-
"covers": [
|
|
274
|
+
"covers": [
|
|
275
|
+
"molbio_plot"
|
|
276
|
+
],
|
|
138
277
|
"instruction": "I have fold-change data from two conditions: control = 1 with SD 0.1, knockdown = 6.65 with SD 0.9. Draw me a bar chart with error bars, and then draw a second scatter chart of x = 1,2,3,4 against y = 2.1,3.9,6.2,7.8 with a fitted line. Name the files fold.svg and fit.svg.",
|
|
139
278
|
"timeout_ms": 300000,
|
|
140
|
-
"expect_tools": [
|
|
279
|
+
"expect_tools": [
|
|
280
|
+
"molbio_plot"
|
|
281
|
+
],
|
|
141
282
|
"assertions": [
|
|
142
|
-
{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
283
|
+
{
|
|
284
|
+
"where": "tool",
|
|
285
|
+
"pattern": "fold\\.svg \\(bar\\): 2 points"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"where": "tool",
|
|
289
|
+
"pattern": "fit\\.svg \\(scatter\\): 4 points"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"where": "answer",
|
|
293
|
+
"pattern": "fold\\.svg"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"where": "answer",
|
|
297
|
+
"pattern": "fit\\.svg"
|
|
298
|
+
}
|
|
146
299
|
]
|
|
147
300
|
},
|
|
148
301
|
{
|
|
149
302
|
"id": "chart-box-plot",
|
|
150
303
|
"category": "visualisation",
|
|
151
304
|
"tier": "full",
|
|
152
|
-
"covers": [
|
|
305
|
+
"covers": [
|
|
306
|
+
"molbio_plot"
|
|
307
|
+
],
|
|
153
308
|
"instruction": "The qPCR run is in the workspace as ct.csv (columns sample, strain, ct). Compare the two strains as a box plot — I want to see the spread and any wells that failed, and I need the median Ct of each strain. Write it to ct-box.svg.",
|
|
154
309
|
"timeout_ms": 300000,
|
|
155
|
-
"expect_tools": [
|
|
310
|
+
"expect_tools": [
|
|
311
|
+
"molbio_plot"
|
|
312
|
+
],
|
|
156
313
|
"assertions": [
|
|
157
|
-
{
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
{
|
|
162
|
-
|
|
163
|
-
|
|
314
|
+
{
|
|
315
|
+
"where": "tool",
|
|
316
|
+
"pattern": "ct-box\\.svg \\(box\\): 2 series, 12 values"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"where": "tool",
|
|
320
|
+
"pattern": "wt: 6 values, median 22\\.5",
|
|
321
|
+
"note": "the per-series summary the tool renders"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"where": "tool",
|
|
325
|
+
"pattern": "ko: 6 values, median 19\\.5"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"where": "tool",
|
|
329
|
+
"pattern": "outliers 34\\.5",
|
|
330
|
+
"note": "the failed well is reported as an outlier, not folded into the whisker"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"where": "answer",
|
|
334
|
+
"pattern": "22\\.5"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"where": "answer",
|
|
338
|
+
"pattern": "19\\.5"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"where": "answer",
|
|
342
|
+
"pattern": "outlier|34\\.5"
|
|
343
|
+
}
|
|
164
344
|
]
|
|
165
345
|
},
|
|
166
346
|
{
|
|
167
347
|
"id": "chart-line-series",
|
|
168
348
|
"category": "visualisation",
|
|
169
349
|
"tier": "full",
|
|
170
|
-
"covers": [
|
|
350
|
+
"covers": [
|
|
351
|
+
"molbio_plot"
|
|
352
|
+
],
|
|
171
353
|
"instruction": "growth.csv in the workspace has time_h, strain and od600 columns for three strains. Plot the growth curves as one line chart with a line per strain, and tell me which strain grew least. Write it to growth.svg.",
|
|
172
354
|
"timeout_ms": 300000,
|
|
173
|
-
"expect_tools": [
|
|
355
|
+
"expect_tools": [
|
|
356
|
+
"molbio_plot"
|
|
357
|
+
],
|
|
174
358
|
"assertions": [
|
|
175
|
-
{
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
359
|
+
{
|
|
360
|
+
"where": "tool",
|
|
361
|
+
"pattern": "growth\\.svg \\(line\\): 3 series, 12 points",
|
|
362
|
+
"note": "the group column must split the table into three series, not plot one jumbled line"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"where": "tool",
|
|
366
|
+
"pattern": "y 0\\.04 to 1\\.41",
|
|
367
|
+
"note": "the y extent of the real table, so the tool was given the data and not an empty frame"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"where": "answer",
|
|
371
|
+
"pattern": "mutA"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"where": "answer",
|
|
375
|
+
"pattern": "0\\.52|0\\.5\\b"
|
|
376
|
+
}
|
|
179
377
|
]
|
|
180
378
|
},
|
|
181
379
|
{
|
|
182
380
|
"id": "chart-histogram",
|
|
183
381
|
"category": "visualisation",
|
|
184
382
|
"tier": "full",
|
|
185
|
-
"covers": [
|
|
383
|
+
"covers": [
|
|
384
|
+
"molbio_plot"
|
|
385
|
+
],
|
|
186
386
|
"instruction": "From the same ct.csv, show me the distribution of all twelve Ct values as a histogram so I can see how the run behaved overall. Write it to ct-hist.svg.",
|
|
187
387
|
"timeout_ms": 300000,
|
|
188
|
-
"expect_tools": [
|
|
388
|
+
"expect_tools": [
|
|
389
|
+
"molbio_plot"
|
|
390
|
+
],
|
|
189
391
|
"assertions": [
|
|
190
|
-
{
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
392
|
+
{
|
|
393
|
+
"where": "tool",
|
|
394
|
+
"pattern": "ct-hist\\.svg \\(histogram\\): 12 values in \\d+ bins",
|
|
395
|
+
"note": "the bin count is chosen by the tool's own rule, so only its shape is pinned"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"where": "tool",
|
|
399
|
+
"pattern": "freedman-diaconis",
|
|
400
|
+
"note": "the default binning rule is named in the output"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"where": "tool",
|
|
404
|
+
"pattern": "range 19\\.1 to 34\\.5",
|
|
405
|
+
"note": "the sample's real extent"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"where": "answer",
|
|
409
|
+
"pattern": "19\\.1"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"where": "answer",
|
|
413
|
+
"pattern": "34\\.5"
|
|
414
|
+
}
|
|
195
415
|
]
|
|
196
416
|
},
|
|
197
417
|
{
|
|
198
418
|
"id": "chart-violin",
|
|
199
419
|
"category": "visualisation",
|
|
200
420
|
"tier": "full",
|
|
201
|
-
"covers": [
|
|
421
|
+
"covers": [
|
|
422
|
+
"molbio_plot"
|
|
423
|
+
],
|
|
202
424
|
"instruction": "For the same ct.csv, I want to see the SHAPE of the distribution per strain, not just a box — one of the strains has a failed well that a box hides. Draw it as a violin plot with the median and IQR marked, write it to ct-violin.svg, and tell me each strain's median and whether the outlier changes the shape.",
|
|
203
425
|
"timeout_ms": 300000,
|
|
204
|
-
"expect_tools": [
|
|
426
|
+
"expect_tools": [
|
|
427
|
+
"molbio_plot"
|
|
428
|
+
],
|
|
205
429
|
"assertions": [
|
|
206
|
-
{
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
{
|
|
211
|
-
|
|
212
|
-
|
|
430
|
+
{
|
|
431
|
+
"where": "tool",
|
|
432
|
+
"pattern": "ct-violin\\.svg \\(violin\\): 2 series, 12 values"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"where": "tool",
|
|
436
|
+
"pattern": "wt: 6 values, median 22\\.5"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"where": "tool",
|
|
440
|
+
"pattern": "ko: 6 values, median 19\\.5"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"where": "tool",
|
|
444
|
+
"pattern": "outliers 34\\.5"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"where": "answer",
|
|
448
|
+
"pattern": "22\\.5"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"where": "answer",
|
|
452
|
+
"pattern": "19\\.5"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"where": "answer",
|
|
456
|
+
"pattern": "outlier|34\\.5|spike|tail"
|
|
457
|
+
}
|
|
213
458
|
]
|
|
214
459
|
},
|
|
215
460
|
{
|
|
216
461
|
"id": "chart-volcano",
|
|
217
462
|
"category": "visualisation",
|
|
218
463
|
"tier": "full",
|
|
219
|
-
"covers": [
|
|
464
|
+
"covers": [
|
|
465
|
+
"molbio_plot"
|
|
466
|
+
],
|
|
220
467
|
"instruction": "de.csv in the workspace has a differential-expression table with gene, log2fc and p columns. Draw a volcano plot to de.svg and tell me which genes are both significantly changed AND substantially changed — I do not want genes that only move a little, or only look good on one of the two axes.",
|
|
221
468
|
"timeout_ms": 300000,
|
|
222
|
-
"expect_tools": [
|
|
469
|
+
"expect_tools": [
|
|
470
|
+
"molbio_plot"
|
|
471
|
+
],
|
|
223
472
|
"assertions": [
|
|
224
|
-
{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
473
|
+
{
|
|
474
|
+
"where": "tool",
|
|
475
|
+
"pattern": "de\\.svg \\(volcano\\): 6 points, 4 significant",
|
|
476
|
+
"note": "the task asked for de.svg; the old assertion pinned volcano.svg, so a correct model failed on the filename"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"where": "tool",
|
|
480
|
+
"pattern": "2 up, 2 down"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"where": "answer",
|
|
484
|
+
"pattern": "KRAS"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"where": "answer",
|
|
488
|
+
"pattern": "TP53"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"where": "answer",
|
|
492
|
+
"pattern": "MYC|PTEN",
|
|
493
|
+
"note": "the two genes the model must EXCLUDE — naming them as excluded is fine, so this only requires they were considered"
|
|
494
|
+
}
|
|
229
495
|
]
|
|
230
496
|
},
|
|
231
497
|
{
|
|
232
498
|
"id": "chart-heatmap",
|
|
233
499
|
"category": "visualisation",
|
|
234
500
|
"tier": "full",
|
|
235
|
-
"covers": [
|
|
501
|
+
"covers": [
|
|
502
|
+
"molbio_plot"
|
|
503
|
+
],
|
|
236
504
|
"instruction": "expression.tsv is a wide table: the first column is the gene name and the rest are samples. Draw it as a heatmap to heatmap.svg, row-scaled so the genes are comparable, and tell me which genes separate the control columns from the kd columns.",
|
|
237
505
|
"timeout_ms": 300000,
|
|
238
|
-
"expect_tools": [
|
|
506
|
+
"expect_tools": [
|
|
507
|
+
"molbio_plot"
|
|
508
|
+
],
|
|
239
509
|
"assertions": [
|
|
240
|
-
{
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
{
|
|
510
|
+
{
|
|
511
|
+
"where": "tool",
|
|
512
|
+
"pattern": "heatmap\\.svg \\(heatmap\\): 4 rows x 6 columns, 24 cells"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"where": "tool",
|
|
516
|
+
"pattern": "scale row_zscore",
|
|
517
|
+
"note": "the requested display transform is named in the output"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"where": "tool",
|
|
521
|
+
"pattern": "colour divergingRedBlue",
|
|
522
|
+
"note": "negative values select the diverging ramp automatically"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"where": "answer",
|
|
526
|
+
"pattern": "KRAS"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"where": "answer",
|
|
530
|
+
"pattern": "TP53"
|
|
531
|
+
}
|
|
245
532
|
]
|
|
246
533
|
}
|
|
247
534
|
]
|