boltz-api 0.35.2 → 0.36.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/predictions/structure-and-binding.d.mts +44 -156
  4. package/resources/predictions/structure-and-binding.d.mts.map +1 -1
  5. package/resources/predictions/structure-and-binding.d.ts +44 -156
  6. package/resources/predictions/structure-and-binding.d.ts.map +1 -1
  7. package/resources/protein/design.d.mts +76 -494
  8. package/resources/protein/design.d.mts.map +1 -1
  9. package/resources/protein/design.d.ts +76 -494
  10. package/resources/protein/design.d.ts.map +1 -1
  11. package/resources/protein/library-screen.d.mts +48 -312
  12. package/resources/protein/library-screen.d.mts.map +1 -1
  13. package/resources/protein/library-screen.d.ts +48 -312
  14. package/resources/protein/library-screen.d.ts.map +1 -1
  15. package/resources/small-molecule/design.d.mts +70 -75
  16. package/resources/small-molecule/design.d.mts.map +1 -1
  17. package/resources/small-molecule/design.d.ts +70 -75
  18. package/resources/small-molecule/design.d.ts.map +1 -1
  19. package/resources/small-molecule/library-screen.d.mts +70 -75
  20. package/resources/small-molecule/library-screen.d.mts.map +1 -1
  21. package/resources/small-molecule/library-screen.d.ts +70 -75
  22. package/resources/small-molecule/library-screen.d.ts.map +1 -1
  23. package/src/resources/predictions/structure-and-binding.ts +48 -204
  24. package/src/resources/protein/design.ts +76 -656
  25. package/src/resources/protein/library-screen.ts +48 -402
  26. package/src/resources/small-molecule/design.ts +80 -90
  27. package/src/resources/small-molecule/library-screen.ts +80 -90
  28. package/src/version.ts +1 -1
  29. package/version.d.mts +1 -1
  30. package/version.d.ts +1 -1
  31. package/version.js +1 -1
  32. package/version.mjs +1 -1
