@delta-infra/cli 1.1.19 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +507 -520
  2. package/checksums.txt +5 -5
  3. package/package.json +1 -1
  4. package/scripts/install-wizard.js +689 -688
  5. package/scripts/install.js +442 -442
  6. package/scripts/run.js +65 -65
  7. package/skills/delta-protein/AGENTS.md +72 -72
  8. package/skills/delta-protein/SKILL.md +388 -388
  9. package/skills/delta-protein/agents/openai.yaml +3 -3
  10. package/skills/delta-protein/references/bfitter.md +63 -63
  11. package/skills/delta-protein/references/catapro_predict.md +62 -62
  12. package/skills/delta-protein/references/catpred_predict.md +64 -64
  13. package/skills/delta-protein/references/caver_tunnel_analyze.md +62 -62
  14. package/skills/delta-protein/references/consensus_mutation.md +60 -60
  15. package/skills/delta-protein/references/consurf_predict.md +66 -66
  16. package/skills/delta-protein/references/crop_sequence.md +68 -68
  17. package/skills/delta-protein/references/dock.md +81 -81
  18. package/skills/delta-protein/references/dock_score.md +69 -69
  19. package/skills/delta-protein/references/easifa_predict_active_site.md +69 -69
  20. package/skills/delta-protein/references/ephod_predict_mutation.md +65 -65
  21. package/skills/delta-protein/references/ephod_predict_protein.md +60 -60
  22. package/skills/delta-protein/references/esmfold2_predict.md +66 -66
  23. package/skills/delta-protein/references/evcouplings_mutation.md +63 -63
  24. package/skills/delta-protein/references/fasta_to_sequence.md +58 -58
  25. package/skills/delta-protein/references/foldseek.md +60 -60
  26. package/skills/delta-protein/references/generate_msa.md +60 -60
  27. package/skills/delta-protein/references/interpro_analyze.md +62 -62
  28. package/skills/delta-protein/references/mpnn_design_sequence.md +70 -70
  29. package/skills/delta-protein/references/multievolve.md +72 -72
  30. package/skills/delta-protein/references/pisa_query.md +69 -69
  31. package/skills/delta-protein/references/plip_analyze.md +64 -64
  32. package/skills/delta-protein/references/pocket_prediction.md +62 -62
  33. package/skills/delta-protein/references/protein_design.md +64 -64
  34. package/skills/delta-protein/references/protein_evolution.md +76 -76
  35. package/skills/delta-protein/references/protein_sol_predict_mutation.md +65 -65
  36. package/skills/delta-protein/references/protein_sol_predict_protein.md +60 -60
  37. package/skills/delta-protein/references/protenix.md +65 -65
  38. package/skills/delta-protein/references/protrek_search.md +89 -89
  39. package/skills/delta-protein/references/pubchem_search.md +67 -67
  40. package/skills/delta-protein/references/pubmed_search.md +78 -78
  41. package/skills/delta-protein/references/reap_design_primer.md +68 -68
  42. package/skills/delta-protein/references/rfd3_design.md +64 -64
  43. package/skills/delta-protein/references/structure_to_sequence.md +60 -60
  44. package/skills/delta-protein/references/summarize_result.md +67 -67
  45. package/skills/delta-protein/references/surface_charge.md +83 -83
  46. package/skills/delta-protein/references/uniprot_batch_query.md +62 -62
  47. package/skills/delta-protein/references/uniprot_query.md +63 -63
  48. package/skills/delta-protein/references/zero_shot_mutant_candidates.md +75 -75
  49. package/skills/delta-protein/scripts/gen_references.py +166 -166
  50. package/skills/delta-protein/scripts/output_metadata.json +274 -274
  51. package/skills/delta-sandbox/SKILL.md +388 -388
  52. package/skills/delta-sandbox/agents/openai.yaml +4 -4
  53. package/skills/delta-sandbox/references/commands.md +58 -58
  54. package/skills/delta-sandbox/references/lifecycle.md +100 -100
  55. package/skills/delta-sandbox/references/recipes.md +138 -138
  56. package/skills/delta-science/AGENTS.md +47 -47
  57. package/skills/delta-science/SKILL.md +227 -227
  58. package/skills/delta-science/agents/openai.yaml +4 -4
  59. package/skills/delta-science/references/antbo.md +105 -105
  60. package/skills/delta-science/references/delta-bo.md +92 -92
  61. package/skills/delta-science/references/gsasii.md +118 -118
  62. package/skills/delta-science/references/lammps.md +68 -68
  63. package/skills/delta-science/references/ldm-bo.md +132 -132
  64. package/skills/delta-science/references/materials-design.md +130 -130
  65. package/skills/delta-science/references/pubchem.md +128 -128
  66. package/skills/delta-science/references/pymatgen.md +69 -69
  67. package/skills/delta-science/references/qe.md +134 -134
  68. package/skills/delta-science/references/rdkit.md +141 -141
  69. package/skills/delta-science/references/strbo.md +95 -95
  70. package/skills/delta-science/references/synbo.md +201 -201
  71. package/skills/delta-science/references/xrd.md +154 -170
  72. package/skills/delta-science/scripts/catalog.py +92 -92
  73. package/skills/delta-science/scripts/generated_catalog.py +69 -69
  74. package/skills/delta-science/scripts/invoke.py +346 -346
  75. package/skills/delta-shared/SKILL.md +113 -113
  76. package/skills/delta-shared/agents/openai.yaml +4 -4
  77. package/skills/manifest.json +20 -20
