Skip to content

Commit df53a23

Browse files
committed
add template to spec
1 parent 22cdc1b commit df53a23

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

source/_static/js/foldSpec.js

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,7 @@ const foldSpec = {
14771477
"/predictor/predict_single_site",
14781478
"/predictor/predict_multi",
14791479
"/predictor/crossvalidate",
1480+
"/clustering/hierarchical",
14801481
"/design",
14811482
],
14821483
"x-order": 3,
@@ -2025,6 +2026,33 @@ const foldSpec = {
20252026
step_scale: 1.2,
20262027
},
20272028
},
2029+
Template: {
2030+
title: "Template",
2031+
description:
2032+
"Structural template for guiding fold prediction from a prior query result.",
2033+
type: "object",
2034+
required: ["query_id"],
2035+
properties: {
2036+
query_id: {
2037+
type: "string",
2038+
format: "uuid",
2039+
description:
2040+
"ID of a completed query whose structure is used as a template.",
2041+
},
2042+
chain_id: {
2043+
description: "Chain identifier(s) to apply the template to.",
2044+
},
2045+
template_id: {
2046+
description:
2047+
"Chain identifier in the template CIF (the query result) to use as the structural reference.",
2048+
},
2049+
},
2050+
example: {
2051+
query_id: "f9152774-c354-480a-9349-a41c5dfe198b",
2052+
chain_id: "A",
2053+
template_id: "A",
2054+
},
2055+
},
20282056
Boltz2Request: {
20292057
title: "Boltz2Request",
20302058
description: "Request for structure prediction using Boltz-2.",
@@ -2072,6 +2100,13 @@ const foldSpec = {
20722100
],
20732101
},
20742102
},
2103+
templates: {
2104+
type: "array",
2105+
description: "Optional structural templates for prediction.",
2106+
items: {
2107+
$ref: "#/components/schemas/Template",
2108+
},
2109+
},
20752110
properties: {
20762111
type: "array",
20772112
description: "Optional properties to compute, such as affinity.",
@@ -2167,6 +2202,13 @@ const foldSpec = {
21672202
},
21682203
},
21692204
],
2205+
templates: [
2206+
{
2207+
query_id: "f9152774-c354-480a-9349-a41c5dfe198b",
2208+
chain_id: "A",
2209+
template_id: "A",
2210+
},
2211+
],
21702212
properties: [
21712213
{
21722214
affinity: {
@@ -2277,6 +2319,13 @@ const foldSpec = {
22772319
},
22782320
},
22792321
},
2322+
templates: {
2323+
type: "array",
2324+
description: "Optional structural templates for prediction.",
2325+
items: {
2326+
$ref: "#/components/schemas/Template",
2327+
},
2328+
},
22802329
diffusion_samples: {
22812330
type: "integer",
22822331
description: "Number of diffusion samples to use.",
@@ -2317,6 +2366,13 @@ const foldSpec = {
23172366
},
23182367
],
23192368
],
2369+
templates: [
2370+
{
2371+
query_id: "f9152774-c354-480a-9349-a41c5dfe198b",
2372+
chain_id: "A",
2373+
template_id: "A",
2374+
},
2375+
],
23202376
diffusion_samples: 2,
23212377
num_steps: 300,
23222378
num_recycles: 15,

0 commit comments

Comments
 (0)