@@ -244,7 +244,7 @@ export namespace LibraryScreenRetrieveResponse {
244
244
  molecules: Input.Molecules;
245
245
 
246
246
  /**
247
- * Target protein with binding pocket for small molecule design or screening
247
+ * Target protein sequences for small molecule design or screening.
248
248
  */
249
249
  target: Input.Target;
250
250
 
@@ -269,7 +269,7 @@ export namespace LibraryScreenRetrieveResponse {
269
269
  }
270
270
 
271
271
  /**
272
- * Target protein with binding pocket for small molecule design or screening
272
+ * Target protein sequences for small molecule design or screening.
273
273
  */
274
274
  export interface Target {
275
275
  /**
@@ -290,6 +290,12 @@ export namespace LibraryScreenRetrieveResponse {
290
290
  */
291
291
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
292
292
 
293
+ /**
294
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
295
+ * while scoring candidate molecules. Defaults to false.
296
+ */
297
+ enable_pocket_conditioning?: boolean;
298
+
293
299
  /**
294
300
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
295
301
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -306,6 +312,12 @@ export namespace LibraryScreenRetrieveResponse {
306
312
  * detection.
307
313
  */
308
314
  reference_ligands?: Array<string>;
315
+
316
+ /**
317
+ * Target is defined directly by protein sequences rather than a structure
318
+ * template.
319
+ */
320
+ type?: 'no_template';
309
321
  }
310
322
 
311
323
  export namespace Target {
@@ -331,11 +343,11 @@ export namespace LibraryScreenRetrieveResponse {
331
343
  * Post-translational modifications. Optional; defaults to an empty list when
332
344
  * omitted.
333
345
  */
334
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
346
+ modifications?: Array<Entity.Modification>;
335
347
  }
336
348
 
337
349
  export namespace Entity {
338
- export interface CcdModificationResponse {
350
+ export interface Modification {
339
351
  /**
340
352
  * 0-based index of the residue to modify
341
353
  */
@@ -349,20 +361,6 @@ export namespace LibraryScreenRetrieveResponse {
349
361
  */
350
362
  value: string;
351
363
  }
352
-
353
- export interface SmilesModificationResponse {
354
- /**
355
- * 0-based index of the residue to modify
356
- */
357
- residue_index: number;
358
-
359
- type: 'smiles';
360
-
361
- /**
362
- * SMILES string for the modification
363
- */
364
- value: string;
365
- }
366
364
  }
367
365
 
368
366
  /**
@@ -1375,7 +1373,7 @@ export namespace LibraryScreenStartResponse {
1375
1373
  molecules: Input.Molecules;
1376
1374
 
1377
1375
  /**
1378
- * Target protein with binding pocket for small molecule design or screening
1376
+ * Target protein sequences for small molecule design or screening.
1379
1377
  */
1380
1378
  target: Input.Target;
1381
1379
 
@@ -1400,7 +1398,7 @@ export namespace LibraryScreenStartResponse {
1400
1398
  }
1401
1399
 
1402
1400
  /**
1403
- * Target protein with binding pocket for small molecule design or screening
1401
+ * Target protein sequences for small molecule design or screening.
1404
1402
  */
1405
1403
  export interface Target {
1406
1404
  /**
@@ -1421,6 +1419,12 @@ export namespace LibraryScreenStartResponse {
1421
1419
  */
1422
1420
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
1423
1421
 
1422
+ /**
1423
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
1424
+ * while scoring candidate molecules. Defaults to false.
1425
+ */
1426
+ enable_pocket_conditioning?: boolean;
1427
+
1424
1428
  /**
1425
1429
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
1426
1430
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -1437,6 +1441,12 @@ export namespace LibraryScreenStartResponse {
1437
1441
  * detection.
1438
1442
  */
1439
1443
  reference_ligands?: Array<string>;
1444
+
1445
+ /**
1446
+ * Target is defined directly by protein sequences rather than a structure
1447
+ * template.
1448
+ */
1449
+ type?: 'no_template';
1440
1450
  }
1441
1451
 
1442
1452
  export namespace Target {
@@ -1462,11 +1472,11 @@ export namespace LibraryScreenStartResponse {
1462
1472
  * Post-translational modifications. Optional; defaults to an empty list when
1463
1473
  * omitted.
1464
1474
  */
1465
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
1475
+ modifications?: Array<Entity.Modification>;
1466
1476
  }
1467
1477
 
1468
1478
  export namespace Entity {
1469
- export interface CcdModificationResponse {
1479
+ export interface Modification {
1470
1480
  /**
1471
1481
  * 0-based index of the residue to modify
1472
1482
  */
@@ -1480,20 +1490,6 @@ export namespace LibraryScreenStartResponse {
1480
1490
  */
1481
1491
  value: string;
1482
1492
  }
1483
-
1484
- export interface SmilesModificationResponse {
1485
- /**
1486
- * 0-based index of the residue to modify
1487
- */
1488
- residue_index: number;
1489
-
1490
- type: 'smiles';
1491
-
1492
- /**
1493
- * SMILES string for the modification
1494
- */
1495
- value: string;
1496
- }
1497
1493
  }
1498
1494
 
1499
1495
  /**
@@ -2180,7 +2176,7 @@ export namespace LibraryScreenStopResponse {
2180
2176
  molecules: Input.Molecules;
2181
2177
 
2182
2178
  /**
2183
- * Target protein with binding pocket for small molecule design or screening
2179
+ * Target protein sequences for small molecule design or screening.
2184
2180
  */
2185
2181
  target: Input.Target;
2186
2182
 
@@ -2205,7 +2201,7 @@ export namespace LibraryScreenStopResponse {
2205
2201
  }
2206
2202
 
2207
2203
  /**
2208
- * Target protein with binding pocket for small molecule design or screening
2204
+ * Target protein sequences for small molecule design or screening.
2209
2205
  */
2210
2206
  export interface Target {
2211
2207
  /**
@@ -2226,6 +2222,12 @@ export namespace LibraryScreenStopResponse {
2226
2222
  */
2227
2223
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
2228
2224
 
2225
+ /**
2226
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
2227
+ * while scoring candidate molecules. Defaults to false.
2228
+ */
2229
+ enable_pocket_conditioning?: boolean;
2230
+
2229
2231
  /**
2230
2232
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
2231
2233
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -2242,6 +2244,12 @@ export namespace LibraryScreenStopResponse {
2242
2244
  * detection.
2243
2245
  */
2244
2246
  reference_ligands?: Array<string>;
2247
+
2248
+ /**
2249
+ * Target is defined directly by protein sequences rather than a structure
2250
+ * template.
2251
+ */
2252
+ type?: 'no_template';
2245
2253
  }
2246
2254
 
2247
2255
  export namespace Target {
@@ -2267,11 +2275,11 @@ export namespace LibraryScreenStopResponse {
2267
2275
  * Post-translational modifications. Optional; defaults to an empty list when
2268
2276
  * omitted.
2269
2277
  */
2270
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
2278
+ modifications?: Array<Entity.Modification>;
2271
2279
  }
2272
2280
 
2273
2281
  export namespace Entity {
2274
- export interface CcdModificationResponse {
2282
+ export interface Modification {
2275
2283
  /**
2276
2284
  * 0-based index of the residue to modify
2277
2285
  */
@@ -2285,20 +2293,6 @@ export namespace LibraryScreenStopResponse {
2285
2293
  */
2286
2294
  value: string;
2287
2295
  }
2288
-
2289
- export interface SmilesModificationResponse {
2290
- /**
2291
- * 0-based index of the residue to modify
2292
- */
2293
- residue_index: number;
2294
-
2295
- type: 'smiles';
2296
-
2297
- /**
2298
- * SMILES string for the modification
2299
- */
2300
- value: string;
2301
- }
2302
2296
  }
2303
2297
 
2304
2298
  /**
@@ -2924,7 +2918,7 @@ export interface LibraryScreenEstimateCostParams {
2924
2918
  molecules: Array<LibraryScreenEstimateCostParams.Molecule>;
2925
2919
 
2926
2920
  /**
2927
- * Target protein with binding pocket for small molecule design or screening
2921
+ * Target protein sequences for small molecule design or screening.
2928
2922
  */
2929
2923
  target: LibraryScreenEstimateCostParams.Target;
2930
2924
 
@@ -2962,7 +2956,7 @@ export namespace LibraryScreenEstimateCostParams {
2962
2956
  }
2963
2957
 
2964
2958
  /**
2965
- * Target protein with binding pocket for small molecule design or screening
2959
+ * Target protein sequences for small molecule design or screening.
2966
2960
  */
2967
2961
  export interface Target {
2968
2962
  /**
@@ -2983,6 +2977,12 @@ export namespace LibraryScreenEstimateCostParams {
2983
2977
  */
2984
2978
  constraints?: Array<Target.PocketConstraint | Target.ContactConstraint>;
2985
2979
 
2980
+ /**
2981
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
2982
+ * while scoring candidate molecules. Defaults to false.
2983
+ */
2984
+ enable_pocket_conditioning?: boolean;
2985
+
2986
2986
  /**
2987
2987
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
2988
2988
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -2999,6 +2999,12 @@ export namespace LibraryScreenEstimateCostParams {
2999
2999
  * detection.
3000
3000
  */
3001
3001
  reference_ligands?: Array<string>;
3002
+
3003
+ /**
3004
+ * Target is defined directly by protein sequences rather than a structure
3005
+ * template.
3006
+ */
3007
+ type?: 'no_template';
3002
3008
  }
3003
3009
 
3004
3010
  export namespace Target {
@@ -3024,11 +3030,11 @@ export namespace LibraryScreenEstimateCostParams {
3024
3030
  * Post-translational modifications. Optional; defaults to an empty list when
3025
3031
  * omitted.
3026
3032
  */
3027
- modifications?: Array<Entity.CcdModification | Entity.SmilesModification>;
3033
+ modifications?: Array<Entity.Modification>;
3028
3034
  }
3029
3035
 
3030
3036
  export namespace Entity {
3031
- export interface CcdModification {
3037
+ export interface Modification {
3032
3038
  /**
3033
3039
  * 0-based index of the residue to modify
3034
3040
  */
@@ -3042,20 +3048,6 @@ export namespace LibraryScreenEstimateCostParams {
3042
3048
  */
3043
3049
  value: string;
3044
3050
  }
3045
-
3046
- export interface SmilesModification {
3047
- /**
3048
- * 0-based index of the residue to modify
3049
- */
3050
- residue_index: number;
3051
-
3052
- type: 'smiles';
3053
-
3054
- /**
3055
- * SMILES string for the modification
3056
- */
3057
- value: string;
3058
- }
3059
3051
  }
3060
3052
 
3061
3053
  /**
@@ -3628,7 +3620,7 @@ export interface LibraryScreenStartParams {
3628
3620
  molecules: Array<LibraryScreenStartParams.Molecule>;
3629
3621
 
3630
3622
  /**
3631
- * Target protein with binding pocket for small molecule design or screening
3623
+ * Target protein sequences for small molecule design or screening.
3632
3624
  */
3633
3625
  target: LibraryScreenStartParams.Target;
3634
3626
 
@@ -3666,7 +3658,7 @@ export namespace LibraryScreenStartParams {
3666
3658
  }
3667
3659
 
3668
3660
  /**
3669
- * Target protein with binding pocket for small molecule design or screening
3661
+ * Target protein sequences for small molecule design or screening.
3670
3662
  */
3671
3663
  export interface Target {
3672
3664
  /**
@@ -3687,6 +3679,12 @@ export namespace LibraryScreenStartParams {
3687
3679
  */
3688
3680
  constraints?: Array<Target.PocketConstraint | Target.ContactConstraint>;
3689
3681
 
3682
+ /**
3683
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
3684
+ * while scoring candidate molecules. Defaults to false.
3685
+ */
3686
+ enable_pocket_conditioning?: boolean;
3687
+
3690
3688
  /**
3691
3689
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
3692
3690
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -3703,6 +3701,12 @@ export namespace LibraryScreenStartParams {
3703
3701
  * detection.
3704
3702
  */
3705
3703
  reference_ligands?: Array<string>;
3704
+
3705
+ /**
3706
+ * Target is defined directly by protein sequences rather than a structure
3707
+ * template.
3708
+ */
3709
+ type?: 'no_template';
3706
3710
  }
3707
3711
 
3708
3712
  export namespace Target {
@@ -3728,11 +3732,11 @@ export namespace LibraryScreenStartParams {
3728
3732
  * Post-translational modifications. Optional; defaults to an empty list when
3729
3733
  * omitted.
3730
3734
  */
3731
- modifications?: Array<Entity.CcdModification | Entity.SmilesModification>;
3735
+ modifications?: Array<Entity.Modification>;
3732
3736
  }
3733
3737
 
3734
3738
  export namespace Entity {
3735
- export interface CcdModification {
3739
+ export interface Modification {
3736
3740
  /**
3737
3741
  * 0-based index of the residue to modify
3738
3742
  */
@@ -3746,20 +3750,6 @@ export namespace LibraryScreenStartParams {
3746
3750
  */
3747
3751
  value: string;
3748
3752
  }
3749
-
3750
- export interface SmilesModification {
3751
- /**
3752
- * 0-based index of the residue to modify
3753
- */
3754
- residue_index: number;
3755
-
3756
- type: 'smiles';
3757
-
3758
- /**
3759
- * SMILES string for the modification
3760
- */
3761
- value: string;
3762
- }
3763
3753
  }
3764
3754
 
3765
3755
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.35.2'; // x-release-please-version
1
+ export const VERSION = '0.36.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.35.2";
1
+ export declare const VERSION = "0.36.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.35.2";
1
+ export declare const VERSION = "0.36.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.35.2'; // x-release-please-version
4
+ exports.VERSION = '0.36.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.35.2'; // x-release-please-version
1
+ export const VERSION = '0.36.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map