File size: 16,619 Bytes
27fe7df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
{
  "schema": "neutral-paper-reproduction-v101",
  "paper_id": "P059",
  "title": "Large-scale prediction and testing of drug activity on side-effect targets",
  "question": "Reproduce this paper’s own SEA profiling, validation, nearest-neighbor comparison, target sequence, adverse-reaction and promiscuity experiments using the supplied source materials. Explicitly distinguish new SEA/BLAST execution, original raw-assay reconstruction and reanalysis of the released S3--S8 cells.",
  "inputs": {
    "docs": "Published article and supplementary methods.",
    "workbook": "inputs/workbook.cells.json: lossless original workbook cells with sheet names, Excel row numbers, values and cell types. The original XLS is also supplied.",
    "calculations": "inputs/calculations.json: numerical method requests, with original-formula and threshold boundary cases."
  },
  "scientific_outputs": {
    "table_results.json": {
      "S3": {
        "measurement_rows": "finite number",
        "pairs": "finite number",
        "duplicate_measurement_rows": "finite number",
        "unique_drugs": "finite number",
        "unique_targets": "finite number",
        "potency_pair_counts": {
          "30": "finite number",
          "10": "finite number",
          "1": "finite number"
        },
        "unrelated_pairs": "finite number",
        "unrelated_rows": "finite number"
      },
      "pairs": {
        "type": "array",
        "items": {
          "drug": "string from the current source record or the operation definition",
          "target": "string from the current source record or the operation definition",
          "rows": {
            "type": "array",
            "items": "finite number",
            "length": "determined by the current input"
          },
          "activity_min": "finite number",
          "activity_values": {
            "type": "array",
            "items": "finite number",
            "length": "determined by the current input"
          },
          "unrelated": "boolean",
          "blast_values": {
            "type": "array",
            "items": "finite number",
            "length": "determined by the current input"
          },
          "annotations": {
            "type": "array",
            "items": "string from the current source record or the operation definition",
            "length": "determined by the current input"
          }
        },
        "length": "determined by the current input"
      },
      "union": {
        "type": "array",
        "items": {
          "drug": "string from the current source record or the operation definition",
          "target": "string from the current source record or the operation definition",
          "minimum_uM": "finite number",
          "rows": {
            "type": "array",
            "items": {
              "sheet": "string from the current source record or the operation definition",
              "excel_row": "finite number"
            },
            "length": "determined by the current input"
          }
        },
        "length": "determined by the current input"
      },
      "potency_counts": {
        "30": "finite number",
        "10": "finite number",
        "1": "finite number"
      },
      "adjusted_rates": {
        "type": "array",
        "items": {
          "excel_row": "finite number",
          "drug": "string from the current source record or the operation definition",
          "model": "string from the current source record or the operation definition",
          "tc": "finite number",
          "bin": "finite number",
          "sea": {
            "tp": "finite number",
            "predicted": "finite number",
            "adjusted": "finite number",
            "raw_rate": "finite number"
          },
          "nearest": {
            "tp": "finite number",
            "predicted": "finite number",
            "adjusted": "finite number",
            "raw_rate": "finite number"
          }
        },
        "length": "determined by the current input"
      },
      "bins": {
        "type": "array",
        "items": {
          "model": "string from the current source record or the operation definition",
          "bin": "finite number",
          "n": "finite number",
          "excel_rows": {
            "type": "array",
            "items": "current-input scientific values",
            "length": "determined by the current input"
          },
          "sea": {
            "mean": "null for an undefined or missing quantity",
            "sd_sample": "null for an undefined or missing quantity",
            "sd_population": "null for an undefined or missing quantity"
          },
          "nearest": {
            "mean": "null for an undefined or missing quantity",
            "sd_sample": "null for an undefined or missing quantity",
            "sd_population": "null for an undefined or missing quantity"
          }
        },
        "length": "determined by the current input"
      },
      "associations": {
        "type": "array",
        "items": {
          "excel_row": "finite number",
          "target": "string from the current source record or the operation definition",
          "adr": "string from the current source record or the operation definition",
          "ef": "finite number",
          "chi2": "finite number",
          "p": "finite number",
          "adjusted_p": "finite number",
          "annotation": "string from the current source record or the operation definition"
        },
        "length": "determined by the current input"
      },
      "association_summary": {
        "rows": "finite number",
        "annotations": {
          "Binding": "finite number",
          "Antagonist": "finite number",
          "Agonist": "finite number"
        },
        "invalid_numeric_rows": {
          "type": "array",
          "items": "finite number",
          "length": "determined by the current input"
        },
        "unique_target_adr_pairs": "finite number"
      },
      "novel": {
        "type": "array",
        "items": {
          "row": "finite number",
          "drug": "string from the current source record or the operation definition",
          "target": "string from the current source record or the operation definition",
          "adr": "string from the current source record or the operation definition",
          "measured_in_s3": "boolean",
          "adr_in_s5": "boolean",
          "new_ef": "finite number",
          "alternative_ef": "null for an undefined or missing quantity",
          "prioritized": "boolean",
          "auc": "string from the current source record or the operation definition",
          "cmax": "string from the current source record or the operation definition",
          "alternative_target": "string from the current source record or the operation definition"
        },
        "length": "determined by the current input"
      },
      "novel_summary": {
        "rows": "finite number",
        "drug_target_pairs": "finite number",
        "absent_s3_rows": {
          "type": "array",
          "items": "finite number",
          "length": "determined by the current input"
        },
        "absent_s5_rows": {
          "type": "array",
          "items": "current-input scientific values",
          "length": "determined by the current input"
        },
        "not_prioritized_rows": {
          "type": "array",
          "items": "current-input scientific values",
          "length": "determined by the current input"
        }
      },
      "target_rates": {
        "type": "array",
        "items": {
          "row": "finite number",
          "entity": "string from the current source record or the operation definition",
          "active": "finite number",
          "tested": "finite number",
          "ratio": "finite number",
          "reported_ratio": "finite number",
          "original_cell_type": "finite number",
          "descriptor_values": {
            "type": "array",
            "items": "current-input scientific values",
            "length": "determined by the current input"
          },
          "rank": "finite number",
          "target_classes": {
            "type": "array",
            "items": "string from the current source record or the operation definition",
            "length": "determined by the current input"
          }
        },
        "length": "determined by the current input"
      },
      "target_summary": {
        "total_rows": "finite number",
        "zero_denominator_rows": {
          "type": "array",
          "items": "current-input scientific values",
          "length": "determined by the current input"
        },
        "ratio_errors": {
          "type": "array",
          "items": "current-input scientific values",
          "length": "determined by the current input"
        },
        "tested_rows": "finite number",
        "over_half_hit_rate": "finite number"
      },
      "target_class_summary": {
        "type": "array",
        "items": {
          "target_classes": {
            "type": "array",
            "items": "string from the current source record or the operation definition",
            "length": "determined by the current input"
          },
          "targets": "finite number",
          "active": "finite number",
          "tested": "finite number",
          "entities": {
            "type": "array",
            "items": "string from the current source record or the operation definition",
            "length": "determined by the current input"
          }
        },
        "length": "determined by the current input"
      },
      "drug_rates": {
        "type": "array",
        "items": {
          "row": "finite number",
          "entity": "string from the current source record or the operation definition",
          "active": "finite number",
          "tested": "finite number",
          "ratio": "finite number",
          "reported_ratio": "finite number",
          "original_cell_type": "finite number",
          "descriptor_values": {
            "type": "array",
            "items": "finite number",
            "length": "determined by the current input"
          },
          "rank": "finite number"
        },
        "length": "determined by the current input"
      },
      "drug_summary": {
        "total_rows": "finite number",
        "zero_denominator_rows": {
          "type": "array",
          "items": "finite number",
          "length": "determined by the current input"
        },
        "ratio_errors": {
          "type": "array",
          "items": "current-input scientific values",
          "length": "determined by the current input"
        },
        "tested_rows": "finite number",
        "over_half_hit_rate": "finite number"
      }
    },
    "calculation_results.json": {
      "calc_001": {
        "value": {
          "type": "array",
          "items": {
            "id": "string from the current source record or the operation definition",
            "adjusted": "finite number",
            "raw": "null for an undefined or missing quantity",
            "tested": "boolean"
          },
          "length": "determined by the current input"
        }
      },
      "calc_002": {
        "value": {
          "associations": {
            "type": "array",
            "items": {
              "id": "string from the current source record or the operation definition",
              "expected": "finite number",
              "ef": "finite number",
              "contingency": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": "finite number",
                  "length": "determined by the current input"
                },
                "length": "determined by the current input"
              },
              "chi2": "finite number",
              "p_value": "finite number",
              "chi2_yates": "finite number",
              "p_value_yates": "finite number"
            },
            "length": "determined by the current input"
          },
          "bh": {
            "type": "array",
            "items": "finite number",
            "length": "determined by the current input"
          }
        }
      },
      "calc_003": {
        "value": {
          "pairs": {
            "type": "array",
            "items": {
              "drug": "string from the current source record or the operation definition",
              "target": "string from the current source record or the operation definition",
              "minimum_uM": "finite number",
              "measurement_ids": {
                "type": "array",
                "items": "string from the current source record or the operation definition",
                "length": "determined by the current input"
              },
              "below": {
                "type": "array",
                "items": "boolean",
                "length": "determined by the current input"
              },
              "sequence_class": "string from the current source record or the operation definition"
            },
            "length": "determined by the current input"
          },
          "predictions": {
            "type": "array",
            "items": {
              "id": "string from the current source record or the operation definition",
              "retained": "boolean"
            },
            "length": "determined by the current input"
          }
        }
      }
    },
    "report.md": "Executed scope, original data provenance, numerical conflicts, missing source conditions and actual code/tool provenance. Save any genuinely generated model predictions, fits, graphs or statistical results as additional artifacts."
  },
  "conventions": [
    "Preserve source sheet/Excel row identity. Pairs and union are sorted lexicographically by exact drug then target; other row arrays follow their source Excel row order. Similarity bins are in ECFP4 then Daylight order, bin 0 through 9.",
    "For repeated S3 endpoints retain every source row; minimum measured potency determines strict <30, <10 and <1 micromolar counts. A disclosed S3+S6 union must retain every sheet/row contribution and must not invent assay negatives.",
    "For S4 compute adjusted=(confirmed+1)/(predictions+1), raw=confirmed/predictions when defined; bins use min(9,int(Tc*10)). Report both sample and population SD; empty means/SD and singleton sample SD are null. This declared ten-bin analysis is not evidence that the historical figure bin policy has been recovered.",
    "For S5 retain every source row, including rounded EF=1 values; recomputing retained rows is distinct from rerunning chi-square/BH on the absent full hypothesis universe.",
    "S7/S8 cell type5 is an Excel error, not a measured numerical ratio. A zero tested denominator gives null. Rank ratios in descending order with average ranks for ties and null for undefined values. Join S7 targets to S2 class levels 1--3; target_class_summary uses lexicographically sorted class triples and sums active/tested counts while retaining entity identities. Source descriptor_values remain source descriptors, not newly computed properties.",
    "Numerical request association_statistics uses contingency [[p,A-p],[T-p,P-A-T+p]], EF=p/(A*T/P), Pearson chi-square both without and with Yates correction, one-degree-of-freedom p-values, and BH-adjusted p-values in the full supplied order without prefiltering.",
    "For threshold_boundaries use strict potency and E-value tests and charge fraction >= its supplied cutoff. Sequence equality is at_boundary; smaller is related and greater is unrelated. Retain duplicate measurement IDs and group by exact drug,target.",
    "For adjusted_hit_rates return {id,adjusted,raw,tested}; missing inputs give null fields, zero predictions gives adjusted 1, raw null and tested false. For each calculation return a value object/array under its request ID.",
    "Original-author algorithm source and mirrors are hidden; other open-source tools and opaque executables may be used with provenance. Paper values alone do not establish new model execution."
  ],
  "entrypoint": "reproduce.py --input-dir /input --output-dir /work/output",
  "runtime": "Frozen CPU Python3.12/RDKit2024.09.6/NumPy1.26.4; disclose differences from the historical Pipeline Pilot/R environment.",
  "resources": {
    "cpu_cores": 1,
    "memory_bytes": 2147483648,
    "cpu_seconds": 6000,
    "wall_seconds": 7200,
    "max_versions": 3,
    "max_actions": 12
  }
}