@@ -1,4 +1,4 @@
1
- interface:
2
- display_name: "Delta Protein"
3
- short_description: "Unified access to Huada protein analysis tools through the Delta CLI"
1
+ interface:
2
+ display_name: "Delta Protein"
3
+ short_description: "Unified access to Huada protein analysis tools through the Delta CLI"
4
4
  default_prompt: "Use $delta-protein to analyze protein research goals: pick the right endpoint and complete the task by calling huada_protein_tools through the Delta CLI."
@@ -1,64 +1,64 @@
1
- # Protein Flexibility Analysis (`huada_protein_tools` / `bfitter`)
2
-
3
- This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
- called via `delta-cli science invoke`; the business response described below lives
5
- under the CLI top-level `data` — read fields as documented in this file, do not
6
- recursively search. This file only documents the endpoint schema; it does not
7
- authorize direct HTTP. Endpoint names are authoritative as returned by
8
- `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
- guess, truncate, or alias.
10
-
11
- ## Overview
12
-
13
- Analyze flexible sites of a protein structure and identify candidate sites suitable
14
- for site-directed mutagenesis/directed evolution based on the B-factor.
15
- - Required: `structure_file` (PDB/CIF)
16
- - Optional: `chain` (default A), `b_parameter` (default B)
17
- - Output: flexibility results `resultjson`, `download_url`
18
- - Use case: identify flexible regions, select mutation sites
19
-
20
- ## Invocation
21
-
22
- ```text
23
- delta-cli science invoke --tool huada_protein_tools --endpoint bfitter --data JSON
24
- ```
25
-
26
- Required input groups (at least one per group; all groups must be satisfied):
27
-
28
- - `structure_file`
29
-
30
- Request fields:
31
-
32
- | Field | Description | Default |
33
- |---|---|---|
34
- | `structure_file` | PDB/CIF | - |
35
- | `chain` | Protein chain identifier, default A | A |
36
- | `b_parameter` | B-factor parameter, B or B+, default B | B |
37
-
38
- ## Response
39
-
40
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
41
- - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
42
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
43
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
44
- do not treat file contents as ordinary JSON results.
45
-
46
- ## Output Projection
47
-
48
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
49
-
50
- - Projection content: Distribution of high/low B-factor positions and engineering implications
51
- - Presentation form: Residue list + text
52
- - Downstream reuse: flexible positions can be annotated as site-directed mutagenesis/directed-evolution candidates
53
- ## Output Template
54
-
55
- - Title: **Protein flexibility analysis result (B-FITTER)**
56
- - Lead with the conclusion: distribution of high (flexible) / low (rigid) B-factor positions
57
- - Explain what flexible regions imply for site-directed mutagenesis / directed evolution
58
-
59
- ## Boundaries & Failure Modes
60
-
61
- - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
62
- - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
63
- - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
1
+ # Protein Flexibility Analysis (`huada_protein_tools` / `bfitter`)
2
+
3
+ This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
+ called via `delta-cli science invoke`; the business response described below lives
5
+ under the CLI top-level `data` — read fields as documented in this file, do not
6
+ recursively search. This file only documents the endpoint schema; it does not
7
+ authorize direct HTTP. Endpoint names are authoritative as returned by
8
+ `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
+ guess, truncate, or alias.
10
+
11
+ ## Overview
12
+
13
+ Analyze flexible sites of a protein structure and identify candidate sites suitable
14
+ for site-directed mutagenesis/directed evolution based on the B-factor.
15
+ - Required: `structure_file` (PDB/CIF)
16
+ - Optional: `chain` (default A), `b_parameter` (default B)
17
+ - Output: flexibility results `resultjson`, `download_url`
18
+ - Use case: identify flexible regions, select mutation sites
19
+
20
+ ## Invocation
21
+
22
+ ```text
23
+ delta-cli science invoke --tool huada_protein_tools --endpoint bfitter --data JSON
24
+ ```
25
+
26
+ Required input groups (at least one per group; all groups must be satisfied):
27
+
28
+ - `structure_file`
29
+
30
+ Request fields:
31
+
32
+ | Field | Description | Default |
33
+ |---|---|---|
34
+ | `structure_file` | PDB/CIF | - |
35
+ | `chain` | Protein chain identifier, default A | A |
36
+ | `b_parameter` | B-factor parameter, B or B+, default B | B |
37
+
38
+ ## Response
39
+
40
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
41
+ - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
42
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
43
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
44
+ do not treat file contents as ordinary JSON results.
45
+
46
+ ## Output Projection
47
+
48
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
49
+
50
+ - Projection content: Distribution of high/low B-factor positions and engineering implications
51
+ - Presentation form: Residue list + text
52
+ - Downstream reuse: flexible positions can be annotated as site-directed mutagenesis/directed-evolution candidates
53
+ ## Output Template
54
+
55
+ - Title: **Protein flexibility analysis result (B-FITTER)**
56
+ - Lead with the conclusion: distribution of high (flexible) / low (rigid) B-factor positions
57
+ - Explain what flexible regions imply for site-directed mutagenesis / directed evolution
58
+
59
+ ## Boundaries & Failure Modes
60
+
61
+ - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
62
+ - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
63
+ - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
64
64
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,63 +1,63 @@
1
- # Enzyme Kinetic Parameter Prediction (`huada_protein_tools` / `catapro_predict`)
2
-
3
- This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
- called via `delta-cli science invoke`; the business response described below lives
5
- under the CLI top-level `data` — read fields as documented in this file, do not
6
- recursively search. This file only documents the endpoint schema; it does not
7
- authorize direct HTTP. Endpoint names are authoritative as returned by
8
- `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
- guess, truncate, or alias.
10
-
11
- ## Overview
12
-
13
- Predict enzyme kinetic parameters (kcat, Km, kcat/Km) with CataPro.
14
- - Required: `smiles` (substrate SMILES)
15
- - Optional: `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A)
16
- - Output: prediction results `resultjson`, `download_url`
17
-
18
- ## Invocation
19
-
20
- ```text
21
- delta-cli science invoke --tool huada_protein_tools --endpoint catapro_predict --data JSON
22
- ```
23
-
24
- Required input groups (at least one per group; all groups must be satisfied):
25
-
26
- - `smiles`
27
-
28
- Request fields:
29
-
30
- | Field | Description | Default |
31
- |---|---|---|
32
- | `smiles` | Substrate SMILES string | - |
33
- | `protein_sequence` | | - |
34
- | `sequence_file` | FASTA/FA | - |
35
- | `structure_file` | PDB/CIF | - |
36
- | `chain` | Protein chain identifier, default A | A |
37
-
38
- ## Response
39
-
40
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
41
- - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
42
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
43
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
44
- do not treat file contents as ordinary JSON results.
45
-
46
- ## Output Projection
47
-
48
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
49
-
50
- - Projection content: Enzyme kinetic parameters kcat, Km, kcat/Km predictions
51
- - Presentation form: Text
52
- - Downstream reuse: -
53
- ## Output Template
54
-
55
- - Title: **Enzyme kinetic parameter prediction result (CataPro)**
56
- - Lead with the conclusion: predicted kcat, Km, kcat/Km (may include trends)
57
-
58
- ## Boundaries & Failure Modes
59
-
60
- - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
61
- - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
62
- - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
1
+ # Enzyme Kinetic Parameter Prediction (`huada_protein_tools` / `catapro_predict`)
2
+
3
+ This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
+ called via `delta-cli science invoke`; the business response described below lives
5
+ under the CLI top-level `data` — read fields as documented in this file, do not
6
+ recursively search. This file only documents the endpoint schema; it does not
7
+ authorize direct HTTP. Endpoint names are authoritative as returned by
8
+ `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
+ guess, truncate, or alias.
10
+
11
+ ## Overview
12
+
13
+ Predict enzyme kinetic parameters (kcat, Km, kcat/Km) with CataPro.
14
+ - Required: `smiles` (substrate SMILES)
15
+ - Optional: `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A)
16
+ - Output: prediction results `resultjson`, `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint catapro_predict --data JSON
22
+ ```
23
+
24
+ Required input groups (at least one per group; all groups must be satisfied):
25
+
26
+ - `smiles`
27
+
28
+ Request fields:
29
+
30
+ | Field | Description | Default |
31
+ |---|---|---|
32
+ | `smiles` | Substrate SMILES string | - |
33
+ | `protein_sequence` | | - |
34
+ | `sequence_file` | FASTA/FA | - |
35
+ | `structure_file` | PDB/CIF | - |
36
+ | `chain` | Protein chain identifier, default A | A |
37
+
38
+ ## Response
39
+
40
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
41
+ - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
42
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
43
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
44
+ do not treat file contents as ordinary JSON results.
45
+
46
+ ## Output Projection
47
+
48
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
49
+
50
+ - Projection content: Enzyme kinetic parameters kcat, Km, kcat/Km predictions
51
+ - Presentation form: Text
52
+ - Downstream reuse: -
53
+ ## Output Template
54
+
55
+ - Title: **Enzyme kinetic parameter prediction result (CataPro)**
56
+ - Lead with the conclusion: predicted kcat, Km, kcat/Km (may include trends)
57
+
58
+ ## Boundaries & Failure Modes
59
+
60
+ - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
61
+ - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
62
+ - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
63
63
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,65 +1,65 @@
1
- # Enzyme Kinetic Parameter Prediction (`huada_protein_tools` / `catpred_predict`)
2
-
3
- This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
- called via `delta-cli science invoke`; the business response described below lives
5
- under the CLI top-level `data` — read fields as documented in this file, do not
6
- recursively search. This file only documents the endpoint schema; it does not
7
- authorize direct HTTP. Endpoint names are authoritative as returned by
8
- `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
- guess, truncate, or alias.
10
-
11
- ## Overview
12
-
13
- Predict enzyme kinetic parameters (kcat, Km, kcat/Km).
14
- - Required: `primary_smiles` (substrate SMILES)
15
- - Optional: `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A), `additional_smiles`
16
- - Output: kinetic parameter predictions `resultjson`, `download_url`
17
-
18
- ## Invocation
19
-
20
- ```text
21
- delta-cli science invoke --tool huada_protein_tools --endpoint catpred_predict --data JSON
22
- ```
23
-
24
- Required input groups (at least one per group; all groups must be satisfied):
25
-
26
- - `primary_smiles`
27
-
28
- Request fields:
29
-
30
- | Field | Description | Default |
31
- |---|---|---|
32
- | `primary_smiles` | Substrate SMILES string | - |
33
- | `protein_sequence` | | - |
34
- | `sequence_file` | FASTA/FA | - |
35
- | `structure_file` | PDB/CIF | - |
36
- | `chain` | Protein chain identifier, default A | A |
37
- | `additional_smiles` | List of additional substrate SMILES | [] |
38
-
39
- ## Response
40
-
41
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
42
- - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
43
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
44
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
45
- do not treat file contents as ordinary JSON results.
46
-
47
- ## Output Projection
48
-
49
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
50
-
51
- - Projection content: kcat, Km, kcat/Km predictions (restate resultjson per the actual keys returned)
52
- - Presentation form: Text
53
- - Downstream reuse: -
54
- ## Output Template
55
-
56
- - Title: **Enzyme kinetic parameter prediction result (CatPred)**
57
- - Lead with the conclusion: predicted kcat, Km, kcat/Km and trends
58
- - Restate key parameters in natural language or a small table
59
-
60
- ## Boundaries & Failure Modes
61
-
62
- - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
63
- - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
64
- - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
1
+ # Enzyme Kinetic Parameter Prediction (`huada_protein_tools` / `catpred_predict`)
2
+
3
+ This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
+ called via `delta-cli science invoke`; the business response described below lives
5
+ under the CLI top-level `data` — read fields as documented in this file, do not
6
+ recursively search. This file only documents the endpoint schema; it does not
7
+ authorize direct HTTP. Endpoint names are authoritative as returned by
8
+ `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
+ guess, truncate, or alias.
10
+
11
+ ## Overview
12
+
13
+ Predict enzyme kinetic parameters (kcat, Km, kcat/Km).
14
+ - Required: `primary_smiles` (substrate SMILES)
15
+ - Optional: `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A), `additional_smiles`
16
+ - Output: kinetic parameter predictions `resultjson`, `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint catpred_predict --data JSON
22
+ ```
23
+
24
+ Required input groups (at least one per group; all groups must be satisfied):
25
+
26
+ - `primary_smiles`
27
+
28
+ Request fields:
29
+
30
+ | Field | Description | Default |
31
+ |---|---|---|
32
+ | `primary_smiles` | Substrate SMILES string | - |
33
+ | `protein_sequence` | | - |
34
+ | `sequence_file` | FASTA/FA | - |
35
+ | `structure_file` | PDB/CIF | - |
36
+ | `chain` | Protein chain identifier, default A | A |
37
+ | `additional_smiles` | List of additional substrate SMILES | [] |
38
+
39
+ ## Response
40
+
41
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
42
+ - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
43
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
44
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
45
+ do not treat file contents as ordinary JSON results.
46
+
47
+ ## Output Projection
48
+
49
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
50
+
51
+ - Projection content: kcat, Km, kcat/Km predictions (restate resultjson per the actual keys returned)
52
+ - Presentation form: Text
53
+ - Downstream reuse: -
54
+ ## Output Template
55
+
56
+ - Title: **Enzyme kinetic parameter prediction result (CatPred)**
57
+ - Lead with the conclusion: predicted kcat, Km, kcat/Km and trends
58
+ - Restate key parameters in natural language or a small table
59
+
60
+ ## Boundaries & Failure Modes
61
+
62
+ - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
63
+ - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
64
+ - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
65
65
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,63 +1,63 @@
1
- # Protein Tunnel/Channel Analysis (`huada_protein_tools` / `caver_tunnel_analyze`)
2
-
3
- This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
- called via `delta-cli science invoke`; the business response described below lives
5
- under the CLI top-level `data` — read fields as documented in this file, do not
6
- recursively search. This file only documents the endpoint schema; it does not
7
- authorize direct HTTP. Endpoint names are authoritative as returned by
8
- `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
- guess, truncate, or alias.
10
-
11
- ## Overview
12
-
13
- Analyze protein internal tunnels and channels with CAVER 3.x.
14
- - Required: `structure_file` (PDB/CIF URL, local path, or 4-character PDB ID; never pass FASTA/raw sequences)
15
- - Optional: `probe_radius` (probe radius Å; when omitted, the server-side default is used)
16
- - The tunnel start is auto-predicted by PrankWeb (center of the top-ranked pocket); no manual specification needed
17
- - Output: tunnel analysis results, visualization/download links
18
- - Use case: structural analysis such as enzyme active-site channels, ligand entry/exit pathways
19
-
20
- ## Invocation
21
-
22
- ```text
23
- delta-cli science invoke --tool huada_protein_tools --endpoint caver_tunnel_analyze --data JSON
24
- ```
25
-
26
- Required input groups (at least one per group; all groups must be satisfied):
27
-
28
- - `structure_file`
29
-
30
- Request fields:
31
-
32
- | Field | Description | Default |
33
- |---|---|---|
34
- | `structure_file` | 3D protein structure: PDB/CIF URL, local path, or 4-character PDB ID; never pass FASTA/raw sequences | - |
35
- | `probe_radius` | Probe radius (Å); when omitted the server-side config.yaml default is used | - |
36
-
37
- ## Response
38
-
39
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
40
- - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
41
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
42
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
43
- do not treat file contents as ordinary JSON results.
44
-
45
- ## Output Projection
46
-
47
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
48
-
49
- - Projection content: Tunnel/channel location, length, bottleneck residues + visualization/download links
50
- - Presentation form: Text/table + links
51
- - Downstream reuse: -
52
- ## Output Template
53
-
54
- - Title: **Protein tunnel/channel analysis result (CAVER)**
55
- - Lead with the conclusion: tunnel/channel location, length, bottleneck residues
56
- - Add visualization outputs to the "Result files & downloads" section
57
-
58
- ## Boundaries & Failure Modes
59
-
60
- - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
61
- - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
62
- - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
1
+ # Protein Tunnel/Channel Analysis (`huada_protein_tools` / `caver_tunnel_analyze`)
2
+
3
+ This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
4
+ called via `delta-cli science invoke`; the business response described below lives
5
+ under the CLI top-level `data` — read fields as documented in this file, do not
6
+ recursively search. This file only documents the endpoint schema; it does not
7
+ authorize direct HTTP. Endpoint names are authoritative as returned by
8
+ `delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
9
+ guess, truncate, or alias.
10
+
11
+ ## Overview
12
+
13
+ Analyze protein internal tunnels and channels with CAVER 3.x.
14
+ - Required: `structure_file` (PDB/CIF URL, local path, or 4-character PDB ID; never pass FASTA/raw sequences)
15
+ - Optional: `probe_radius` (probe radius Å; when omitted, the server-side default is used)
16
+ - The tunnel start is auto-predicted by PrankWeb (center of the top-ranked pocket); no manual specification needed
17
+ - Output: tunnel analysis results, visualization/download links
18
+ - Use case: structural analysis such as enzyme active-site channels, ligand entry/exit pathways
19
+
20
+ ## Invocation
21
+
22
+ ```text
23
+ delta-cli science invoke --tool huada_protein_tools --endpoint caver_tunnel_analyze --data JSON
24
+ ```
25
+
26
+ Required input groups (at least one per group; all groups must be satisfied):
27
+
28
+ - `structure_file`
29
+
30
+ Request fields:
31
+
32
+ | Field | Description | Default |
33
+ |---|---|---|
34
+ | `structure_file` | 3D protein structure: PDB/CIF URL, local path, or 4-character PDB ID; never pass FASTA/raw sequences | - |
35
+ | `probe_radius` | Probe radius (Å); when omitted the server-side config.yaml default is used | - |
36
+
37
+ ## Response
38
+
39
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
40
+ - Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
41
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
42
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
43
+ do not treat file contents as ordinary JSON results.
44
+
45
+ ## Output Projection
46
+
47
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
48
+
49
+ - Projection content: Tunnel/channel location, length, bottleneck residues + visualization/download links
50
+ - Presentation form: Text/table + links
51
+ - Downstream reuse: -
52
+ ## Output Template
53
+
54
+ - Title: **Protein tunnel/channel analysis result (CAVER)**
55
+ - Lead with the conclusion: tunnel/channel location, length, bottleneck residues
56
+ - Add visualization outputs to the "Result files & downloads" section
57
+
58
+ ## Boundaries & Failure Modes
59
+
60
+ - File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
61
+ - Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
62
+ - Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
63
63
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).