boltz-api 0.38.0 → 0.39.1
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 +16 -0
- package/package.json +1 -1
- package/resources/predictions/structure-and-binding.d.mts +261 -34
- package/resources/predictions/structure-and-binding.d.mts.map +1 -1
- package/resources/predictions/structure-and-binding.d.ts +261 -34
- package/resources/predictions/structure-and-binding.d.ts.map +1 -1
- package/resources/predictions/structure-and-binding.js +5 -2
- package/resources/predictions/structure-and-binding.js.map +1 -1
- package/resources/predictions/structure-and-binding.mjs +5 -2
- package/resources/predictions/structure-and-binding.mjs.map +1 -1
- package/src/resources/predictions/structure-and-binding.ts +299 -34
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -7,7 +7,7 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
7
7
|
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Predict 3D structure coordinates, per-residue confidence scores, and binding metrics for a molecular complex.
|
|
10
|
+
* Predict 3D structure coordinates, per-residue confidence scores, and binding metrics for a molecular complex. Supports optional template-guided folding and per-protein MSA control.
|
|
11
11
|
*/
|
|
12
12
|
export class StructureAndBinding extends APIResource {
|
|
13
13
|
/**
|
|
@@ -103,7 +103,10 @@ export class StructureAndBinding extends APIResource {
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Submit a prediction job that produces 3D structure coordinates and confidence
|
|
106
|
-
* scores for the input molecular complex, with optional binding metrics.
|
|
106
|
+
* scores for the input molecular complex, with optional binding metrics. Protein
|
|
107
|
+
* entities can use automatic MSA generation, custom A3M/CSV MSAs, or empty MSA
|
|
108
|
+
* mode. Boltz-2.1 predictions can also include up to 4 CIF or PDB templates to
|
|
109
|
+
* guide protein-chain geometry.
|
|
107
110
|
*
|
|
108
111
|
* @example
|
|
109
112
|
* ```ts
|
|
@@ -228,7 +231,7 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
228
231
|
* determines chain assignment.
|
|
229
232
|
*/
|
|
230
233
|
entities: Array<
|
|
231
|
-
| Input.
|
|
234
|
+
| Input.Boltz2ProteinEntityResponse
|
|
232
235
|
| Input.RnaEntityResponse
|
|
233
236
|
| Input.DnaEntityResponse
|
|
234
237
|
| Input.LigandCcdEntityResponse
|
|
@@ -258,13 +261,15 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
258
261
|
|
|
259
262
|
/**
|
|
260
263
|
* Template structure files to guide protein-chain prediction. Supports up to 4 CIF
|
|
261
|
-
* or PDB templates from HTTPS URLs or base64 uploads.
|
|
264
|
+
* or PDB templates from HTTPS URLs or base64 uploads. Use chain_id and template_id
|
|
265
|
+
* to map request chains to template chains when the IDs differ or when providing
|
|
266
|
+
* multi-chain templates.
|
|
262
267
|
*/
|
|
263
268
|
templates?: Array<Input.Template>;
|
|
264
269
|
}
|
|
265
270
|
|
|
266
271
|
export namespace Input {
|
|
267
|
-
export interface
|
|
272
|
+
export interface Boltz2ProteinEntityResponse {
|
|
268
273
|
/**
|
|
269
274
|
* Chain IDs for this entity
|
|
270
275
|
*/
|
|
@@ -286,10 +291,20 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
286
291
|
* Post-translational modifications. Optional; defaults to an empty list when
|
|
287
292
|
* omitted.
|
|
288
293
|
*/
|
|
289
|
-
modifications?: Array<
|
|
294
|
+
modifications?: Array<Boltz2ProteinEntityResponse.Modification>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Optional protein MSA control. Omit msa on all protein entities to use automatic
|
|
298
|
+
* MSA generation. Use custom for user-provided A3M/CSV files, or empty for
|
|
299
|
+
* single-sequence mode. Custom MSA and automatic MSA cannot be mixed in one
|
|
300
|
+
* request.
|
|
301
|
+
*/
|
|
302
|
+
msa?:
|
|
303
|
+
| Boltz2ProteinEntityResponse.Boltz2CustomMsaResponse
|
|
304
|
+
| Boltz2ProteinEntityResponse.Boltz2EmptyMsaResponse;
|
|
290
305
|
}
|
|
291
306
|
|
|
292
|
-
export namespace
|
|
307
|
+
export namespace Boltz2ProteinEntityResponse {
|
|
293
308
|
export interface Modification {
|
|
294
309
|
/**
|
|
295
310
|
* 0-based index of the residue to modify
|
|
@@ -304,6 +319,46 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
304
319
|
*/
|
|
305
320
|
value: string;
|
|
306
321
|
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Use a user-provided MSA for this protein entity. If any protein entity uses a
|
|
325
|
+
* custom MSA, every other protein entity must use either custom or empty MSA;
|
|
326
|
+
* automatic MSA generation cannot be mixed with custom MSAs in the same request.
|
|
327
|
+
*/
|
|
328
|
+
export interface Boltz2CustomMsaResponse {
|
|
329
|
+
/**
|
|
330
|
+
* Custom MSA file format. Base64 uploads must use media_type text/x-a3m for A3M or
|
|
331
|
+
* text/csv for CSV.
|
|
332
|
+
*/
|
|
333
|
+
format: 'a3m' | 'csv';
|
|
334
|
+
|
|
335
|
+
source: Boltz2CustomMsaResponse.Source;
|
|
336
|
+
|
|
337
|
+
type: 'custom';
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export namespace Boltz2CustomMsaResponse {
|
|
341
|
+
export interface Source {
|
|
342
|
+
/**
|
|
343
|
+
* URL to download the file
|
|
344
|
+
*/
|
|
345
|
+
url: string;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* When the presigned URL expires
|
|
349
|
+
*/
|
|
350
|
+
url_expires_at: string;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Run this protein entity in single-sequence mode without an MSA. Use this for
|
|
356
|
+
* chains that should not use automatic MSA generation, including non-homologous
|
|
357
|
+
* chains in a request that also includes custom MSAs.
|
|
358
|
+
*/
|
|
359
|
+
export interface Boltz2EmptyMsaResponse {
|
|
360
|
+
type: 'empty';
|
|
361
|
+
}
|
|
307
362
|
}
|
|
308
363
|
|
|
309
364
|
export interface RnaEntityResponse {
|
|
@@ -681,16 +736,23 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
681
736
|
step_scale?: number;
|
|
682
737
|
}
|
|
683
738
|
|
|
739
|
+
/**
|
|
740
|
+
* Template structure used as an inference-time guide for Boltz-2.1 protein-chain
|
|
741
|
+
* geometry. Provide a CIF or PDB file from an HTTPS URL or base64 upload.
|
|
742
|
+
*/
|
|
684
743
|
export interface Template {
|
|
685
744
|
/**
|
|
686
|
-
* Template structure format. Base64
|
|
745
|
+
* Template structure format. Base64 uploads must use media_type chemical/x-cif for
|
|
746
|
+
* CIF or chemical/x-pdb for PDB.
|
|
687
747
|
*/
|
|
688
748
|
format: 'cif' | 'pdb';
|
|
689
749
|
|
|
690
750
|
source: Template.Source;
|
|
691
751
|
|
|
692
752
|
/**
|
|
693
|
-
* One
|
|
753
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
754
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
755
|
+
* in the template file.
|
|
694
756
|
*/
|
|
695
757
|
chain_id?: string | Array<string>;
|
|
696
758
|
|
|
@@ -700,7 +762,9 @@ export namespace StructureAndBindingRetrieveResponse {
|
|
|
700
762
|
force?: boolean;
|
|
701
763
|
|
|
702
764
|
/**
|
|
703
|
-
* One
|
|
765
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
766
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
767
|
+
* in the template file.
|
|
704
768
|
*/
|
|
705
769
|
template_id?: string | Array<string>;
|
|
706
770
|
|
|
@@ -1150,7 +1214,7 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1150
1214
|
* determines chain assignment.
|
|
1151
1215
|
*/
|
|
1152
1216
|
entities: Array<
|
|
1153
|
-
| Input.
|
|
1217
|
+
| Input.Boltz2ProteinEntityResponse
|
|
1154
1218
|
| Input.RnaEntityResponse
|
|
1155
1219
|
| Input.DnaEntityResponse
|
|
1156
1220
|
| Input.LigandCcdEntityResponse
|
|
@@ -1180,13 +1244,15 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1180
1244
|
|
|
1181
1245
|
/**
|
|
1182
1246
|
* Template structure files to guide protein-chain prediction. Supports up to 4 CIF
|
|
1183
|
-
* or PDB templates from HTTPS URLs or base64 uploads.
|
|
1247
|
+
* or PDB templates from HTTPS URLs or base64 uploads. Use chain_id and template_id
|
|
1248
|
+
* to map request chains to template chains when the IDs differ or when providing
|
|
1249
|
+
* multi-chain templates.
|
|
1184
1250
|
*/
|
|
1185
1251
|
templates?: Array<Input.Template>;
|
|
1186
1252
|
}
|
|
1187
1253
|
|
|
1188
1254
|
export namespace Input {
|
|
1189
|
-
export interface
|
|
1255
|
+
export interface Boltz2ProteinEntityResponse {
|
|
1190
1256
|
/**
|
|
1191
1257
|
* Chain IDs for this entity
|
|
1192
1258
|
*/
|
|
@@ -1208,10 +1274,20 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1208
1274
|
* Post-translational modifications. Optional; defaults to an empty list when
|
|
1209
1275
|
* omitted.
|
|
1210
1276
|
*/
|
|
1211
|
-
modifications?: Array<
|
|
1277
|
+
modifications?: Array<Boltz2ProteinEntityResponse.Modification>;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Optional protein MSA control. Omit msa on all protein entities to use automatic
|
|
1281
|
+
* MSA generation. Use custom for user-provided A3M/CSV files, or empty for
|
|
1282
|
+
* single-sequence mode. Custom MSA and automatic MSA cannot be mixed in one
|
|
1283
|
+
* request.
|
|
1284
|
+
*/
|
|
1285
|
+
msa?:
|
|
1286
|
+
| Boltz2ProteinEntityResponse.Boltz2CustomMsaResponse
|
|
1287
|
+
| Boltz2ProteinEntityResponse.Boltz2EmptyMsaResponse;
|
|
1212
1288
|
}
|
|
1213
1289
|
|
|
1214
|
-
export namespace
|
|
1290
|
+
export namespace Boltz2ProteinEntityResponse {
|
|
1215
1291
|
export interface Modification {
|
|
1216
1292
|
/**
|
|
1217
1293
|
* 0-based index of the residue to modify
|
|
@@ -1226,6 +1302,46 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1226
1302
|
*/
|
|
1227
1303
|
value: string;
|
|
1228
1304
|
}
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Use a user-provided MSA for this protein entity. If any protein entity uses a
|
|
1308
|
+
* custom MSA, every other protein entity must use either custom or empty MSA;
|
|
1309
|
+
* automatic MSA generation cannot be mixed with custom MSAs in the same request.
|
|
1310
|
+
*/
|
|
1311
|
+
export interface Boltz2CustomMsaResponse {
|
|
1312
|
+
/**
|
|
1313
|
+
* Custom MSA file format. Base64 uploads must use media_type text/x-a3m for A3M or
|
|
1314
|
+
* text/csv for CSV.
|
|
1315
|
+
*/
|
|
1316
|
+
format: 'a3m' | 'csv';
|
|
1317
|
+
|
|
1318
|
+
source: Boltz2CustomMsaResponse.Source;
|
|
1319
|
+
|
|
1320
|
+
type: 'custom';
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export namespace Boltz2CustomMsaResponse {
|
|
1324
|
+
export interface Source {
|
|
1325
|
+
/**
|
|
1326
|
+
* URL to download the file
|
|
1327
|
+
*/
|
|
1328
|
+
url: string;
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* When the presigned URL expires
|
|
1332
|
+
*/
|
|
1333
|
+
url_expires_at: string;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Run this protein entity in single-sequence mode without an MSA. Use this for
|
|
1339
|
+
* chains that should not use automatic MSA generation, including non-homologous
|
|
1340
|
+
* chains in a request that also includes custom MSAs.
|
|
1341
|
+
*/
|
|
1342
|
+
export interface Boltz2EmptyMsaResponse {
|
|
1343
|
+
type: 'empty';
|
|
1344
|
+
}
|
|
1229
1345
|
}
|
|
1230
1346
|
|
|
1231
1347
|
export interface RnaEntityResponse {
|
|
@@ -1603,16 +1719,23 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1603
1719
|
step_scale?: number;
|
|
1604
1720
|
}
|
|
1605
1721
|
|
|
1722
|
+
/**
|
|
1723
|
+
* Template structure used as an inference-time guide for Boltz-2.1 protein-chain
|
|
1724
|
+
* geometry. Provide a CIF or PDB file from an HTTPS URL or base64 upload.
|
|
1725
|
+
*/
|
|
1606
1726
|
export interface Template {
|
|
1607
1727
|
/**
|
|
1608
|
-
* Template structure format. Base64
|
|
1728
|
+
* Template structure format. Base64 uploads must use media_type chemical/x-cif for
|
|
1729
|
+
* CIF or chemical/x-pdb for PDB.
|
|
1609
1730
|
*/
|
|
1610
1731
|
format: 'cif' | 'pdb';
|
|
1611
1732
|
|
|
1612
1733
|
source: Template.Source;
|
|
1613
1734
|
|
|
1614
1735
|
/**
|
|
1615
|
-
* One
|
|
1736
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
1737
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
1738
|
+
* in the template file.
|
|
1616
1739
|
*/
|
|
1617
1740
|
chain_id?: string | Array<string>;
|
|
1618
1741
|
|
|
@@ -1622,7 +1745,9 @@ export namespace StructureAndBindingStartResponse {
|
|
|
1622
1745
|
force?: boolean;
|
|
1623
1746
|
|
|
1624
1747
|
/**
|
|
1625
|
-
* One
|
|
1748
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
1749
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
1750
|
+
* in the template file.
|
|
1626
1751
|
*/
|
|
1627
1752
|
template_id?: string | Array<string>;
|
|
1628
1753
|
|
|
@@ -1879,7 +2004,7 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
1879
2004
|
* determines chain assignment.
|
|
1880
2005
|
*/
|
|
1881
2006
|
entities: Array<
|
|
1882
|
-
| Input.
|
|
2007
|
+
| Input.Boltz2ProteinEntity
|
|
1883
2008
|
| Input.RnaEntity
|
|
1884
2009
|
| Input.DnaEntity
|
|
1885
2010
|
| Input.LigandCcdEntity
|
|
@@ -1909,13 +2034,15 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
1909
2034
|
|
|
1910
2035
|
/**
|
|
1911
2036
|
* Template structure files to guide protein-chain prediction. Supports up to 4 CIF
|
|
1912
|
-
* or PDB templates from HTTPS URLs or base64 uploads.
|
|
2037
|
+
* or PDB templates from HTTPS URLs or base64 uploads. Use chain_id and template_id
|
|
2038
|
+
* to map request chains to template chains when the IDs differ or when providing
|
|
2039
|
+
* multi-chain templates.
|
|
1913
2040
|
*/
|
|
1914
2041
|
templates?: Array<Input.Template>;
|
|
1915
2042
|
}
|
|
1916
2043
|
|
|
1917
2044
|
export namespace Input {
|
|
1918
|
-
export interface
|
|
2045
|
+
export interface Boltz2ProteinEntity {
|
|
1919
2046
|
/**
|
|
1920
2047
|
* Chain IDs for this entity
|
|
1921
2048
|
*/
|
|
@@ -1937,10 +2064,18 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
1937
2064
|
* Post-translational modifications. Optional; defaults to an empty list when
|
|
1938
2065
|
* omitted.
|
|
1939
2066
|
*/
|
|
1940
|
-
modifications?: Array<
|
|
2067
|
+
modifications?: Array<Boltz2ProteinEntity.Modification>;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* Optional protein MSA control. Omit msa on all protein entities to use automatic
|
|
2071
|
+
* MSA generation. Use custom for user-provided A3M/CSV files, or empty for
|
|
2072
|
+
* single-sequence mode. Custom MSA and automatic MSA cannot be mixed in one
|
|
2073
|
+
* request.
|
|
2074
|
+
*/
|
|
2075
|
+
msa?: Boltz2ProteinEntity.Boltz2CustomMsa | Boltz2ProteinEntity.Boltz2EmptyMsa;
|
|
1941
2076
|
}
|
|
1942
2077
|
|
|
1943
|
-
export namespace
|
|
2078
|
+
export namespace Boltz2ProteinEntity {
|
|
1944
2079
|
export interface Modification {
|
|
1945
2080
|
/**
|
|
1946
2081
|
* 0-based index of the residue to modify
|
|
@@ -1955,6 +2090,57 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
1955
2090
|
*/
|
|
1956
2091
|
value: string;
|
|
1957
2092
|
}
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Use a user-provided MSA for this protein entity. If any protein entity uses a
|
|
2096
|
+
* custom MSA, every other protein entity must use either custom or empty MSA;
|
|
2097
|
+
* automatic MSA generation cannot be mixed with custom MSAs in the same request.
|
|
2098
|
+
*/
|
|
2099
|
+
export interface Boltz2CustomMsa {
|
|
2100
|
+
/**
|
|
2101
|
+
* Custom MSA file format. Base64 uploads must use media_type text/x-a3m for A3M or
|
|
2102
|
+
* text/csv for CSV.
|
|
2103
|
+
*/
|
|
2104
|
+
format: 'a3m' | 'csv';
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* How to provide a file to the API
|
|
2108
|
+
*/
|
|
2109
|
+
source: Boltz2CustomMsa.URLSource | Boltz2CustomMsa.Base64Source;
|
|
2110
|
+
|
|
2111
|
+
type: 'custom';
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
export namespace Boltz2CustomMsa {
|
|
2115
|
+
export interface URLSource {
|
|
2116
|
+
type: 'url';
|
|
2117
|
+
|
|
2118
|
+
url: string;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
export interface Base64Source {
|
|
2122
|
+
/**
|
|
2123
|
+
* Base64-encoded file contents
|
|
2124
|
+
*/
|
|
2125
|
+
data: string;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* MIME type (e.g., text/csv)
|
|
2129
|
+
*/
|
|
2130
|
+
media_type: string;
|
|
2131
|
+
|
|
2132
|
+
type: 'base64';
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Run this protein entity in single-sequence mode without an MSA. Use this for
|
|
2138
|
+
* chains that should not use automatic MSA generation, including non-homologous
|
|
2139
|
+
* chains in a request that also includes custom MSAs.
|
|
2140
|
+
*/
|
|
2141
|
+
export interface Boltz2EmptyMsa {
|
|
2142
|
+
type: 'empty';
|
|
2143
|
+
}
|
|
1958
2144
|
}
|
|
1959
2145
|
|
|
1960
2146
|
export interface RnaEntity {
|
|
@@ -2328,9 +2514,14 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
2328
2514
|
step_scale?: number;
|
|
2329
2515
|
}
|
|
2330
2516
|
|
|
2517
|
+
/**
|
|
2518
|
+
* Template structure used as an inference-time guide for Boltz-2.1 protein-chain
|
|
2519
|
+
* geometry. Provide a CIF or PDB file from an HTTPS URL or base64 upload.
|
|
2520
|
+
*/
|
|
2331
2521
|
export interface Template {
|
|
2332
2522
|
/**
|
|
2333
|
-
* Template structure format. Base64
|
|
2523
|
+
* Template structure format. Base64 uploads must use media_type chemical/x-cif for
|
|
2524
|
+
* CIF or chemical/x-pdb for PDB.
|
|
2334
2525
|
*/
|
|
2335
2526
|
format: 'cif' | 'pdb';
|
|
2336
2527
|
|
|
@@ -2340,7 +2531,9 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
2340
2531
|
source: Template.URLSource | Template.Base64Source;
|
|
2341
2532
|
|
|
2342
2533
|
/**
|
|
2343
|
-
* One
|
|
2534
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
2535
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
2536
|
+
* in the template file.
|
|
2344
2537
|
*/
|
|
2345
2538
|
chain_id?: string | Array<string>;
|
|
2346
2539
|
|
|
@@ -2350,7 +2543,9 @@ export namespace StructureAndBindingEstimateCostParams {
|
|
|
2350
2543
|
force?: boolean;
|
|
2351
2544
|
|
|
2352
2545
|
/**
|
|
2353
|
-
* One
|
|
2546
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
2547
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
2548
|
+
* in the template file.
|
|
2354
2549
|
*/
|
|
2355
2550
|
template_id?: string | Array<string>;
|
|
2356
2551
|
|
|
@@ -2410,7 +2605,7 @@ export namespace StructureAndBindingStartParams {
|
|
|
2410
2605
|
* determines chain assignment.
|
|
2411
2606
|
*/
|
|
2412
2607
|
entities: Array<
|
|
2413
|
-
| Input.
|
|
2608
|
+
| Input.Boltz2ProteinEntity
|
|
2414
2609
|
| Input.RnaEntity
|
|
2415
2610
|
| Input.DnaEntity
|
|
2416
2611
|
| Input.LigandCcdEntity
|
|
@@ -2440,13 +2635,15 @@ export namespace StructureAndBindingStartParams {
|
|
|
2440
2635
|
|
|
2441
2636
|
/**
|
|
2442
2637
|
* Template structure files to guide protein-chain prediction. Supports up to 4 CIF
|
|
2443
|
-
* or PDB templates from HTTPS URLs or base64 uploads.
|
|
2638
|
+
* or PDB templates from HTTPS URLs or base64 uploads. Use chain_id and template_id
|
|
2639
|
+
* to map request chains to template chains when the IDs differ or when providing
|
|
2640
|
+
* multi-chain templates.
|
|
2444
2641
|
*/
|
|
2445
2642
|
templates?: Array<Input.Template>;
|
|
2446
2643
|
}
|
|
2447
2644
|
|
|
2448
2645
|
export namespace Input {
|
|
2449
|
-
export interface
|
|
2646
|
+
export interface Boltz2ProteinEntity {
|
|
2450
2647
|
/**
|
|
2451
2648
|
* Chain IDs for this entity
|
|
2452
2649
|
*/
|
|
@@ -2468,10 +2665,18 @@ export namespace StructureAndBindingStartParams {
|
|
|
2468
2665
|
* Post-translational modifications. Optional; defaults to an empty list when
|
|
2469
2666
|
* omitted.
|
|
2470
2667
|
*/
|
|
2471
|
-
modifications?: Array<
|
|
2668
|
+
modifications?: Array<Boltz2ProteinEntity.Modification>;
|
|
2669
|
+
|
|
2670
|
+
/**
|
|
2671
|
+
* Optional protein MSA control. Omit msa on all protein entities to use automatic
|
|
2672
|
+
* MSA generation. Use custom for user-provided A3M/CSV files, or empty for
|
|
2673
|
+
* single-sequence mode. Custom MSA and automatic MSA cannot be mixed in one
|
|
2674
|
+
* request.
|
|
2675
|
+
*/
|
|
2676
|
+
msa?: Boltz2ProteinEntity.Boltz2CustomMsa | Boltz2ProteinEntity.Boltz2EmptyMsa;
|
|
2472
2677
|
}
|
|
2473
2678
|
|
|
2474
|
-
export namespace
|
|
2679
|
+
export namespace Boltz2ProteinEntity {
|
|
2475
2680
|
export interface Modification {
|
|
2476
2681
|
/**
|
|
2477
2682
|
* 0-based index of the residue to modify
|
|
@@ -2486,6 +2691,57 @@ export namespace StructureAndBindingStartParams {
|
|
|
2486
2691
|
*/
|
|
2487
2692
|
value: string;
|
|
2488
2693
|
}
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Use a user-provided MSA for this protein entity. If any protein entity uses a
|
|
2697
|
+
* custom MSA, every other protein entity must use either custom or empty MSA;
|
|
2698
|
+
* automatic MSA generation cannot be mixed with custom MSAs in the same request.
|
|
2699
|
+
*/
|
|
2700
|
+
export interface Boltz2CustomMsa {
|
|
2701
|
+
/**
|
|
2702
|
+
* Custom MSA file format. Base64 uploads must use media_type text/x-a3m for A3M or
|
|
2703
|
+
* text/csv for CSV.
|
|
2704
|
+
*/
|
|
2705
|
+
format: 'a3m' | 'csv';
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* How to provide a file to the API
|
|
2709
|
+
*/
|
|
2710
|
+
source: Boltz2CustomMsa.URLSource | Boltz2CustomMsa.Base64Source;
|
|
2711
|
+
|
|
2712
|
+
type: 'custom';
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
export namespace Boltz2CustomMsa {
|
|
2716
|
+
export interface URLSource {
|
|
2717
|
+
type: 'url';
|
|
2718
|
+
|
|
2719
|
+
url: string;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
export interface Base64Source {
|
|
2723
|
+
/**
|
|
2724
|
+
* Base64-encoded file contents
|
|
2725
|
+
*/
|
|
2726
|
+
data: string;
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
* MIME type (e.g., text/csv)
|
|
2730
|
+
*/
|
|
2731
|
+
media_type: string;
|
|
2732
|
+
|
|
2733
|
+
type: 'base64';
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* Run this protein entity in single-sequence mode without an MSA. Use this for
|
|
2739
|
+
* chains that should not use automatic MSA generation, including non-homologous
|
|
2740
|
+
* chains in a request that also includes custom MSAs.
|
|
2741
|
+
*/
|
|
2742
|
+
export interface Boltz2EmptyMsa {
|
|
2743
|
+
type: 'empty';
|
|
2744
|
+
}
|
|
2489
2745
|
}
|
|
2490
2746
|
|
|
2491
2747
|
export interface RnaEntity {
|
|
@@ -2859,9 +3115,14 @@ export namespace StructureAndBindingStartParams {
|
|
|
2859
3115
|
step_scale?: number;
|
|
2860
3116
|
}
|
|
2861
3117
|
|
|
3118
|
+
/**
|
|
3119
|
+
* Template structure used as an inference-time guide for Boltz-2.1 protein-chain
|
|
3120
|
+
* geometry. Provide a CIF or PDB file from an HTTPS URL or base64 upload.
|
|
3121
|
+
*/
|
|
2862
3122
|
export interface Template {
|
|
2863
3123
|
/**
|
|
2864
|
-
* Template structure format. Base64
|
|
3124
|
+
* Template structure format. Base64 uploads must use media_type chemical/x-cif for
|
|
3125
|
+
* CIF or chemical/x-pdb for PDB.
|
|
2865
3126
|
*/
|
|
2866
3127
|
format: 'cif' | 'pdb';
|
|
2867
3128
|
|
|
@@ -2871,7 +3132,9 @@ export namespace StructureAndBindingStartParams {
|
|
|
2871
3132
|
source: Template.URLSource | Template.Base64Source;
|
|
2872
3133
|
|
|
2873
3134
|
/**
|
|
2874
|
-
* One
|
|
3135
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
3136
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
3137
|
+
* in the template file.
|
|
2875
3138
|
*/
|
|
2876
3139
|
chain_id?: string | Array<string>;
|
|
2877
3140
|
|
|
@@ -2881,7 +3144,9 @@ export namespace StructureAndBindingStartParams {
|
|
|
2881
3144
|
force?: boolean;
|
|
2882
3145
|
|
|
2883
3146
|
/**
|
|
2884
|
-
* One
|
|
3147
|
+
* One chain ID, or an ordered list of chain IDs for multi-chain templates. For
|
|
3148
|
+
* chain_id, values refer to input chains; for template_id, values refer to chains
|
|
3149
|
+
* in the template file.
|
|
2885
3150
|
*/
|
|
2886
3151
|
template_id?: string | Array<string>;
|
|
2887
3152
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.39.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.39.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.39.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.39.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|