boltz-api 0.30.3
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 +708 -0
- package/LICENSE +201 -0
- package/README.md +466 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +219 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +219 -0
- package/client.d.ts.map +1 -0
- package/client.js +522 -0
- package/client.js.map +1 -0
- package/client.mjs +518 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +78 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +78 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +154 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +147 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +32 -0
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +153 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/admin/admin.d.mts +21 -0
- package/resources/admin/admin.d.mts.map +1 -0
- package/resources/admin/admin.d.ts +21 -0
- package/resources/admin/admin.d.ts.map +1 -0
- package/resources/admin/admin.js +28 -0
- package/resources/admin/admin.js.map +1 -0
- package/resources/admin/admin.mjs +23 -0
- package/resources/admin/admin.mjs.map +1 -0
- package/resources/admin/api-keys.d.mts +166 -0
- package/resources/admin/api-keys.d.mts.map +1 -0
- package/resources/admin/api-keys.d.ts +166 -0
- package/resources/admin/api-keys.d.ts.map +1 -0
- package/resources/admin/api-keys.js +35 -0
- package/resources/admin/api-keys.js.map +1 -0
- package/resources/admin/api-keys.mjs +31 -0
- package/resources/admin/api-keys.mjs.map +1 -0
- package/resources/admin/index.d.mts +5 -0
- package/resources/admin/index.d.mts.map +1 -0
- package/resources/admin/index.d.ts +5 -0
- package/resources/admin/index.d.ts.map +1 -0
- package/resources/admin/index.js +13 -0
- package/resources/admin/index.js.map +1 -0
- package/resources/admin/index.mjs +6 -0
- package/resources/admin/index.mjs.map +1 -0
- package/resources/admin/usage.d.mts +60 -0
- package/resources/admin/usage.d.mts.map +1 -0
- package/resources/admin/usage.d.ts +60 -0
- package/resources/admin/usage.d.ts.map +1 -0
- package/resources/admin/usage.js +23 -0
- package/resources/admin/usage.js.map +1 -0
- package/resources/admin/usage.mjs +19 -0
- package/resources/admin/usage.mjs.map +1 -0
- package/resources/admin/workspaces.d.mts +278 -0
- package/resources/admin/workspaces.d.mts.map +1 -0
- package/resources/admin/workspaces.d.ts +278 -0
- package/resources/admin/workspaces.d.ts.map +1 -0
- package/resources/admin/workspaces.js +48 -0
- package/resources/admin/workspaces.js.map +1 -0
- package/resources/admin/workspaces.mjs +44 -0
- package/resources/admin/workspaces.mjs.map +1 -0
- package/resources/admin.d.mts +2 -0
- package/resources/admin.d.mts.map +1 -0
- package/resources/admin.d.ts +2 -0
- package/resources/admin.d.ts.map +1 -0
- package/resources/admin.js +6 -0
- package/resources/admin.js.map +1 -0
- package/resources/admin.mjs +3 -0
- package/resources/admin.mjs.map +1 -0
- package/resources/auth.d.mts +48 -0
- package/resources/auth.d.mts.map +1 -0
- package/resources/auth.d.ts +48 -0
- package/resources/auth.d.ts.map +1 -0
- package/resources/auth.js +25 -0
- package/resources/auth.js.map +1 -0
- package/resources/auth.mjs +21 -0
- package/resources/auth.mjs.map +1 -0
- package/resources/cli.d.mts +39 -0
- package/resources/cli.d.mts.map +1 -0
- package/resources/cli.d.ts +39 -0
- package/resources/cli.d.ts.map +1 -0
- package/resources/cli.js +23 -0
- package/resources/cli.js.map +1 -0
- package/resources/cli.mjs +19 -0
- package/resources/cli.mjs.map +1 -0
- package/resources/index.d.mts +7 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +7 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +17 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +8 -0
- package/resources/index.mjs.map +1 -0
- package/resources/predictions/index.d.mts +3 -0
- package/resources/predictions/index.d.mts.map +1 -0
- package/resources/predictions/index.d.ts +3 -0
- package/resources/predictions/index.d.ts.map +1 -0
- package/resources/predictions/index.js +9 -0
- package/resources/predictions/index.js.map +1 -0
- package/resources/predictions/index.mjs +4 -0
- package/resources/predictions/index.mjs.map +1 -0
- package/resources/predictions/predictions.d.mts +13 -0
- package/resources/predictions/predictions.d.mts.map +1 -0
- package/resources/predictions/predictions.d.ts +13 -0
- package/resources/predictions/predictions.d.ts.map +1 -0
- package/resources/predictions/predictions.js +20 -0
- package/resources/predictions/predictions.js.map +1 -0
- package/resources/predictions/predictions.mjs +15 -0
- package/resources/predictions/predictions.mjs.map +1 -0
- package/resources/predictions/structure-and-binding.d.mts +2295 -0
- package/resources/predictions/structure-and-binding.d.mts.map +1 -0
- package/resources/predictions/structure-and-binding.d.ts +2295 -0
- package/resources/predictions/structure-and-binding.d.ts.map +1 -0
- package/resources/predictions/structure-and-binding.js +111 -0
- package/resources/predictions/structure-and-binding.js.map +1 -0
- package/resources/predictions/structure-and-binding.mjs +107 -0
- package/resources/predictions/structure-and-binding.mjs.map +1 -0
- package/resources/predictions.d.mts +2 -0
- package/resources/predictions.d.mts.map +1 -0
- package/resources/predictions.d.ts +2 -0
- package/resources/predictions.d.ts.map +1 -0
- package/resources/predictions.js +6 -0
- package/resources/predictions.js.map +1 -0
- package/resources/predictions.mjs +3 -0
- package/resources/predictions.mjs.map +1 -0
- package/resources/protein/design.d.mts +5760 -0
- package/resources/protein/design.d.mts.map +1 -0
- package/resources/protein/design.d.ts +5760 -0
- package/resources/protein/design.d.ts.map +1 -0
- package/resources/protein/design.js +157 -0
- package/resources/protein/design.js.map +1 -0
- package/resources/protein/design.mjs +153 -0
- package/resources/protein/design.mjs.map +1 -0
- package/resources/protein/index.d.mts +4 -0
- package/resources/protein/index.d.mts.map +1 -0
- package/resources/protein/index.d.ts +4 -0
- package/resources/protein/index.d.ts.map +1 -0
- package/resources/protein/index.js +11 -0
- package/resources/protein/index.js.map +1 -0
- package/resources/protein/index.mjs +5 -0
- package/resources/protein/index.mjs.map +1 -0
- package/resources/protein/library-screen.d.mts +3428 -0
- package/resources/protein/library-screen.d.mts.map +1 -0
- package/resources/protein/library-screen.d.ts +3428 -0
- package/resources/protein/library-screen.d.ts.map +1 -0
- package/resources/protein/library-screen.js +158 -0
- package/resources/protein/library-screen.js.map +1 -0
- package/resources/protein/library-screen.mjs +154 -0
- package/resources/protein/library-screen.mjs.map +1 -0
- package/resources/protein/protein.d.mts +17 -0
- package/resources/protein/protein.d.mts.map +1 -0
- package/resources/protein/protein.d.ts +17 -0
- package/resources/protein/protein.d.ts.map +1 -0
- package/resources/protein/protein.js +24 -0
- package/resources/protein/protein.js.map +1 -0
- package/resources/protein/protein.mjs +19 -0
- package/resources/protein/protein.mjs.map +1 -0
- package/resources/protein.d.mts +2 -0
- package/resources/protein.d.mts.map +1 -0
- package/resources/protein.d.ts +2 -0
- package/resources/protein.d.ts.map +1 -0
- package/resources/protein.js +6 -0
- package/resources/protein.js.map +1 -0
- package/resources/protein.mjs +3 -0
- package/resources/protein.mjs.map +1 -0
- package/resources/small-molecule/design.d.mts +3428 -0
- package/resources/small-molecule/design.d.mts.map +1 -0
- package/resources/small-molecule/design.d.ts +3428 -0
- package/resources/small-molecule/design.d.ts.map +1 -0
- package/resources/small-molecule/design.js +135 -0
- package/resources/small-molecule/design.js.map +1 -0
- package/resources/small-molecule/design.mjs +131 -0
- package/resources/small-molecule/design.mjs.map +1 -0
- package/resources/small-molecule/index.d.mts +4 -0
- package/resources/small-molecule/index.d.mts.map +1 -0
- package/resources/small-molecule/index.d.ts +4 -0
- package/resources/small-molecule/index.d.ts.map +1 -0
- package/resources/small-molecule/index.js +11 -0
- package/resources/small-molecule/index.js.map +1 -0
- package/resources/small-molecule/index.mjs +5 -0
- package/resources/small-molecule/index.mjs.map +1 -0
- package/resources/small-molecule/library-screen.d.mts +3494 -0
- package/resources/small-molecule/library-screen.d.mts.map +1 -0
- package/resources/small-molecule/library-screen.d.ts +3494 -0
- package/resources/small-molecule/library-screen.d.ts.map +1 -0
- package/resources/small-molecule/library-screen.js +129 -0
- package/resources/small-molecule/library-screen.js.map +1 -0
- package/resources/small-molecule/library-screen.mjs +125 -0
- package/resources/small-molecule/library-screen.mjs.map +1 -0
- package/resources/small-molecule/small-molecule.d.mts +17 -0
- package/resources/small-molecule/small-molecule.d.mts.map +1 -0
- package/resources/small-molecule/small-molecule.d.ts +17 -0
- package/resources/small-molecule/small-molecule.d.ts.map +1 -0
- package/resources/small-molecule/small-molecule.js +24 -0
- package/resources/small-molecule/small-molecule.js.map +1 -0
- package/resources/small-molecule/small-molecule.mjs +19 -0
- package/resources/small-molecule/small-molecule.mjs.map +1 -0
- package/resources/small-molecule.d.mts +2 -0
- package/resources/small-molecule.d.mts.map +1 -0
- package/resources/small-molecule.d.ts +2 -0
- package/resources/small-molecule.d.ts.map +1 -0
- package/resources/small-molecule.js +6 -0
- package/resources/small-molecule.js.map +1 -0
- package/resources/small-molecule.mjs +3 -0
- package/resources/small-molecule.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +833 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +255 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +23 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +93 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/admin/admin.ts +73 -0
- package/src/resources/admin/api-keys.ts +233 -0
- package/src/resources/admin/index.ts +30 -0
- package/src/resources/admin/usage.ts +107 -0
- package/src/resources/admin/workspaces.ts +370 -0
- package/src/resources/admin.ts +3 -0
- package/src/resources/auth.ts +68 -0
- package/src/resources/cli.ts +57 -0
- package/src/resources/index.ts +8 -0
- package/src/resources/predictions/index.ts +16 -0
- package/src/resources/predictions/predictions.ts +43 -0
- package/src/resources/predictions/structure-and-binding.ts +2892 -0
- package/src/resources/predictions.ts +3 -0
- package/src/resources/protein/design.ts +7175 -0
- package/src/resources/protein/index.ts +37 -0
- package/src/resources/protein/library-screen.ts +4306 -0
- package/src/resources/protein/protein.ts +88 -0
- package/src/resources/protein.ts +3 -0
- package/src/resources/small-molecule/design.ts +4229 -0
- package/src/resources/small-molecule/index.ts +37 -0
- package/src/resources/small-molecule/library-screen.ts +4312 -0
- package/src/resources/small-molecule/small-molecule.ts +88 -0
- package/src/resources/small-molecule.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,2295 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Predict 3D structure coordinates, per-residue confidence scores, and binding metrics for a molecular complex.
|
|
7
|
+
*/
|
|
8
|
+
export declare class StructureAndBinding extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a prediction by ID, including its status and results.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const structureAndBinding =
|
|
15
|
+
* await client.predictions.structureAndBinding.retrieve(
|
|
16
|
+
* 'sab_pred_2X7Ab9Cd3Ef6Gh1JkLmN',
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, query?: StructureAndBindingRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<StructureAndBindingRetrieveResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* List structure and binding predictions, optionally filtered by workspace
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* // Automatically fetches more pages as needed.
|
|
27
|
+
* for await (const structureAndBindingListResponse of client.predictions.structureAndBinding.list()) {
|
|
28
|
+
* // ...
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
list(query?: StructureAndBindingListParams | null | undefined, options?: RequestOptions): PagePromise<StructureAndBindingListResponsesCursorPage, StructureAndBindingListResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Permanently delete the input, output, and result data associated with this
|
|
35
|
+
* prediction. The prediction record itself is retained with a `data_deleted_at`
|
|
36
|
+
* timestamp. This action is irreversible.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response =
|
|
41
|
+
* await client.predictions.structureAndBinding.deleteData(
|
|
42
|
+
* 'sab_pred_2X7Ab9Cd3Ef6Gh1JkLmN',
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
deleteData(id: string, options?: RequestOptions): APIPromise<StructureAndBindingDeleteDataResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Estimate the cost of a prediction without creating any resource or consuming
|
|
49
|
+
* GPU.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const response =
|
|
54
|
+
* await client.predictions.structureAndBinding.estimateCost(
|
|
55
|
+
* {
|
|
56
|
+
* input: {
|
|
57
|
+
* entities: [
|
|
58
|
+
* {
|
|
59
|
+
* chain_ids: ['string'],
|
|
60
|
+
* type: 'protein',
|
|
61
|
+
* value: 'value',
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* model: 'boltz-2.1',
|
|
66
|
+
* },
|
|
67
|
+
* );
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
estimateCost(body: StructureAndBindingEstimateCostParams, options?: RequestOptions): APIPromise<StructureAndBindingEstimateCostResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Submit a prediction job that produces 3D structure coordinates and confidence
|
|
73
|
+
* scores for the input molecular complex, with optional binding metrics.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response =
|
|
78
|
+
* await client.predictions.structureAndBinding.start({
|
|
79
|
+
* input: {
|
|
80
|
+
* entities: [
|
|
81
|
+
* {
|
|
82
|
+
* chain_ids: ['string'],
|
|
83
|
+
* type: 'protein',
|
|
84
|
+
* value: 'value',
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* model: 'boltz-2.1',
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
start(body: StructureAndBindingStartParams, options?: RequestOptions): APIPromise<StructureAndBindingStartResponse>;
|
|
93
|
+
}
|
|
94
|
+
export type StructureAndBindingListResponsesCursorPage = CursorPage<StructureAndBindingListResponse>;
|
|
95
|
+
export interface StructureAndBindingRetrieveResponse {
|
|
96
|
+
/**
|
|
97
|
+
* Unique prediction identifier
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
completed_at: string | null;
|
|
101
|
+
created_at: string;
|
|
102
|
+
/**
|
|
103
|
+
* When the input/output data was deleted, or null if still available
|
|
104
|
+
*/
|
|
105
|
+
data_deleted_at: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* Error details when failed
|
|
108
|
+
*/
|
|
109
|
+
error: StructureAndBindingRetrieveResponse.Error | null;
|
|
110
|
+
/**
|
|
111
|
+
* When this resource and its associated data will be permanently deleted. Null
|
|
112
|
+
* while still in progress.
|
|
113
|
+
*/
|
|
114
|
+
expires_at: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Prediction input (null if data deleted)
|
|
117
|
+
*/
|
|
118
|
+
input: StructureAndBindingRetrieveResponse.Input | null;
|
|
119
|
+
/**
|
|
120
|
+
* Whether this resource was created with a live API key.
|
|
121
|
+
*/
|
|
122
|
+
livemode: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Model used for prediction
|
|
125
|
+
*/
|
|
126
|
+
model: 'boltz-2.1';
|
|
127
|
+
/**
|
|
128
|
+
* Prediction output when succeeded
|
|
129
|
+
*/
|
|
130
|
+
output: StructureAndBindingRetrieveResponse.Output | null;
|
|
131
|
+
started_at: string | null;
|
|
132
|
+
status: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
133
|
+
/**
|
|
134
|
+
* Model version used for prediction
|
|
135
|
+
*/
|
|
136
|
+
version: string;
|
|
137
|
+
/**
|
|
138
|
+
* Workspace ID
|
|
139
|
+
*/
|
|
140
|
+
workspace_id: string;
|
|
141
|
+
/**
|
|
142
|
+
* Client-provided idempotency key
|
|
143
|
+
*/
|
|
144
|
+
idempotency_key?: string;
|
|
145
|
+
}
|
|
146
|
+
export declare namespace StructureAndBindingRetrieveResponse {
|
|
147
|
+
/**
|
|
148
|
+
* Error details when failed
|
|
149
|
+
*/
|
|
150
|
+
interface Error {
|
|
151
|
+
/**
|
|
152
|
+
* Machine-readable error code
|
|
153
|
+
*/
|
|
154
|
+
code: string;
|
|
155
|
+
/**
|
|
156
|
+
* Human-readable error message
|
|
157
|
+
*/
|
|
158
|
+
message: string;
|
|
159
|
+
/**
|
|
160
|
+
* Additional field-level error details keyed by input path, when available.
|
|
161
|
+
*/
|
|
162
|
+
details?: unknown;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Prediction input (null if data deleted)
|
|
166
|
+
*/
|
|
167
|
+
interface Input {
|
|
168
|
+
/**
|
|
169
|
+
* Entities (proteins, RNA, DNA, ligands) forming the complex to predict. Order
|
|
170
|
+
* determines chain assignment.
|
|
171
|
+
*/
|
|
172
|
+
entities: Array<Input.ProteinEntityResponse | Input.RnaEntityResponse | Input.DnaEntityResponse | Input.LigandCcdEntityResponse | Input.LigandSmilesEntityResponse>;
|
|
173
|
+
binding?: Input.LigandProteinBindingResponse | Input.ProteinProteinBindingResponse;
|
|
174
|
+
/**
|
|
175
|
+
* Bond constraints between atoms. Atom-level ligand references currently support
|
|
176
|
+
* ligand_ccd only; ligand_smiles is unsupported.
|
|
177
|
+
*/
|
|
178
|
+
bonds?: Array<Input.Bond>;
|
|
179
|
+
/**
|
|
180
|
+
* Structural constraints (pocket and contact). Atom-level ligand references
|
|
181
|
+
* currently support ligand_ccd only; ligand_smiles is unsupported.
|
|
182
|
+
*/
|
|
183
|
+
constraints?: Array<Input.PocketConstraintResponse | Input.ContactConstraintResponse>;
|
|
184
|
+
model_options?: Input.ModelOptions;
|
|
185
|
+
/**
|
|
186
|
+
* Number of structure samples to generate
|
|
187
|
+
*/
|
|
188
|
+
num_samples?: number;
|
|
189
|
+
}
|
|
190
|
+
namespace Input {
|
|
191
|
+
interface ProteinEntityResponse {
|
|
192
|
+
/**
|
|
193
|
+
* Chain IDs for this entity
|
|
194
|
+
*/
|
|
195
|
+
chain_ids: Array<string>;
|
|
196
|
+
type: 'protein';
|
|
197
|
+
/**
|
|
198
|
+
* Amino acid sequence (one-letter codes)
|
|
199
|
+
*/
|
|
200
|
+
value: string;
|
|
201
|
+
/**
|
|
202
|
+
* Whether the sequence is cyclic
|
|
203
|
+
*/
|
|
204
|
+
cyclic?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Post-translational modifications. Optional; defaults to an empty list when
|
|
207
|
+
* omitted.
|
|
208
|
+
*/
|
|
209
|
+
modifications?: Array<ProteinEntityResponse.CcdModificationResponse | ProteinEntityResponse.SmilesModificationResponse>;
|
|
210
|
+
}
|
|
211
|
+
namespace ProteinEntityResponse {
|
|
212
|
+
interface CcdModificationResponse {
|
|
213
|
+
/**
|
|
214
|
+
* 0-based index of the residue to modify
|
|
215
|
+
*/
|
|
216
|
+
residue_index: number;
|
|
217
|
+
type: 'ccd';
|
|
218
|
+
/**
|
|
219
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
220
|
+
* phosphoserine)
|
|
221
|
+
*/
|
|
222
|
+
value: string;
|
|
223
|
+
}
|
|
224
|
+
interface SmilesModificationResponse {
|
|
225
|
+
/**
|
|
226
|
+
* 0-based index of the residue to modify
|
|
227
|
+
*/
|
|
228
|
+
residue_index: number;
|
|
229
|
+
type: 'smiles';
|
|
230
|
+
/**
|
|
231
|
+
* SMILES string for the modification
|
|
232
|
+
*/
|
|
233
|
+
value: string;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
interface RnaEntityResponse {
|
|
237
|
+
/**
|
|
238
|
+
* Chain IDs for this entity
|
|
239
|
+
*/
|
|
240
|
+
chain_ids: Array<string>;
|
|
241
|
+
type: 'rna';
|
|
242
|
+
/**
|
|
243
|
+
* RNA nucleotide sequence (A, C, G, U, N)
|
|
244
|
+
*/
|
|
245
|
+
value: string;
|
|
246
|
+
/**
|
|
247
|
+
* Whether the sequence is cyclic
|
|
248
|
+
*/
|
|
249
|
+
cyclic?: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
252
|
+
*/
|
|
253
|
+
modifications?: Array<RnaEntityResponse.CcdModificationResponse | RnaEntityResponse.SmilesModificationResponse>;
|
|
254
|
+
}
|
|
255
|
+
namespace RnaEntityResponse {
|
|
256
|
+
interface CcdModificationResponse {
|
|
257
|
+
/**
|
|
258
|
+
* 0-based index of the residue to modify
|
|
259
|
+
*/
|
|
260
|
+
residue_index: number;
|
|
261
|
+
type: 'ccd';
|
|
262
|
+
/**
|
|
263
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
264
|
+
* phosphoserine)
|
|
265
|
+
*/
|
|
266
|
+
value: string;
|
|
267
|
+
}
|
|
268
|
+
interface SmilesModificationResponse {
|
|
269
|
+
/**
|
|
270
|
+
* 0-based index of the residue to modify
|
|
271
|
+
*/
|
|
272
|
+
residue_index: number;
|
|
273
|
+
type: 'smiles';
|
|
274
|
+
/**
|
|
275
|
+
* SMILES string for the modification
|
|
276
|
+
*/
|
|
277
|
+
value: string;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
interface DnaEntityResponse {
|
|
281
|
+
/**
|
|
282
|
+
* Chain IDs for this entity
|
|
283
|
+
*/
|
|
284
|
+
chain_ids: Array<string>;
|
|
285
|
+
type: 'dna';
|
|
286
|
+
/**
|
|
287
|
+
* DNA nucleotide sequence (A, C, G, T, N)
|
|
288
|
+
*/
|
|
289
|
+
value: string;
|
|
290
|
+
/**
|
|
291
|
+
* Whether the sequence is cyclic
|
|
292
|
+
*/
|
|
293
|
+
cyclic?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
296
|
+
*/
|
|
297
|
+
modifications?: Array<DnaEntityResponse.CcdModificationResponse | DnaEntityResponse.SmilesModificationResponse>;
|
|
298
|
+
}
|
|
299
|
+
namespace DnaEntityResponse {
|
|
300
|
+
interface CcdModificationResponse {
|
|
301
|
+
/**
|
|
302
|
+
* 0-based index of the residue to modify
|
|
303
|
+
*/
|
|
304
|
+
residue_index: number;
|
|
305
|
+
type: 'ccd';
|
|
306
|
+
/**
|
|
307
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
308
|
+
* phosphoserine)
|
|
309
|
+
*/
|
|
310
|
+
value: string;
|
|
311
|
+
}
|
|
312
|
+
interface SmilesModificationResponse {
|
|
313
|
+
/**
|
|
314
|
+
* 0-based index of the residue to modify
|
|
315
|
+
*/
|
|
316
|
+
residue_index: number;
|
|
317
|
+
type: 'smiles';
|
|
318
|
+
/**
|
|
319
|
+
* SMILES string for the modification
|
|
320
|
+
*/
|
|
321
|
+
value: string;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
interface LigandCcdEntityResponse {
|
|
325
|
+
/**
|
|
326
|
+
* Chain IDs for this ligand
|
|
327
|
+
*/
|
|
328
|
+
chain_ids: Array<string>;
|
|
329
|
+
type: 'ligand_ccd';
|
|
330
|
+
/**
|
|
331
|
+
* CCD code (e.g., ATP, ADP)
|
|
332
|
+
*/
|
|
333
|
+
value: string;
|
|
334
|
+
}
|
|
335
|
+
interface LigandSmilesEntityResponse {
|
|
336
|
+
/**
|
|
337
|
+
* Chain IDs for this ligand
|
|
338
|
+
*/
|
|
339
|
+
chain_ids: Array<string>;
|
|
340
|
+
type: 'ligand_smiles';
|
|
341
|
+
/**
|
|
342
|
+
* SMILES string representing the ligand
|
|
343
|
+
*/
|
|
344
|
+
value: string;
|
|
345
|
+
}
|
|
346
|
+
interface LigandProteinBindingResponse {
|
|
347
|
+
/**
|
|
348
|
+
* Chain ID of the ligand binder (must have exactly 1 copy, <50 atoms, and only
|
|
349
|
+
* ligands+proteins in entities)
|
|
350
|
+
*/
|
|
351
|
+
binder_chain_id: string;
|
|
352
|
+
type: 'ligand_protein_binding';
|
|
353
|
+
}
|
|
354
|
+
interface ProteinProteinBindingResponse {
|
|
355
|
+
/**
|
|
356
|
+
* Chain IDs of the protein binders
|
|
357
|
+
*/
|
|
358
|
+
binder_chain_ids: Array<string>;
|
|
359
|
+
type: 'protein_protein_binding';
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Bond between two atoms. Atom-level ligand references currently support
|
|
363
|
+
* ligand_ccd entities only; ligand_smiles is unsupported.
|
|
364
|
+
*/
|
|
365
|
+
interface Bond {
|
|
366
|
+
/**
|
|
367
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
368
|
+
* entities only; ligand_smiles is unsupported.
|
|
369
|
+
*/
|
|
370
|
+
atom1: Bond.LigandAtomResponse | Bond.PolymerAtomResponse;
|
|
371
|
+
/**
|
|
372
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
373
|
+
* entities only; ligand_smiles is unsupported.
|
|
374
|
+
*/
|
|
375
|
+
atom2: Bond.LigandAtomResponse | Bond.PolymerAtomResponse;
|
|
376
|
+
}
|
|
377
|
+
namespace Bond {
|
|
378
|
+
/**
|
|
379
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
380
|
+
* entities only; ligand_smiles is unsupported.
|
|
381
|
+
*/
|
|
382
|
+
interface LigandAtomResponse {
|
|
383
|
+
/**
|
|
384
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
385
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
386
|
+
*/
|
|
387
|
+
atom_name: string;
|
|
388
|
+
/**
|
|
389
|
+
* Chain ID containing the atom
|
|
390
|
+
*/
|
|
391
|
+
chain_id: string;
|
|
392
|
+
type: 'ligand_atom';
|
|
393
|
+
}
|
|
394
|
+
interface PolymerAtomResponse {
|
|
395
|
+
/**
|
|
396
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
397
|
+
*/
|
|
398
|
+
atom_name: string;
|
|
399
|
+
/**
|
|
400
|
+
* Chain ID containing the atom
|
|
401
|
+
*/
|
|
402
|
+
chain_id: string;
|
|
403
|
+
/**
|
|
404
|
+
* 0-based residue index
|
|
405
|
+
*/
|
|
406
|
+
residue_index: number;
|
|
407
|
+
type: 'polymer_atom';
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
411
|
+
* entities only; ligand_smiles is unsupported.
|
|
412
|
+
*/
|
|
413
|
+
interface LigandAtomResponse {
|
|
414
|
+
/**
|
|
415
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
416
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
417
|
+
*/
|
|
418
|
+
atom_name: string;
|
|
419
|
+
/**
|
|
420
|
+
* Chain ID containing the atom
|
|
421
|
+
*/
|
|
422
|
+
chain_id: string;
|
|
423
|
+
type: 'ligand_atom';
|
|
424
|
+
}
|
|
425
|
+
interface PolymerAtomResponse {
|
|
426
|
+
/**
|
|
427
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
428
|
+
*/
|
|
429
|
+
atom_name: string;
|
|
430
|
+
/**
|
|
431
|
+
* Chain ID containing the atom
|
|
432
|
+
*/
|
|
433
|
+
chain_id: string;
|
|
434
|
+
/**
|
|
435
|
+
* 0-based residue index
|
|
436
|
+
*/
|
|
437
|
+
residue_index: number;
|
|
438
|
+
type: 'polymer_atom';
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Constrains the binder to interact with specific pocket residues on the target.
|
|
443
|
+
*/
|
|
444
|
+
interface PocketConstraintResponse {
|
|
445
|
+
/**
|
|
446
|
+
* Chain ID of the binder molecule
|
|
447
|
+
*/
|
|
448
|
+
binder_chain_id: string;
|
|
449
|
+
/**
|
|
450
|
+
* Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and
|
|
451
|
+
* the value is an array of 0-indexed residue indices that define the pocket on
|
|
452
|
+
* that chain.
|
|
453
|
+
*/
|
|
454
|
+
contact_residues: {
|
|
455
|
+
[key: string]: Array<number>;
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* Maximum allowed distance in Angstroms between binder and pocket residues.
|
|
459
|
+
* Typical range: 4-8 A.
|
|
460
|
+
*/
|
|
461
|
+
max_distance_angstrom: number;
|
|
462
|
+
type: 'pocket';
|
|
463
|
+
/**
|
|
464
|
+
* Whether to force the constraint
|
|
465
|
+
*/
|
|
466
|
+
force?: boolean;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Contact constraint between two tokens. Atom-level ligand references currently
|
|
470
|
+
* support ligand_ccd entities only; ligand_smiles is unsupported.
|
|
471
|
+
*/
|
|
472
|
+
interface ContactConstraintResponse {
|
|
473
|
+
/**
|
|
474
|
+
* Maximum distance in Angstroms
|
|
475
|
+
*/
|
|
476
|
+
max_distance_angstrom: number;
|
|
477
|
+
/**
|
|
478
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
479
|
+
* entities only; ligand_smiles is unsupported.
|
|
480
|
+
*/
|
|
481
|
+
token1: ContactConstraintResponse.PolymerContactTokenResponse | ContactConstraintResponse.LigandContactTokenResponse;
|
|
482
|
+
/**
|
|
483
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
484
|
+
* entities only; ligand_smiles is unsupported.
|
|
485
|
+
*/
|
|
486
|
+
token2: ContactConstraintResponse.PolymerContactTokenResponse | ContactConstraintResponse.LigandContactTokenResponse;
|
|
487
|
+
type: 'contact';
|
|
488
|
+
/**
|
|
489
|
+
* Whether to force the constraint
|
|
490
|
+
*/
|
|
491
|
+
force?: boolean;
|
|
492
|
+
}
|
|
493
|
+
namespace ContactConstraintResponse {
|
|
494
|
+
interface PolymerContactTokenResponse {
|
|
495
|
+
/**
|
|
496
|
+
* Chain ID
|
|
497
|
+
*/
|
|
498
|
+
chain_id: string;
|
|
499
|
+
/**
|
|
500
|
+
* 0-based residue index
|
|
501
|
+
*/
|
|
502
|
+
residue_index: number;
|
|
503
|
+
type: 'polymer_contact';
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
507
|
+
* entities only; ligand_smiles is unsupported.
|
|
508
|
+
*/
|
|
509
|
+
interface LigandContactTokenResponse {
|
|
510
|
+
/**
|
|
511
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
512
|
+
* unsupported; use ligand_ccd instead.
|
|
513
|
+
*/
|
|
514
|
+
atom_name: string;
|
|
515
|
+
/**
|
|
516
|
+
* Chain ID
|
|
517
|
+
*/
|
|
518
|
+
chain_id: string;
|
|
519
|
+
type: 'ligand_contact';
|
|
520
|
+
}
|
|
521
|
+
interface PolymerContactTokenResponse {
|
|
522
|
+
/**
|
|
523
|
+
* Chain ID
|
|
524
|
+
*/
|
|
525
|
+
chain_id: string;
|
|
526
|
+
/**
|
|
527
|
+
* 0-based residue index
|
|
528
|
+
*/
|
|
529
|
+
residue_index: number;
|
|
530
|
+
type: 'polymer_contact';
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
534
|
+
* entities only; ligand_smiles is unsupported.
|
|
535
|
+
*/
|
|
536
|
+
interface LigandContactTokenResponse {
|
|
537
|
+
/**
|
|
538
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
539
|
+
* unsupported; use ligand_ccd instead.
|
|
540
|
+
*/
|
|
541
|
+
atom_name: string;
|
|
542
|
+
/**
|
|
543
|
+
* Chain ID
|
|
544
|
+
*/
|
|
545
|
+
chain_id: string;
|
|
546
|
+
type: 'ligand_contact';
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
interface ModelOptions {
|
|
550
|
+
/**
|
|
551
|
+
* The number of recycling steps to use for prediction. Default is 3.
|
|
552
|
+
*/
|
|
553
|
+
recycling_steps?: number;
|
|
554
|
+
/**
|
|
555
|
+
* The number of sampling steps to use for prediction. Default is 200.
|
|
556
|
+
*/
|
|
557
|
+
sampling_steps?: number;
|
|
558
|
+
/**
|
|
559
|
+
* Diffusion step scale (temperature). Controls sampling diversity — higher values
|
|
560
|
+
* produce more varied structures. Default is 1.638.
|
|
561
|
+
*/
|
|
562
|
+
step_scale?: number;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Prediction output when succeeded
|
|
567
|
+
*/
|
|
568
|
+
interface Output {
|
|
569
|
+
/**
|
|
570
|
+
* Per-sample structure results
|
|
571
|
+
*/
|
|
572
|
+
all_sample_results: Array<Output.AllSampleResult>;
|
|
573
|
+
best_sample: Output.BestSample;
|
|
574
|
+
archive?: Output.Archive;
|
|
575
|
+
binding_metrics?: Output.LigandProteinBindingMetrics | Output.ProteinProteinBindingMetrics;
|
|
576
|
+
}
|
|
577
|
+
namespace Output {
|
|
578
|
+
interface AllSampleResult {
|
|
579
|
+
metrics: AllSampleResult.Metrics;
|
|
580
|
+
structure: AllSampleResult.Structure;
|
|
581
|
+
}
|
|
582
|
+
namespace AllSampleResult {
|
|
583
|
+
interface Metrics {
|
|
584
|
+
/**
|
|
585
|
+
* Complex interface predicted distance error. Lower is better.
|
|
586
|
+
*/
|
|
587
|
+
complex_ipde: number;
|
|
588
|
+
/**
|
|
589
|
+
* Complex interface pLDDT (0-1 float). Confidence at inter-chain interfaces.
|
|
590
|
+
*/
|
|
591
|
+
complex_iplddt: number;
|
|
592
|
+
/**
|
|
593
|
+
* Complex predicted distance error. Lower is better.
|
|
594
|
+
*/
|
|
595
|
+
complex_pde: number;
|
|
596
|
+
/**
|
|
597
|
+
* Complex pLDDT (0-1 float). Per-residue confidence averaged over the complex.
|
|
598
|
+
*/
|
|
599
|
+
complex_plddt: number;
|
|
600
|
+
/**
|
|
601
|
+
* Interface predicted TM score (0-1). Confidence in domain interfaces.
|
|
602
|
+
*/
|
|
603
|
+
iptm: number;
|
|
604
|
+
/**
|
|
605
|
+
* Ligand interface pTM (0-1). Only present when ligands are included.
|
|
606
|
+
*/
|
|
607
|
+
ligand_iptm: number;
|
|
608
|
+
/**
|
|
609
|
+
* Protein-protein interface pTM (0-1). Only present for multi-protein complexes.
|
|
610
|
+
*/
|
|
611
|
+
protein_iptm: number;
|
|
612
|
+
/**
|
|
613
|
+
* Predicted TM score (0-1). Global structure quality.
|
|
614
|
+
*/
|
|
615
|
+
ptm: number;
|
|
616
|
+
/**
|
|
617
|
+
* Overall structure confidence (0-1).
|
|
618
|
+
*/
|
|
619
|
+
structure_confidence: number;
|
|
620
|
+
}
|
|
621
|
+
interface Structure {
|
|
622
|
+
/**
|
|
623
|
+
* URL to download the file
|
|
624
|
+
*/
|
|
625
|
+
url: string;
|
|
626
|
+
/**
|
|
627
|
+
* When the presigned URL expires
|
|
628
|
+
*/
|
|
629
|
+
url_expires_at: string;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
interface BestSample {
|
|
633
|
+
metrics: BestSample.Metrics;
|
|
634
|
+
structure: BestSample.Structure;
|
|
635
|
+
}
|
|
636
|
+
namespace BestSample {
|
|
637
|
+
interface Metrics {
|
|
638
|
+
/**
|
|
639
|
+
* Complex interface predicted distance error. Lower is better.
|
|
640
|
+
*/
|
|
641
|
+
complex_ipde: number;
|
|
642
|
+
/**
|
|
643
|
+
* Complex interface pLDDT (0-1 float). Confidence at inter-chain interfaces.
|
|
644
|
+
*/
|
|
645
|
+
complex_iplddt: number;
|
|
646
|
+
/**
|
|
647
|
+
* Complex predicted distance error. Lower is better.
|
|
648
|
+
*/
|
|
649
|
+
complex_pde: number;
|
|
650
|
+
/**
|
|
651
|
+
* Complex pLDDT (0-1 float). Per-residue confidence averaged over the complex.
|
|
652
|
+
*/
|
|
653
|
+
complex_plddt: number;
|
|
654
|
+
/**
|
|
655
|
+
* Interface predicted TM score (0-1). Confidence in domain interfaces.
|
|
656
|
+
*/
|
|
657
|
+
iptm: number;
|
|
658
|
+
/**
|
|
659
|
+
* Ligand interface pTM (0-1). Only present when ligands are included.
|
|
660
|
+
*/
|
|
661
|
+
ligand_iptm: number;
|
|
662
|
+
/**
|
|
663
|
+
* Protein-protein interface pTM (0-1). Only present for multi-protein complexes.
|
|
664
|
+
*/
|
|
665
|
+
protein_iptm: number;
|
|
666
|
+
/**
|
|
667
|
+
* Predicted TM score (0-1). Global structure quality.
|
|
668
|
+
*/
|
|
669
|
+
ptm: number;
|
|
670
|
+
/**
|
|
671
|
+
* Overall structure confidence (0-1).
|
|
672
|
+
*/
|
|
673
|
+
structure_confidence: number;
|
|
674
|
+
}
|
|
675
|
+
interface Structure {
|
|
676
|
+
/**
|
|
677
|
+
* URL to download the file
|
|
678
|
+
*/
|
|
679
|
+
url: string;
|
|
680
|
+
/**
|
|
681
|
+
* When the presigned URL expires
|
|
682
|
+
*/
|
|
683
|
+
url_expires_at: string;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
interface Archive {
|
|
687
|
+
/**
|
|
688
|
+
* URL to download the file
|
|
689
|
+
*/
|
|
690
|
+
url: string;
|
|
691
|
+
/**
|
|
692
|
+
* When the presigned URL expires
|
|
693
|
+
*/
|
|
694
|
+
url_expires_at: string;
|
|
695
|
+
}
|
|
696
|
+
interface LigandProteinBindingMetrics {
|
|
697
|
+
/**
|
|
698
|
+
* Confidence that binding occurs (0-1). Primary metric for hit discovery.
|
|
699
|
+
*/
|
|
700
|
+
binding_confidence: number;
|
|
701
|
+
/**
|
|
702
|
+
* Binding strength ranking score for lead optimization. Higher values indicate
|
|
703
|
+
* stronger predicted binding.
|
|
704
|
+
*/
|
|
705
|
+
optimization_score: number;
|
|
706
|
+
type: 'ligand_protein_binding_metrics';
|
|
707
|
+
}
|
|
708
|
+
interface ProteinProteinBindingMetrics {
|
|
709
|
+
/**
|
|
710
|
+
* Confidence that binding occurs (0-1). Primary metric for hit discovery.
|
|
711
|
+
*/
|
|
712
|
+
binding_confidence: number;
|
|
713
|
+
type: 'protein_protein_binding_metrics';
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
export interface StructureAndBindingListResponse {
|
|
718
|
+
/**
|
|
719
|
+
* Unique prediction identifier
|
|
720
|
+
*/
|
|
721
|
+
id: string;
|
|
722
|
+
completed_at: string | null;
|
|
723
|
+
created_at: string;
|
|
724
|
+
/**
|
|
725
|
+
* When the input/output data was deleted, or null if still available
|
|
726
|
+
*/
|
|
727
|
+
data_deleted_at: string | null;
|
|
728
|
+
/**
|
|
729
|
+
* Error details when failed
|
|
730
|
+
*/
|
|
731
|
+
error: StructureAndBindingListResponse.Error | null;
|
|
732
|
+
/**
|
|
733
|
+
* When this resource and its associated data will be permanently deleted. Null
|
|
734
|
+
* while still in progress.
|
|
735
|
+
*/
|
|
736
|
+
expires_at: string | null;
|
|
737
|
+
/**
|
|
738
|
+
* Whether this resource was created with a live API key.
|
|
739
|
+
*/
|
|
740
|
+
livemode: boolean;
|
|
741
|
+
/**
|
|
742
|
+
* Model used for prediction
|
|
743
|
+
*/
|
|
744
|
+
model: 'boltz-2.1';
|
|
745
|
+
started_at: string | null;
|
|
746
|
+
status: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
747
|
+
/**
|
|
748
|
+
* Model version used for prediction
|
|
749
|
+
*/
|
|
750
|
+
version: string;
|
|
751
|
+
/**
|
|
752
|
+
* Workspace ID
|
|
753
|
+
*/
|
|
754
|
+
workspace_id: string;
|
|
755
|
+
/**
|
|
756
|
+
* Client-provided idempotency key
|
|
757
|
+
*/
|
|
758
|
+
idempotency_key?: string;
|
|
759
|
+
}
|
|
760
|
+
export declare namespace StructureAndBindingListResponse {
|
|
761
|
+
/**
|
|
762
|
+
* Error details when failed
|
|
763
|
+
*/
|
|
764
|
+
interface Error {
|
|
765
|
+
/**
|
|
766
|
+
* Machine-readable error code
|
|
767
|
+
*/
|
|
768
|
+
code: string;
|
|
769
|
+
/**
|
|
770
|
+
* Human-readable error message
|
|
771
|
+
*/
|
|
772
|
+
message: string;
|
|
773
|
+
/**
|
|
774
|
+
* Additional field-level error details keyed by input path, when available.
|
|
775
|
+
*/
|
|
776
|
+
details?: unknown;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
export interface StructureAndBindingDeleteDataResponse {
|
|
780
|
+
/**
|
|
781
|
+
* ID of the resource whose data was deleted
|
|
782
|
+
*/
|
|
783
|
+
id: string;
|
|
784
|
+
data_deleted: true;
|
|
785
|
+
/**
|
|
786
|
+
* When the data was deleted
|
|
787
|
+
*/
|
|
788
|
+
data_deleted_at: string;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Estimate response with monetary values encoded as decimal strings to preserve
|
|
792
|
+
* precision.
|
|
793
|
+
*/
|
|
794
|
+
export interface StructureAndBindingEstimateCostResponse {
|
|
795
|
+
/**
|
|
796
|
+
* Cost breakdown for the billed application.
|
|
797
|
+
*/
|
|
798
|
+
breakdown: StructureAndBindingEstimateCostResponse.Breakdown;
|
|
799
|
+
disclaimer: string;
|
|
800
|
+
/**
|
|
801
|
+
* Estimated total cost as a decimal string
|
|
802
|
+
*/
|
|
803
|
+
estimated_cost_usd: string;
|
|
804
|
+
}
|
|
805
|
+
export declare namespace StructureAndBindingEstimateCostResponse {
|
|
806
|
+
/**
|
|
807
|
+
* Cost breakdown for the billed application.
|
|
808
|
+
*/
|
|
809
|
+
interface Breakdown {
|
|
810
|
+
application: 'structure_and_binding' | 'small_molecule_design' | 'small_molecule_library_screen' | 'protein_design' | 'protein_library_screen' | 'adme';
|
|
811
|
+
/**
|
|
812
|
+
* Estimated cost per displayed unit as a decimal string, rounded up to 4 decimal
|
|
813
|
+
* places. This may include token-size multipliers or generation overhead;
|
|
814
|
+
* estimated_cost_usd is the authoritative total.
|
|
815
|
+
*/
|
|
816
|
+
cost_per_unit_usd: string;
|
|
817
|
+
/**
|
|
818
|
+
* Number of units shown for the estimate. For structure-and-binding, this is the
|
|
819
|
+
* requested number of samples. For protein and small-molecule design/screen
|
|
820
|
+
* endpoints, this is the requested number of proteins or molecules.
|
|
821
|
+
*/
|
|
822
|
+
num_units: number;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
export interface StructureAndBindingStartResponse {
|
|
826
|
+
/**
|
|
827
|
+
* Unique prediction identifier
|
|
828
|
+
*/
|
|
829
|
+
id: string;
|
|
830
|
+
completed_at: string | null;
|
|
831
|
+
created_at: string;
|
|
832
|
+
/**
|
|
833
|
+
* When the input/output data was deleted, or null if still available
|
|
834
|
+
*/
|
|
835
|
+
data_deleted_at: string | null;
|
|
836
|
+
/**
|
|
837
|
+
* Error details when failed
|
|
838
|
+
*/
|
|
839
|
+
error: StructureAndBindingStartResponse.Error | null;
|
|
840
|
+
/**
|
|
841
|
+
* When this resource and its associated data will be permanently deleted. Null
|
|
842
|
+
* while still in progress.
|
|
843
|
+
*/
|
|
844
|
+
expires_at: string | null;
|
|
845
|
+
/**
|
|
846
|
+
* Prediction input (null if data deleted)
|
|
847
|
+
*/
|
|
848
|
+
input: StructureAndBindingStartResponse.Input | null;
|
|
849
|
+
/**
|
|
850
|
+
* Whether this resource was created with a live API key.
|
|
851
|
+
*/
|
|
852
|
+
livemode: boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Model used for prediction
|
|
855
|
+
*/
|
|
856
|
+
model: 'boltz-2.1';
|
|
857
|
+
/**
|
|
858
|
+
* Prediction output when succeeded
|
|
859
|
+
*/
|
|
860
|
+
output: StructureAndBindingStartResponse.Output | null;
|
|
861
|
+
started_at: string | null;
|
|
862
|
+
status: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
863
|
+
/**
|
|
864
|
+
* Model version used for prediction
|
|
865
|
+
*/
|
|
866
|
+
version: string;
|
|
867
|
+
/**
|
|
868
|
+
* Workspace ID
|
|
869
|
+
*/
|
|
870
|
+
workspace_id: string;
|
|
871
|
+
/**
|
|
872
|
+
* Client-provided idempotency key
|
|
873
|
+
*/
|
|
874
|
+
idempotency_key?: string;
|
|
875
|
+
}
|
|
876
|
+
export declare namespace StructureAndBindingStartResponse {
|
|
877
|
+
/**
|
|
878
|
+
* Error details when failed
|
|
879
|
+
*/
|
|
880
|
+
interface Error {
|
|
881
|
+
/**
|
|
882
|
+
* Machine-readable error code
|
|
883
|
+
*/
|
|
884
|
+
code: string;
|
|
885
|
+
/**
|
|
886
|
+
* Human-readable error message
|
|
887
|
+
*/
|
|
888
|
+
message: string;
|
|
889
|
+
/**
|
|
890
|
+
* Additional field-level error details keyed by input path, when available.
|
|
891
|
+
*/
|
|
892
|
+
details?: unknown;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Prediction input (null if data deleted)
|
|
896
|
+
*/
|
|
897
|
+
interface Input {
|
|
898
|
+
/**
|
|
899
|
+
* Entities (proteins, RNA, DNA, ligands) forming the complex to predict. Order
|
|
900
|
+
* determines chain assignment.
|
|
901
|
+
*/
|
|
902
|
+
entities: Array<Input.ProteinEntityResponse | Input.RnaEntityResponse | Input.DnaEntityResponse | Input.LigandCcdEntityResponse | Input.LigandSmilesEntityResponse>;
|
|
903
|
+
binding?: Input.LigandProteinBindingResponse | Input.ProteinProteinBindingResponse;
|
|
904
|
+
/**
|
|
905
|
+
* Bond constraints between atoms. Atom-level ligand references currently support
|
|
906
|
+
* ligand_ccd only; ligand_smiles is unsupported.
|
|
907
|
+
*/
|
|
908
|
+
bonds?: Array<Input.Bond>;
|
|
909
|
+
/**
|
|
910
|
+
* Structural constraints (pocket and contact). Atom-level ligand references
|
|
911
|
+
* currently support ligand_ccd only; ligand_smiles is unsupported.
|
|
912
|
+
*/
|
|
913
|
+
constraints?: Array<Input.PocketConstraintResponse | Input.ContactConstraintResponse>;
|
|
914
|
+
model_options?: Input.ModelOptions;
|
|
915
|
+
/**
|
|
916
|
+
* Number of structure samples to generate
|
|
917
|
+
*/
|
|
918
|
+
num_samples?: number;
|
|
919
|
+
}
|
|
920
|
+
namespace Input {
|
|
921
|
+
interface ProteinEntityResponse {
|
|
922
|
+
/**
|
|
923
|
+
* Chain IDs for this entity
|
|
924
|
+
*/
|
|
925
|
+
chain_ids: Array<string>;
|
|
926
|
+
type: 'protein';
|
|
927
|
+
/**
|
|
928
|
+
* Amino acid sequence (one-letter codes)
|
|
929
|
+
*/
|
|
930
|
+
value: string;
|
|
931
|
+
/**
|
|
932
|
+
* Whether the sequence is cyclic
|
|
933
|
+
*/
|
|
934
|
+
cyclic?: boolean;
|
|
935
|
+
/**
|
|
936
|
+
* Post-translational modifications. Optional; defaults to an empty list when
|
|
937
|
+
* omitted.
|
|
938
|
+
*/
|
|
939
|
+
modifications?: Array<ProteinEntityResponse.CcdModificationResponse | ProteinEntityResponse.SmilesModificationResponse>;
|
|
940
|
+
}
|
|
941
|
+
namespace ProteinEntityResponse {
|
|
942
|
+
interface CcdModificationResponse {
|
|
943
|
+
/**
|
|
944
|
+
* 0-based index of the residue to modify
|
|
945
|
+
*/
|
|
946
|
+
residue_index: number;
|
|
947
|
+
type: 'ccd';
|
|
948
|
+
/**
|
|
949
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
950
|
+
* phosphoserine)
|
|
951
|
+
*/
|
|
952
|
+
value: string;
|
|
953
|
+
}
|
|
954
|
+
interface SmilesModificationResponse {
|
|
955
|
+
/**
|
|
956
|
+
* 0-based index of the residue to modify
|
|
957
|
+
*/
|
|
958
|
+
residue_index: number;
|
|
959
|
+
type: 'smiles';
|
|
960
|
+
/**
|
|
961
|
+
* SMILES string for the modification
|
|
962
|
+
*/
|
|
963
|
+
value: string;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
interface RnaEntityResponse {
|
|
967
|
+
/**
|
|
968
|
+
* Chain IDs for this entity
|
|
969
|
+
*/
|
|
970
|
+
chain_ids: Array<string>;
|
|
971
|
+
type: 'rna';
|
|
972
|
+
/**
|
|
973
|
+
* RNA nucleotide sequence (A, C, G, U, N)
|
|
974
|
+
*/
|
|
975
|
+
value: string;
|
|
976
|
+
/**
|
|
977
|
+
* Whether the sequence is cyclic
|
|
978
|
+
*/
|
|
979
|
+
cyclic?: boolean;
|
|
980
|
+
/**
|
|
981
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
982
|
+
*/
|
|
983
|
+
modifications?: Array<RnaEntityResponse.CcdModificationResponse | RnaEntityResponse.SmilesModificationResponse>;
|
|
984
|
+
}
|
|
985
|
+
namespace RnaEntityResponse {
|
|
986
|
+
interface CcdModificationResponse {
|
|
987
|
+
/**
|
|
988
|
+
* 0-based index of the residue to modify
|
|
989
|
+
*/
|
|
990
|
+
residue_index: number;
|
|
991
|
+
type: 'ccd';
|
|
992
|
+
/**
|
|
993
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
994
|
+
* phosphoserine)
|
|
995
|
+
*/
|
|
996
|
+
value: string;
|
|
997
|
+
}
|
|
998
|
+
interface SmilesModificationResponse {
|
|
999
|
+
/**
|
|
1000
|
+
* 0-based index of the residue to modify
|
|
1001
|
+
*/
|
|
1002
|
+
residue_index: number;
|
|
1003
|
+
type: 'smiles';
|
|
1004
|
+
/**
|
|
1005
|
+
* SMILES string for the modification
|
|
1006
|
+
*/
|
|
1007
|
+
value: string;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
interface DnaEntityResponse {
|
|
1011
|
+
/**
|
|
1012
|
+
* Chain IDs for this entity
|
|
1013
|
+
*/
|
|
1014
|
+
chain_ids: Array<string>;
|
|
1015
|
+
type: 'dna';
|
|
1016
|
+
/**
|
|
1017
|
+
* DNA nucleotide sequence (A, C, G, T, N)
|
|
1018
|
+
*/
|
|
1019
|
+
value: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Whether the sequence is cyclic
|
|
1022
|
+
*/
|
|
1023
|
+
cyclic?: boolean;
|
|
1024
|
+
/**
|
|
1025
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
1026
|
+
*/
|
|
1027
|
+
modifications?: Array<DnaEntityResponse.CcdModificationResponse | DnaEntityResponse.SmilesModificationResponse>;
|
|
1028
|
+
}
|
|
1029
|
+
namespace DnaEntityResponse {
|
|
1030
|
+
interface CcdModificationResponse {
|
|
1031
|
+
/**
|
|
1032
|
+
* 0-based index of the residue to modify
|
|
1033
|
+
*/
|
|
1034
|
+
residue_index: number;
|
|
1035
|
+
type: 'ccd';
|
|
1036
|
+
/**
|
|
1037
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1038
|
+
* phosphoserine)
|
|
1039
|
+
*/
|
|
1040
|
+
value: string;
|
|
1041
|
+
}
|
|
1042
|
+
interface SmilesModificationResponse {
|
|
1043
|
+
/**
|
|
1044
|
+
* 0-based index of the residue to modify
|
|
1045
|
+
*/
|
|
1046
|
+
residue_index: number;
|
|
1047
|
+
type: 'smiles';
|
|
1048
|
+
/**
|
|
1049
|
+
* SMILES string for the modification
|
|
1050
|
+
*/
|
|
1051
|
+
value: string;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
interface LigandCcdEntityResponse {
|
|
1055
|
+
/**
|
|
1056
|
+
* Chain IDs for this ligand
|
|
1057
|
+
*/
|
|
1058
|
+
chain_ids: Array<string>;
|
|
1059
|
+
type: 'ligand_ccd';
|
|
1060
|
+
/**
|
|
1061
|
+
* CCD code (e.g., ATP, ADP)
|
|
1062
|
+
*/
|
|
1063
|
+
value: string;
|
|
1064
|
+
}
|
|
1065
|
+
interface LigandSmilesEntityResponse {
|
|
1066
|
+
/**
|
|
1067
|
+
* Chain IDs for this ligand
|
|
1068
|
+
*/
|
|
1069
|
+
chain_ids: Array<string>;
|
|
1070
|
+
type: 'ligand_smiles';
|
|
1071
|
+
/**
|
|
1072
|
+
* SMILES string representing the ligand
|
|
1073
|
+
*/
|
|
1074
|
+
value: string;
|
|
1075
|
+
}
|
|
1076
|
+
interface LigandProteinBindingResponse {
|
|
1077
|
+
/**
|
|
1078
|
+
* Chain ID of the ligand binder (must have exactly 1 copy, <50 atoms, and only
|
|
1079
|
+
* ligands+proteins in entities)
|
|
1080
|
+
*/
|
|
1081
|
+
binder_chain_id: string;
|
|
1082
|
+
type: 'ligand_protein_binding';
|
|
1083
|
+
}
|
|
1084
|
+
interface ProteinProteinBindingResponse {
|
|
1085
|
+
/**
|
|
1086
|
+
* Chain IDs of the protein binders
|
|
1087
|
+
*/
|
|
1088
|
+
binder_chain_ids: Array<string>;
|
|
1089
|
+
type: 'protein_protein_binding';
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Bond between two atoms. Atom-level ligand references currently support
|
|
1093
|
+
* ligand_ccd entities only; ligand_smiles is unsupported.
|
|
1094
|
+
*/
|
|
1095
|
+
interface Bond {
|
|
1096
|
+
/**
|
|
1097
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1098
|
+
* entities only; ligand_smiles is unsupported.
|
|
1099
|
+
*/
|
|
1100
|
+
atom1: Bond.LigandAtomResponse | Bond.PolymerAtomResponse;
|
|
1101
|
+
/**
|
|
1102
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1103
|
+
* entities only; ligand_smiles is unsupported.
|
|
1104
|
+
*/
|
|
1105
|
+
atom2: Bond.LigandAtomResponse | Bond.PolymerAtomResponse;
|
|
1106
|
+
}
|
|
1107
|
+
namespace Bond {
|
|
1108
|
+
/**
|
|
1109
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1110
|
+
* entities only; ligand_smiles is unsupported.
|
|
1111
|
+
*/
|
|
1112
|
+
interface LigandAtomResponse {
|
|
1113
|
+
/**
|
|
1114
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
1115
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
1116
|
+
*/
|
|
1117
|
+
atom_name: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Chain ID containing the atom
|
|
1120
|
+
*/
|
|
1121
|
+
chain_id: string;
|
|
1122
|
+
type: 'ligand_atom';
|
|
1123
|
+
}
|
|
1124
|
+
interface PolymerAtomResponse {
|
|
1125
|
+
/**
|
|
1126
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
1127
|
+
*/
|
|
1128
|
+
atom_name: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Chain ID containing the atom
|
|
1131
|
+
*/
|
|
1132
|
+
chain_id: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* 0-based residue index
|
|
1135
|
+
*/
|
|
1136
|
+
residue_index: number;
|
|
1137
|
+
type: 'polymer_atom';
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1141
|
+
* entities only; ligand_smiles is unsupported.
|
|
1142
|
+
*/
|
|
1143
|
+
interface LigandAtomResponse {
|
|
1144
|
+
/**
|
|
1145
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
1146
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
1147
|
+
*/
|
|
1148
|
+
atom_name: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Chain ID containing the atom
|
|
1151
|
+
*/
|
|
1152
|
+
chain_id: string;
|
|
1153
|
+
type: 'ligand_atom';
|
|
1154
|
+
}
|
|
1155
|
+
interface PolymerAtomResponse {
|
|
1156
|
+
/**
|
|
1157
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
1158
|
+
*/
|
|
1159
|
+
atom_name: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Chain ID containing the atom
|
|
1162
|
+
*/
|
|
1163
|
+
chain_id: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* 0-based residue index
|
|
1166
|
+
*/
|
|
1167
|
+
residue_index: number;
|
|
1168
|
+
type: 'polymer_atom';
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Constrains the binder to interact with specific pocket residues on the target.
|
|
1173
|
+
*/
|
|
1174
|
+
interface PocketConstraintResponse {
|
|
1175
|
+
/**
|
|
1176
|
+
* Chain ID of the binder molecule
|
|
1177
|
+
*/
|
|
1178
|
+
binder_chain_id: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and
|
|
1181
|
+
* the value is an array of 0-indexed residue indices that define the pocket on
|
|
1182
|
+
* that chain.
|
|
1183
|
+
*/
|
|
1184
|
+
contact_residues: {
|
|
1185
|
+
[key: string]: Array<number>;
|
|
1186
|
+
};
|
|
1187
|
+
/**
|
|
1188
|
+
* Maximum allowed distance in Angstroms between binder and pocket residues.
|
|
1189
|
+
* Typical range: 4-8 A.
|
|
1190
|
+
*/
|
|
1191
|
+
max_distance_angstrom: number;
|
|
1192
|
+
type: 'pocket';
|
|
1193
|
+
/**
|
|
1194
|
+
* Whether to force the constraint
|
|
1195
|
+
*/
|
|
1196
|
+
force?: boolean;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Contact constraint between two tokens. Atom-level ligand references currently
|
|
1200
|
+
* support ligand_ccd entities only; ligand_smiles is unsupported.
|
|
1201
|
+
*/
|
|
1202
|
+
interface ContactConstraintResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
* Maximum distance in Angstroms
|
|
1205
|
+
*/
|
|
1206
|
+
max_distance_angstrom: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1209
|
+
* entities only; ligand_smiles is unsupported.
|
|
1210
|
+
*/
|
|
1211
|
+
token1: ContactConstraintResponse.PolymerContactTokenResponse | ContactConstraintResponse.LigandContactTokenResponse;
|
|
1212
|
+
/**
|
|
1213
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1214
|
+
* entities only; ligand_smiles is unsupported.
|
|
1215
|
+
*/
|
|
1216
|
+
token2: ContactConstraintResponse.PolymerContactTokenResponse | ContactConstraintResponse.LigandContactTokenResponse;
|
|
1217
|
+
type: 'contact';
|
|
1218
|
+
/**
|
|
1219
|
+
* Whether to force the constraint
|
|
1220
|
+
*/
|
|
1221
|
+
force?: boolean;
|
|
1222
|
+
}
|
|
1223
|
+
namespace ContactConstraintResponse {
|
|
1224
|
+
interface PolymerContactTokenResponse {
|
|
1225
|
+
/**
|
|
1226
|
+
* Chain ID
|
|
1227
|
+
*/
|
|
1228
|
+
chain_id: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* 0-based residue index
|
|
1231
|
+
*/
|
|
1232
|
+
residue_index: number;
|
|
1233
|
+
type: 'polymer_contact';
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1237
|
+
* entities only; ligand_smiles is unsupported.
|
|
1238
|
+
*/
|
|
1239
|
+
interface LigandContactTokenResponse {
|
|
1240
|
+
/**
|
|
1241
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
1242
|
+
* unsupported; use ligand_ccd instead.
|
|
1243
|
+
*/
|
|
1244
|
+
atom_name: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Chain ID
|
|
1247
|
+
*/
|
|
1248
|
+
chain_id: string;
|
|
1249
|
+
type: 'ligand_contact';
|
|
1250
|
+
}
|
|
1251
|
+
interface PolymerContactTokenResponse {
|
|
1252
|
+
/**
|
|
1253
|
+
* Chain ID
|
|
1254
|
+
*/
|
|
1255
|
+
chain_id: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* 0-based residue index
|
|
1258
|
+
*/
|
|
1259
|
+
residue_index: number;
|
|
1260
|
+
type: 'polymer_contact';
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1264
|
+
* entities only; ligand_smiles is unsupported.
|
|
1265
|
+
*/
|
|
1266
|
+
interface LigandContactTokenResponse {
|
|
1267
|
+
/**
|
|
1268
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
1269
|
+
* unsupported; use ligand_ccd instead.
|
|
1270
|
+
*/
|
|
1271
|
+
atom_name: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Chain ID
|
|
1274
|
+
*/
|
|
1275
|
+
chain_id: string;
|
|
1276
|
+
type: 'ligand_contact';
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
interface ModelOptions {
|
|
1280
|
+
/**
|
|
1281
|
+
* The number of recycling steps to use for prediction. Default is 3.
|
|
1282
|
+
*/
|
|
1283
|
+
recycling_steps?: number;
|
|
1284
|
+
/**
|
|
1285
|
+
* The number of sampling steps to use for prediction. Default is 200.
|
|
1286
|
+
*/
|
|
1287
|
+
sampling_steps?: number;
|
|
1288
|
+
/**
|
|
1289
|
+
* Diffusion step scale (temperature). Controls sampling diversity — higher values
|
|
1290
|
+
* produce more varied structures. Default is 1.638.
|
|
1291
|
+
*/
|
|
1292
|
+
step_scale?: number;
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Prediction output when succeeded
|
|
1297
|
+
*/
|
|
1298
|
+
interface Output {
|
|
1299
|
+
/**
|
|
1300
|
+
* Per-sample structure results
|
|
1301
|
+
*/
|
|
1302
|
+
all_sample_results: Array<Output.AllSampleResult>;
|
|
1303
|
+
best_sample: Output.BestSample;
|
|
1304
|
+
archive?: Output.Archive;
|
|
1305
|
+
binding_metrics?: Output.LigandProteinBindingMetrics | Output.ProteinProteinBindingMetrics;
|
|
1306
|
+
}
|
|
1307
|
+
namespace Output {
|
|
1308
|
+
interface AllSampleResult {
|
|
1309
|
+
metrics: AllSampleResult.Metrics;
|
|
1310
|
+
structure: AllSampleResult.Structure;
|
|
1311
|
+
}
|
|
1312
|
+
namespace AllSampleResult {
|
|
1313
|
+
interface Metrics {
|
|
1314
|
+
/**
|
|
1315
|
+
* Complex interface predicted distance error. Lower is better.
|
|
1316
|
+
*/
|
|
1317
|
+
complex_ipde: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* Complex interface pLDDT (0-1 float). Confidence at inter-chain interfaces.
|
|
1320
|
+
*/
|
|
1321
|
+
complex_iplddt: number;
|
|
1322
|
+
/**
|
|
1323
|
+
* Complex predicted distance error. Lower is better.
|
|
1324
|
+
*/
|
|
1325
|
+
complex_pde: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* Complex pLDDT (0-1 float). Per-residue confidence averaged over the complex.
|
|
1328
|
+
*/
|
|
1329
|
+
complex_plddt: number;
|
|
1330
|
+
/**
|
|
1331
|
+
* Interface predicted TM score (0-1). Confidence in domain interfaces.
|
|
1332
|
+
*/
|
|
1333
|
+
iptm: number;
|
|
1334
|
+
/**
|
|
1335
|
+
* Ligand interface pTM (0-1). Only present when ligands are included.
|
|
1336
|
+
*/
|
|
1337
|
+
ligand_iptm: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* Protein-protein interface pTM (0-1). Only present for multi-protein complexes.
|
|
1340
|
+
*/
|
|
1341
|
+
protein_iptm: number;
|
|
1342
|
+
/**
|
|
1343
|
+
* Predicted TM score (0-1). Global structure quality.
|
|
1344
|
+
*/
|
|
1345
|
+
ptm: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* Overall structure confidence (0-1).
|
|
1348
|
+
*/
|
|
1349
|
+
structure_confidence: number;
|
|
1350
|
+
}
|
|
1351
|
+
interface Structure {
|
|
1352
|
+
/**
|
|
1353
|
+
* URL to download the file
|
|
1354
|
+
*/
|
|
1355
|
+
url: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* When the presigned URL expires
|
|
1358
|
+
*/
|
|
1359
|
+
url_expires_at: string;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
interface BestSample {
|
|
1363
|
+
metrics: BestSample.Metrics;
|
|
1364
|
+
structure: BestSample.Structure;
|
|
1365
|
+
}
|
|
1366
|
+
namespace BestSample {
|
|
1367
|
+
interface Metrics {
|
|
1368
|
+
/**
|
|
1369
|
+
* Complex interface predicted distance error. Lower is better.
|
|
1370
|
+
*/
|
|
1371
|
+
complex_ipde: number;
|
|
1372
|
+
/**
|
|
1373
|
+
* Complex interface pLDDT (0-1 float). Confidence at inter-chain interfaces.
|
|
1374
|
+
*/
|
|
1375
|
+
complex_iplddt: number;
|
|
1376
|
+
/**
|
|
1377
|
+
* Complex predicted distance error. Lower is better.
|
|
1378
|
+
*/
|
|
1379
|
+
complex_pde: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* Complex pLDDT (0-1 float). Per-residue confidence averaged over the complex.
|
|
1382
|
+
*/
|
|
1383
|
+
complex_plddt: number;
|
|
1384
|
+
/**
|
|
1385
|
+
* Interface predicted TM score (0-1). Confidence in domain interfaces.
|
|
1386
|
+
*/
|
|
1387
|
+
iptm: number;
|
|
1388
|
+
/**
|
|
1389
|
+
* Ligand interface pTM (0-1). Only present when ligands are included.
|
|
1390
|
+
*/
|
|
1391
|
+
ligand_iptm: number;
|
|
1392
|
+
/**
|
|
1393
|
+
* Protein-protein interface pTM (0-1). Only present for multi-protein complexes.
|
|
1394
|
+
*/
|
|
1395
|
+
protein_iptm: number;
|
|
1396
|
+
/**
|
|
1397
|
+
* Predicted TM score (0-1). Global structure quality.
|
|
1398
|
+
*/
|
|
1399
|
+
ptm: number;
|
|
1400
|
+
/**
|
|
1401
|
+
* Overall structure confidence (0-1).
|
|
1402
|
+
*/
|
|
1403
|
+
structure_confidence: number;
|
|
1404
|
+
}
|
|
1405
|
+
interface Structure {
|
|
1406
|
+
/**
|
|
1407
|
+
* URL to download the file
|
|
1408
|
+
*/
|
|
1409
|
+
url: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* When the presigned URL expires
|
|
1412
|
+
*/
|
|
1413
|
+
url_expires_at: string;
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
interface Archive {
|
|
1417
|
+
/**
|
|
1418
|
+
* URL to download the file
|
|
1419
|
+
*/
|
|
1420
|
+
url: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* When the presigned URL expires
|
|
1423
|
+
*/
|
|
1424
|
+
url_expires_at: string;
|
|
1425
|
+
}
|
|
1426
|
+
interface LigandProteinBindingMetrics {
|
|
1427
|
+
/**
|
|
1428
|
+
* Confidence that binding occurs (0-1). Primary metric for hit discovery.
|
|
1429
|
+
*/
|
|
1430
|
+
binding_confidence: number;
|
|
1431
|
+
/**
|
|
1432
|
+
* Binding strength ranking score for lead optimization. Higher values indicate
|
|
1433
|
+
* stronger predicted binding.
|
|
1434
|
+
*/
|
|
1435
|
+
optimization_score: number;
|
|
1436
|
+
type: 'ligand_protein_binding_metrics';
|
|
1437
|
+
}
|
|
1438
|
+
interface ProteinProteinBindingMetrics {
|
|
1439
|
+
/**
|
|
1440
|
+
* Confidence that binding occurs (0-1). Primary metric for hit discovery.
|
|
1441
|
+
*/
|
|
1442
|
+
binding_confidence: number;
|
|
1443
|
+
type: 'protein_protein_binding_metrics';
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
export interface StructureAndBindingRetrieveParams {
|
|
1448
|
+
/**
|
|
1449
|
+
* Workspace ID. Only used with admin API keys. Ignored (or validated) for
|
|
1450
|
+
* workspace-scoped keys.
|
|
1451
|
+
*/
|
|
1452
|
+
workspace_id?: string;
|
|
1453
|
+
}
|
|
1454
|
+
export interface StructureAndBindingListParams extends CursorPageParams {
|
|
1455
|
+
/**
|
|
1456
|
+
* Filter by workspace ID. Only used with admin API keys. If not provided, defaults
|
|
1457
|
+
* to the workspace associated with the API key, or the default workspace for admin
|
|
1458
|
+
* keys.
|
|
1459
|
+
*/
|
|
1460
|
+
workspace_id?: string;
|
|
1461
|
+
}
|
|
1462
|
+
export interface StructureAndBindingEstimateCostParams {
|
|
1463
|
+
input: StructureAndBindingEstimateCostParams.Input;
|
|
1464
|
+
/**
|
|
1465
|
+
* Model to use for prediction
|
|
1466
|
+
*/
|
|
1467
|
+
model: 'boltz-2.1';
|
|
1468
|
+
/**
|
|
1469
|
+
* Client-provided key to prevent duplicate submissions on retries
|
|
1470
|
+
*/
|
|
1471
|
+
idempotency_key?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Target workspace ID (admin keys only; ignored for workspace keys)
|
|
1474
|
+
*/
|
|
1475
|
+
workspace_id?: string;
|
|
1476
|
+
}
|
|
1477
|
+
export declare namespace StructureAndBindingEstimateCostParams {
|
|
1478
|
+
interface Input {
|
|
1479
|
+
/**
|
|
1480
|
+
* Entities (proteins, RNA, DNA, ligands) forming the complex to predict. Order
|
|
1481
|
+
* determines chain assignment.
|
|
1482
|
+
*/
|
|
1483
|
+
entities: Array<Input.ProteinEntity | Input.RnaEntity | Input.DnaEntity | Input.LigandCcdEntity | Input.LigandSmilesEntity>;
|
|
1484
|
+
binding?: Input.LigandProteinBinding | Input.ProteinProteinBinding;
|
|
1485
|
+
/**
|
|
1486
|
+
* Bond constraints between atoms. Atom-level ligand references currently support
|
|
1487
|
+
* ligand_ccd only; ligand_smiles is unsupported.
|
|
1488
|
+
*/
|
|
1489
|
+
bonds?: Array<Input.Bond>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Structural constraints (pocket and contact). Atom-level ligand references
|
|
1492
|
+
* currently support ligand_ccd only; ligand_smiles is unsupported.
|
|
1493
|
+
*/
|
|
1494
|
+
constraints?: Array<Input.PocketConstraint | Input.ContactConstraint>;
|
|
1495
|
+
model_options?: Input.ModelOptions;
|
|
1496
|
+
/**
|
|
1497
|
+
* Number of structure samples to generate
|
|
1498
|
+
*/
|
|
1499
|
+
num_samples?: number;
|
|
1500
|
+
}
|
|
1501
|
+
namespace Input {
|
|
1502
|
+
interface ProteinEntity {
|
|
1503
|
+
/**
|
|
1504
|
+
* Chain IDs for this entity
|
|
1505
|
+
*/
|
|
1506
|
+
chain_ids: Array<string>;
|
|
1507
|
+
type: 'protein';
|
|
1508
|
+
/**
|
|
1509
|
+
* Amino acid sequence (one-letter codes)
|
|
1510
|
+
*/
|
|
1511
|
+
value: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Whether the sequence is cyclic
|
|
1514
|
+
*/
|
|
1515
|
+
cyclic?: boolean;
|
|
1516
|
+
/**
|
|
1517
|
+
* Post-translational modifications. Optional; defaults to an empty list when
|
|
1518
|
+
* omitted.
|
|
1519
|
+
*/
|
|
1520
|
+
modifications?: Array<ProteinEntity.CcdModification | ProteinEntity.SmilesModification>;
|
|
1521
|
+
}
|
|
1522
|
+
namespace ProteinEntity {
|
|
1523
|
+
interface CcdModification {
|
|
1524
|
+
/**
|
|
1525
|
+
* 0-based index of the residue to modify
|
|
1526
|
+
*/
|
|
1527
|
+
residue_index: number;
|
|
1528
|
+
type: 'ccd';
|
|
1529
|
+
/**
|
|
1530
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1531
|
+
* phosphoserine)
|
|
1532
|
+
*/
|
|
1533
|
+
value: string;
|
|
1534
|
+
}
|
|
1535
|
+
interface SmilesModification {
|
|
1536
|
+
/**
|
|
1537
|
+
* 0-based index of the residue to modify
|
|
1538
|
+
*/
|
|
1539
|
+
residue_index: number;
|
|
1540
|
+
type: 'smiles';
|
|
1541
|
+
/**
|
|
1542
|
+
* SMILES string for the modification
|
|
1543
|
+
*/
|
|
1544
|
+
value: string;
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
interface RnaEntity {
|
|
1548
|
+
/**
|
|
1549
|
+
* Chain IDs for this entity
|
|
1550
|
+
*/
|
|
1551
|
+
chain_ids: Array<string>;
|
|
1552
|
+
type: 'rna';
|
|
1553
|
+
/**
|
|
1554
|
+
* RNA nucleotide sequence (A, C, G, U, N)
|
|
1555
|
+
*/
|
|
1556
|
+
value: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Whether the sequence is cyclic
|
|
1559
|
+
*/
|
|
1560
|
+
cyclic?: boolean;
|
|
1561
|
+
/**
|
|
1562
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
1563
|
+
*/
|
|
1564
|
+
modifications?: Array<RnaEntity.CcdModification | RnaEntity.SmilesModification>;
|
|
1565
|
+
}
|
|
1566
|
+
namespace RnaEntity {
|
|
1567
|
+
interface CcdModification {
|
|
1568
|
+
/**
|
|
1569
|
+
* 0-based index of the residue to modify
|
|
1570
|
+
*/
|
|
1571
|
+
residue_index: number;
|
|
1572
|
+
type: 'ccd';
|
|
1573
|
+
/**
|
|
1574
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1575
|
+
* phosphoserine)
|
|
1576
|
+
*/
|
|
1577
|
+
value: string;
|
|
1578
|
+
}
|
|
1579
|
+
interface SmilesModification {
|
|
1580
|
+
/**
|
|
1581
|
+
* 0-based index of the residue to modify
|
|
1582
|
+
*/
|
|
1583
|
+
residue_index: number;
|
|
1584
|
+
type: 'smiles';
|
|
1585
|
+
/**
|
|
1586
|
+
* SMILES string for the modification
|
|
1587
|
+
*/
|
|
1588
|
+
value: string;
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
interface DnaEntity {
|
|
1592
|
+
/**
|
|
1593
|
+
* Chain IDs for this entity
|
|
1594
|
+
*/
|
|
1595
|
+
chain_ids: Array<string>;
|
|
1596
|
+
type: 'dna';
|
|
1597
|
+
/**
|
|
1598
|
+
* DNA nucleotide sequence (A, C, G, T, N)
|
|
1599
|
+
*/
|
|
1600
|
+
value: string;
|
|
1601
|
+
/**
|
|
1602
|
+
* Whether the sequence is cyclic
|
|
1603
|
+
*/
|
|
1604
|
+
cyclic?: boolean;
|
|
1605
|
+
/**
|
|
1606
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
1607
|
+
*/
|
|
1608
|
+
modifications?: Array<DnaEntity.CcdModification | DnaEntity.SmilesModification>;
|
|
1609
|
+
}
|
|
1610
|
+
namespace DnaEntity {
|
|
1611
|
+
interface CcdModification {
|
|
1612
|
+
/**
|
|
1613
|
+
* 0-based index of the residue to modify
|
|
1614
|
+
*/
|
|
1615
|
+
residue_index: number;
|
|
1616
|
+
type: 'ccd';
|
|
1617
|
+
/**
|
|
1618
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1619
|
+
* phosphoserine)
|
|
1620
|
+
*/
|
|
1621
|
+
value: string;
|
|
1622
|
+
}
|
|
1623
|
+
interface SmilesModification {
|
|
1624
|
+
/**
|
|
1625
|
+
* 0-based index of the residue to modify
|
|
1626
|
+
*/
|
|
1627
|
+
residue_index: number;
|
|
1628
|
+
type: 'smiles';
|
|
1629
|
+
/**
|
|
1630
|
+
* SMILES string for the modification
|
|
1631
|
+
*/
|
|
1632
|
+
value: string;
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
interface LigandCcdEntity {
|
|
1636
|
+
/**
|
|
1637
|
+
* Chain IDs for this ligand
|
|
1638
|
+
*/
|
|
1639
|
+
chain_ids: Array<string>;
|
|
1640
|
+
type: 'ligand_ccd';
|
|
1641
|
+
/**
|
|
1642
|
+
* CCD code (e.g., ATP, ADP)
|
|
1643
|
+
*/
|
|
1644
|
+
value: string;
|
|
1645
|
+
}
|
|
1646
|
+
interface LigandSmilesEntity {
|
|
1647
|
+
/**
|
|
1648
|
+
* Chain IDs for this ligand
|
|
1649
|
+
*/
|
|
1650
|
+
chain_ids: Array<string>;
|
|
1651
|
+
type: 'ligand_smiles';
|
|
1652
|
+
/**
|
|
1653
|
+
* SMILES string representing the ligand
|
|
1654
|
+
*/
|
|
1655
|
+
value: string;
|
|
1656
|
+
}
|
|
1657
|
+
interface LigandProteinBinding {
|
|
1658
|
+
/**
|
|
1659
|
+
* Chain ID of the ligand binder (must have exactly 1 copy, <50 atoms, and only
|
|
1660
|
+
* ligands+proteins in entities)
|
|
1661
|
+
*/
|
|
1662
|
+
binder_chain_id: string;
|
|
1663
|
+
type: 'ligand_protein_binding';
|
|
1664
|
+
}
|
|
1665
|
+
interface ProteinProteinBinding {
|
|
1666
|
+
/**
|
|
1667
|
+
* Chain IDs of the protein binders
|
|
1668
|
+
*/
|
|
1669
|
+
binder_chain_ids: Array<string>;
|
|
1670
|
+
type: 'protein_protein_binding';
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Bond between two atoms. Atom-level ligand references currently support
|
|
1674
|
+
* ligand_ccd entities only; ligand_smiles is unsupported.
|
|
1675
|
+
*/
|
|
1676
|
+
interface Bond {
|
|
1677
|
+
/**
|
|
1678
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1679
|
+
* entities only; ligand_smiles is unsupported.
|
|
1680
|
+
*/
|
|
1681
|
+
atom1: Bond.LigandAtom | Bond.PolymerAtom;
|
|
1682
|
+
/**
|
|
1683
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1684
|
+
* entities only; ligand_smiles is unsupported.
|
|
1685
|
+
*/
|
|
1686
|
+
atom2: Bond.LigandAtom | Bond.PolymerAtom;
|
|
1687
|
+
}
|
|
1688
|
+
namespace Bond {
|
|
1689
|
+
/**
|
|
1690
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1691
|
+
* entities only; ligand_smiles is unsupported.
|
|
1692
|
+
*/
|
|
1693
|
+
interface LigandAtom {
|
|
1694
|
+
/**
|
|
1695
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
1696
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
1697
|
+
*/
|
|
1698
|
+
atom_name: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Chain ID containing the atom
|
|
1701
|
+
*/
|
|
1702
|
+
chain_id: string;
|
|
1703
|
+
type: 'ligand_atom';
|
|
1704
|
+
}
|
|
1705
|
+
interface PolymerAtom {
|
|
1706
|
+
/**
|
|
1707
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
1708
|
+
*/
|
|
1709
|
+
atom_name: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* Chain ID containing the atom
|
|
1712
|
+
*/
|
|
1713
|
+
chain_id: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* 0-based residue index
|
|
1716
|
+
*/
|
|
1717
|
+
residue_index: number;
|
|
1718
|
+
type: 'polymer_atom';
|
|
1719
|
+
}
|
|
1720
|
+
/**
|
|
1721
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
1722
|
+
* entities only; ligand_smiles is unsupported.
|
|
1723
|
+
*/
|
|
1724
|
+
interface LigandAtom {
|
|
1725
|
+
/**
|
|
1726
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
1727
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
1728
|
+
*/
|
|
1729
|
+
atom_name: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Chain ID containing the atom
|
|
1732
|
+
*/
|
|
1733
|
+
chain_id: string;
|
|
1734
|
+
type: 'ligand_atom';
|
|
1735
|
+
}
|
|
1736
|
+
interface PolymerAtom {
|
|
1737
|
+
/**
|
|
1738
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
1739
|
+
*/
|
|
1740
|
+
atom_name: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* Chain ID containing the atom
|
|
1743
|
+
*/
|
|
1744
|
+
chain_id: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* 0-based residue index
|
|
1747
|
+
*/
|
|
1748
|
+
residue_index: number;
|
|
1749
|
+
type: 'polymer_atom';
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
/**
|
|
1753
|
+
* Constrains the binder to interact with specific pocket residues on the target.
|
|
1754
|
+
*/
|
|
1755
|
+
interface PocketConstraint {
|
|
1756
|
+
/**
|
|
1757
|
+
* Chain ID of the binder molecule
|
|
1758
|
+
*/
|
|
1759
|
+
binder_chain_id: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and
|
|
1762
|
+
* the value is an array of 0-indexed residue indices that define the pocket on
|
|
1763
|
+
* that chain.
|
|
1764
|
+
*/
|
|
1765
|
+
contact_residues: {
|
|
1766
|
+
[key: string]: Array<number>;
|
|
1767
|
+
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Maximum allowed distance in Angstroms between binder and pocket residues.
|
|
1770
|
+
* Typical range: 4-8 A.
|
|
1771
|
+
*/
|
|
1772
|
+
max_distance_angstrom: number;
|
|
1773
|
+
type: 'pocket';
|
|
1774
|
+
/**
|
|
1775
|
+
* Whether to force the constraint
|
|
1776
|
+
*/
|
|
1777
|
+
force?: boolean;
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Contact constraint between two tokens. Atom-level ligand references currently
|
|
1781
|
+
* support ligand_ccd entities only; ligand_smiles is unsupported.
|
|
1782
|
+
*/
|
|
1783
|
+
interface ContactConstraint {
|
|
1784
|
+
/**
|
|
1785
|
+
* Maximum distance in Angstroms
|
|
1786
|
+
*/
|
|
1787
|
+
max_distance_angstrom: number;
|
|
1788
|
+
/**
|
|
1789
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1790
|
+
* entities only; ligand_smiles is unsupported.
|
|
1791
|
+
*/
|
|
1792
|
+
token1: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
|
|
1793
|
+
/**
|
|
1794
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1795
|
+
* entities only; ligand_smiles is unsupported.
|
|
1796
|
+
*/
|
|
1797
|
+
token2: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
|
|
1798
|
+
type: 'contact';
|
|
1799
|
+
/**
|
|
1800
|
+
* Whether to force the constraint
|
|
1801
|
+
*/
|
|
1802
|
+
force?: boolean;
|
|
1803
|
+
}
|
|
1804
|
+
namespace ContactConstraint {
|
|
1805
|
+
interface PolymerContactToken {
|
|
1806
|
+
/**
|
|
1807
|
+
* Chain ID
|
|
1808
|
+
*/
|
|
1809
|
+
chain_id: string;
|
|
1810
|
+
/**
|
|
1811
|
+
* 0-based residue index
|
|
1812
|
+
*/
|
|
1813
|
+
residue_index: number;
|
|
1814
|
+
type: 'polymer_contact';
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1818
|
+
* entities only; ligand_smiles is unsupported.
|
|
1819
|
+
*/
|
|
1820
|
+
interface LigandContactToken {
|
|
1821
|
+
/**
|
|
1822
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
1823
|
+
* unsupported; use ligand_ccd instead.
|
|
1824
|
+
*/
|
|
1825
|
+
atom_name: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* Chain ID
|
|
1828
|
+
*/
|
|
1829
|
+
chain_id: string;
|
|
1830
|
+
type: 'ligand_contact';
|
|
1831
|
+
}
|
|
1832
|
+
interface PolymerContactToken {
|
|
1833
|
+
/**
|
|
1834
|
+
* Chain ID
|
|
1835
|
+
*/
|
|
1836
|
+
chain_id: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* 0-based residue index
|
|
1839
|
+
*/
|
|
1840
|
+
residue_index: number;
|
|
1841
|
+
type: 'polymer_contact';
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
1845
|
+
* entities only; ligand_smiles is unsupported.
|
|
1846
|
+
*/
|
|
1847
|
+
interface LigandContactToken {
|
|
1848
|
+
/**
|
|
1849
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
1850
|
+
* unsupported; use ligand_ccd instead.
|
|
1851
|
+
*/
|
|
1852
|
+
atom_name: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* Chain ID
|
|
1855
|
+
*/
|
|
1856
|
+
chain_id: string;
|
|
1857
|
+
type: 'ligand_contact';
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
interface ModelOptions {
|
|
1861
|
+
/**
|
|
1862
|
+
* The number of recycling steps to use for prediction. Default is 3.
|
|
1863
|
+
*/
|
|
1864
|
+
recycling_steps?: number;
|
|
1865
|
+
/**
|
|
1866
|
+
* The number of sampling steps to use for prediction. Default is 200.
|
|
1867
|
+
*/
|
|
1868
|
+
sampling_steps?: number;
|
|
1869
|
+
/**
|
|
1870
|
+
* Diffusion step scale (temperature). Controls sampling diversity — higher values
|
|
1871
|
+
* produce more varied structures. Default is 1.638.
|
|
1872
|
+
*/
|
|
1873
|
+
step_scale?: number;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
export interface StructureAndBindingStartParams {
|
|
1878
|
+
input: StructureAndBindingStartParams.Input;
|
|
1879
|
+
/**
|
|
1880
|
+
* Model to use for prediction
|
|
1881
|
+
*/
|
|
1882
|
+
model: 'boltz-2.1';
|
|
1883
|
+
/**
|
|
1884
|
+
* Client-provided key to prevent duplicate submissions on retries
|
|
1885
|
+
*/
|
|
1886
|
+
idempotency_key?: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Target workspace ID (admin keys only; ignored for workspace keys)
|
|
1889
|
+
*/
|
|
1890
|
+
workspace_id?: string;
|
|
1891
|
+
}
|
|
1892
|
+
export declare namespace StructureAndBindingStartParams {
|
|
1893
|
+
interface Input {
|
|
1894
|
+
/**
|
|
1895
|
+
* Entities (proteins, RNA, DNA, ligands) forming the complex to predict. Order
|
|
1896
|
+
* determines chain assignment.
|
|
1897
|
+
*/
|
|
1898
|
+
entities: Array<Input.ProteinEntity | Input.RnaEntity | Input.DnaEntity | Input.LigandCcdEntity | Input.LigandSmilesEntity>;
|
|
1899
|
+
binding?: Input.LigandProteinBinding | Input.ProteinProteinBinding;
|
|
1900
|
+
/**
|
|
1901
|
+
* Bond constraints between atoms. Atom-level ligand references currently support
|
|
1902
|
+
* ligand_ccd only; ligand_smiles is unsupported.
|
|
1903
|
+
*/
|
|
1904
|
+
bonds?: Array<Input.Bond>;
|
|
1905
|
+
/**
|
|
1906
|
+
* Structural constraints (pocket and contact). Atom-level ligand references
|
|
1907
|
+
* currently support ligand_ccd only; ligand_smiles is unsupported.
|
|
1908
|
+
*/
|
|
1909
|
+
constraints?: Array<Input.PocketConstraint | Input.ContactConstraint>;
|
|
1910
|
+
model_options?: Input.ModelOptions;
|
|
1911
|
+
/**
|
|
1912
|
+
* Number of structure samples to generate
|
|
1913
|
+
*/
|
|
1914
|
+
num_samples?: number;
|
|
1915
|
+
}
|
|
1916
|
+
namespace Input {
|
|
1917
|
+
interface ProteinEntity {
|
|
1918
|
+
/**
|
|
1919
|
+
* Chain IDs for this entity
|
|
1920
|
+
*/
|
|
1921
|
+
chain_ids: Array<string>;
|
|
1922
|
+
type: 'protein';
|
|
1923
|
+
/**
|
|
1924
|
+
* Amino acid sequence (one-letter codes)
|
|
1925
|
+
*/
|
|
1926
|
+
value: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* Whether the sequence is cyclic
|
|
1929
|
+
*/
|
|
1930
|
+
cyclic?: boolean;
|
|
1931
|
+
/**
|
|
1932
|
+
* Post-translational modifications. Optional; defaults to an empty list when
|
|
1933
|
+
* omitted.
|
|
1934
|
+
*/
|
|
1935
|
+
modifications?: Array<ProteinEntity.CcdModification | ProteinEntity.SmilesModification>;
|
|
1936
|
+
}
|
|
1937
|
+
namespace ProteinEntity {
|
|
1938
|
+
interface CcdModification {
|
|
1939
|
+
/**
|
|
1940
|
+
* 0-based index of the residue to modify
|
|
1941
|
+
*/
|
|
1942
|
+
residue_index: number;
|
|
1943
|
+
type: 'ccd';
|
|
1944
|
+
/**
|
|
1945
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1946
|
+
* phosphoserine)
|
|
1947
|
+
*/
|
|
1948
|
+
value: string;
|
|
1949
|
+
}
|
|
1950
|
+
interface SmilesModification {
|
|
1951
|
+
/**
|
|
1952
|
+
* 0-based index of the residue to modify
|
|
1953
|
+
*/
|
|
1954
|
+
residue_index: number;
|
|
1955
|
+
type: 'smiles';
|
|
1956
|
+
/**
|
|
1957
|
+
* SMILES string for the modification
|
|
1958
|
+
*/
|
|
1959
|
+
value: string;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
interface RnaEntity {
|
|
1963
|
+
/**
|
|
1964
|
+
* Chain IDs for this entity
|
|
1965
|
+
*/
|
|
1966
|
+
chain_ids: Array<string>;
|
|
1967
|
+
type: 'rna';
|
|
1968
|
+
/**
|
|
1969
|
+
* RNA nucleotide sequence (A, C, G, U, N)
|
|
1970
|
+
*/
|
|
1971
|
+
value: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* Whether the sequence is cyclic
|
|
1974
|
+
*/
|
|
1975
|
+
cyclic?: boolean;
|
|
1976
|
+
/**
|
|
1977
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
1978
|
+
*/
|
|
1979
|
+
modifications?: Array<RnaEntity.CcdModification | RnaEntity.SmilesModification>;
|
|
1980
|
+
}
|
|
1981
|
+
namespace RnaEntity {
|
|
1982
|
+
interface CcdModification {
|
|
1983
|
+
/**
|
|
1984
|
+
* 0-based index of the residue to modify
|
|
1985
|
+
*/
|
|
1986
|
+
residue_index: number;
|
|
1987
|
+
type: 'ccd';
|
|
1988
|
+
/**
|
|
1989
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
1990
|
+
* phosphoserine)
|
|
1991
|
+
*/
|
|
1992
|
+
value: string;
|
|
1993
|
+
}
|
|
1994
|
+
interface SmilesModification {
|
|
1995
|
+
/**
|
|
1996
|
+
* 0-based index of the residue to modify
|
|
1997
|
+
*/
|
|
1998
|
+
residue_index: number;
|
|
1999
|
+
type: 'smiles';
|
|
2000
|
+
/**
|
|
2001
|
+
* SMILES string for the modification
|
|
2002
|
+
*/
|
|
2003
|
+
value: string;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
interface DnaEntity {
|
|
2007
|
+
/**
|
|
2008
|
+
* Chain IDs for this entity
|
|
2009
|
+
*/
|
|
2010
|
+
chain_ids: Array<string>;
|
|
2011
|
+
type: 'dna';
|
|
2012
|
+
/**
|
|
2013
|
+
* DNA nucleotide sequence (A, C, G, T, N)
|
|
2014
|
+
*/
|
|
2015
|
+
value: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* Whether the sequence is cyclic
|
|
2018
|
+
*/
|
|
2019
|
+
cyclic?: boolean;
|
|
2020
|
+
/**
|
|
2021
|
+
* Chemical modifications. Optional; defaults to an empty list when omitted.
|
|
2022
|
+
*/
|
|
2023
|
+
modifications?: Array<DnaEntity.CcdModification | DnaEntity.SmilesModification>;
|
|
2024
|
+
}
|
|
2025
|
+
namespace DnaEntity {
|
|
2026
|
+
interface CcdModification {
|
|
2027
|
+
/**
|
|
2028
|
+
* 0-based index of the residue to modify
|
|
2029
|
+
*/
|
|
2030
|
+
residue_index: number;
|
|
2031
|
+
type: 'ccd';
|
|
2032
|
+
/**
|
|
2033
|
+
* CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
|
|
2034
|
+
* phosphoserine)
|
|
2035
|
+
*/
|
|
2036
|
+
value: string;
|
|
2037
|
+
}
|
|
2038
|
+
interface SmilesModification {
|
|
2039
|
+
/**
|
|
2040
|
+
* 0-based index of the residue to modify
|
|
2041
|
+
*/
|
|
2042
|
+
residue_index: number;
|
|
2043
|
+
type: 'smiles';
|
|
2044
|
+
/**
|
|
2045
|
+
* SMILES string for the modification
|
|
2046
|
+
*/
|
|
2047
|
+
value: string;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
interface LigandCcdEntity {
|
|
2051
|
+
/**
|
|
2052
|
+
* Chain IDs for this ligand
|
|
2053
|
+
*/
|
|
2054
|
+
chain_ids: Array<string>;
|
|
2055
|
+
type: 'ligand_ccd';
|
|
2056
|
+
/**
|
|
2057
|
+
* CCD code (e.g., ATP, ADP)
|
|
2058
|
+
*/
|
|
2059
|
+
value: string;
|
|
2060
|
+
}
|
|
2061
|
+
interface LigandSmilesEntity {
|
|
2062
|
+
/**
|
|
2063
|
+
* Chain IDs for this ligand
|
|
2064
|
+
*/
|
|
2065
|
+
chain_ids: Array<string>;
|
|
2066
|
+
type: 'ligand_smiles';
|
|
2067
|
+
/**
|
|
2068
|
+
* SMILES string representing the ligand
|
|
2069
|
+
*/
|
|
2070
|
+
value: string;
|
|
2071
|
+
}
|
|
2072
|
+
interface LigandProteinBinding {
|
|
2073
|
+
/**
|
|
2074
|
+
* Chain ID of the ligand binder (must have exactly 1 copy, <50 atoms, and only
|
|
2075
|
+
* ligands+proteins in entities)
|
|
2076
|
+
*/
|
|
2077
|
+
binder_chain_id: string;
|
|
2078
|
+
type: 'ligand_protein_binding';
|
|
2079
|
+
}
|
|
2080
|
+
interface ProteinProteinBinding {
|
|
2081
|
+
/**
|
|
2082
|
+
* Chain IDs of the protein binders
|
|
2083
|
+
*/
|
|
2084
|
+
binder_chain_ids: Array<string>;
|
|
2085
|
+
type: 'protein_protein_binding';
|
|
2086
|
+
}
|
|
2087
|
+
/**
|
|
2088
|
+
* Bond between two atoms. Atom-level ligand references currently support
|
|
2089
|
+
* ligand_ccd entities only; ligand_smiles is unsupported.
|
|
2090
|
+
*/
|
|
2091
|
+
interface Bond {
|
|
2092
|
+
/**
|
|
2093
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
2094
|
+
* entities only; ligand_smiles is unsupported.
|
|
2095
|
+
*/
|
|
2096
|
+
atom1: Bond.LigandAtom | Bond.PolymerAtom;
|
|
2097
|
+
/**
|
|
2098
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
2099
|
+
* entities only; ligand_smiles is unsupported.
|
|
2100
|
+
*/
|
|
2101
|
+
atom2: Bond.LigandAtom | Bond.PolymerAtom;
|
|
2102
|
+
}
|
|
2103
|
+
namespace Bond {
|
|
2104
|
+
/**
|
|
2105
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
2106
|
+
* entities only; ligand_smiles is unsupported.
|
|
2107
|
+
*/
|
|
2108
|
+
interface LigandAtom {
|
|
2109
|
+
/**
|
|
2110
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
2111
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
2112
|
+
*/
|
|
2113
|
+
atom_name: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* Chain ID containing the atom
|
|
2116
|
+
*/
|
|
2117
|
+
chain_id: string;
|
|
2118
|
+
type: 'ligand_atom';
|
|
2119
|
+
}
|
|
2120
|
+
interface PolymerAtom {
|
|
2121
|
+
/**
|
|
2122
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
2123
|
+
*/
|
|
2124
|
+
atom_name: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* Chain ID containing the atom
|
|
2127
|
+
*/
|
|
2128
|
+
chain_id: string;
|
|
2129
|
+
/**
|
|
2130
|
+
* 0-based residue index
|
|
2131
|
+
*/
|
|
2132
|
+
residue_index: number;
|
|
2133
|
+
type: 'polymer_atom';
|
|
2134
|
+
}
|
|
2135
|
+
/**
|
|
2136
|
+
* Ligand atom reference. Atom-level ligand references currently support ligand_ccd
|
|
2137
|
+
* entities only; ligand_smiles is unsupported.
|
|
2138
|
+
*/
|
|
2139
|
+
interface LigandAtom {
|
|
2140
|
+
/**
|
|
2141
|
+
* Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
|
|
2142
|
+
* to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
|
|
2143
|
+
*/
|
|
2144
|
+
atom_name: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Chain ID containing the atom
|
|
2147
|
+
*/
|
|
2148
|
+
chain_id: string;
|
|
2149
|
+
type: 'ligand_atom';
|
|
2150
|
+
}
|
|
2151
|
+
interface PolymerAtom {
|
|
2152
|
+
/**
|
|
2153
|
+
* Standardized atom name (verifiable in CIF file on RCSB)
|
|
2154
|
+
*/
|
|
2155
|
+
atom_name: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* Chain ID containing the atom
|
|
2158
|
+
*/
|
|
2159
|
+
chain_id: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* 0-based residue index
|
|
2162
|
+
*/
|
|
2163
|
+
residue_index: number;
|
|
2164
|
+
type: 'polymer_atom';
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* Constrains the binder to interact with specific pocket residues on the target.
|
|
2169
|
+
*/
|
|
2170
|
+
interface PocketConstraint {
|
|
2171
|
+
/**
|
|
2172
|
+
* Chain ID of the binder molecule
|
|
2173
|
+
*/
|
|
2174
|
+
binder_chain_id: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and
|
|
2177
|
+
* the value is an array of 0-indexed residue indices that define the pocket on
|
|
2178
|
+
* that chain.
|
|
2179
|
+
*/
|
|
2180
|
+
contact_residues: {
|
|
2181
|
+
[key: string]: Array<number>;
|
|
2182
|
+
};
|
|
2183
|
+
/**
|
|
2184
|
+
* Maximum allowed distance in Angstroms between binder and pocket residues.
|
|
2185
|
+
* Typical range: 4-8 A.
|
|
2186
|
+
*/
|
|
2187
|
+
max_distance_angstrom: number;
|
|
2188
|
+
type: 'pocket';
|
|
2189
|
+
/**
|
|
2190
|
+
* Whether to force the constraint
|
|
2191
|
+
*/
|
|
2192
|
+
force?: boolean;
|
|
2193
|
+
}
|
|
2194
|
+
/**
|
|
2195
|
+
* Contact constraint between two tokens. Atom-level ligand references currently
|
|
2196
|
+
* support ligand_ccd entities only; ligand_smiles is unsupported.
|
|
2197
|
+
*/
|
|
2198
|
+
interface ContactConstraint {
|
|
2199
|
+
/**
|
|
2200
|
+
* Maximum distance in Angstroms
|
|
2201
|
+
*/
|
|
2202
|
+
max_distance_angstrom: number;
|
|
2203
|
+
/**
|
|
2204
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
2205
|
+
* entities only; ligand_smiles is unsupported.
|
|
2206
|
+
*/
|
|
2207
|
+
token1: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
|
|
2208
|
+
/**
|
|
2209
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
2210
|
+
* entities only; ligand_smiles is unsupported.
|
|
2211
|
+
*/
|
|
2212
|
+
token2: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
|
|
2213
|
+
type: 'contact';
|
|
2214
|
+
/**
|
|
2215
|
+
* Whether to force the constraint
|
|
2216
|
+
*/
|
|
2217
|
+
force?: boolean;
|
|
2218
|
+
}
|
|
2219
|
+
namespace ContactConstraint {
|
|
2220
|
+
interface PolymerContactToken {
|
|
2221
|
+
/**
|
|
2222
|
+
* Chain ID
|
|
2223
|
+
*/
|
|
2224
|
+
chain_id: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* 0-based residue index
|
|
2227
|
+
*/
|
|
2228
|
+
residue_index: number;
|
|
2229
|
+
type: 'polymer_contact';
|
|
2230
|
+
}
|
|
2231
|
+
/**
|
|
2232
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
2233
|
+
* entities only; ligand_smiles is unsupported.
|
|
2234
|
+
*/
|
|
2235
|
+
interface LigandContactToken {
|
|
2236
|
+
/**
|
|
2237
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
2238
|
+
* unsupported; use ligand_ccd instead.
|
|
2239
|
+
*/
|
|
2240
|
+
atom_name: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Chain ID
|
|
2243
|
+
*/
|
|
2244
|
+
chain_id: string;
|
|
2245
|
+
type: 'ligand_contact';
|
|
2246
|
+
}
|
|
2247
|
+
interface PolymerContactToken {
|
|
2248
|
+
/**
|
|
2249
|
+
* Chain ID
|
|
2250
|
+
*/
|
|
2251
|
+
chain_id: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* 0-based residue index
|
|
2254
|
+
*/
|
|
2255
|
+
residue_index: number;
|
|
2256
|
+
type: 'polymer_contact';
|
|
2257
|
+
}
|
|
2258
|
+
/**
|
|
2259
|
+
* Ligand contact token. Atom-level ligand references currently support ligand_ccd
|
|
2260
|
+
* entities only; ligand_smiles is unsupported.
|
|
2261
|
+
*/
|
|
2262
|
+
interface LigandContactToken {
|
|
2263
|
+
/**
|
|
2264
|
+
* Atom name. Atom-level references to ligand_smiles entities are currently
|
|
2265
|
+
* unsupported; use ligand_ccd instead.
|
|
2266
|
+
*/
|
|
2267
|
+
atom_name: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Chain ID
|
|
2270
|
+
*/
|
|
2271
|
+
chain_id: string;
|
|
2272
|
+
type: 'ligand_contact';
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
interface ModelOptions {
|
|
2276
|
+
/**
|
|
2277
|
+
* The number of recycling steps to use for prediction. Default is 3.
|
|
2278
|
+
*/
|
|
2279
|
+
recycling_steps?: number;
|
|
2280
|
+
/**
|
|
2281
|
+
* The number of sampling steps to use for prediction. Default is 200.
|
|
2282
|
+
*/
|
|
2283
|
+
sampling_steps?: number;
|
|
2284
|
+
/**
|
|
2285
|
+
* Diffusion step scale (temperature). Controls sampling diversity — higher values
|
|
2286
|
+
* produce more varied structures. Default is 1.638.
|
|
2287
|
+
*/
|
|
2288
|
+
step_scale?: number;
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
export declare namespace StructureAndBinding {
|
|
2293
|
+
export { type StructureAndBindingRetrieveResponse as StructureAndBindingRetrieveResponse, type StructureAndBindingListResponse as StructureAndBindingListResponse, type StructureAndBindingDeleteDataResponse as StructureAndBindingDeleteDataResponse, type StructureAndBindingEstimateCostResponse as StructureAndBindingEstimateCostResponse, type StructureAndBindingStartResponse as StructureAndBindingStartResponse, type StructureAndBindingListResponsesCursorPage as StructureAndBindingListResponsesCursorPage, type StructureAndBindingRetrieveParams as StructureAndBindingRetrieveParams, type StructureAndBindingListParams as StructureAndBindingListParams, type StructureAndBindingEstimateCostParams as StructureAndBindingEstimateCostParams, type StructureAndBindingStartParams as StructureAndBindingStartParams, };
|
|
2294
|
+
}
|
|
2295
|
+
//# sourceMappingURL=structure-and-binding.d.ts.map
|