@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,70 +1,70 @@
1
- # Vina Single-pose Scoring (`huada_protein_tools` / `dock_score`)
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
- Single-pose scoring (score_only) of a protein-ligand complex with AutoDock Vina.
14
- - Input: `structure_file` (PDB/CIF complex file URL) + `dock_ligand` (ligand residue name in the complex, e.g. BTA)
15
- - Optional: `chain_id` (chain ID of the ligand, default A); `box_center`/`box_size` (manual box, format x,y,z or w,h,d) — when not provided, computed automatically from the ligand bounding box
16
- - Optional defaults: padding=8.0, min_box_size=20.0, ph=7.4, cpu=8, seed=42
17
- - Output: `resultjson` contains `best_score` (total binding energy, kcal/mol) and `scores` (energy breakdown dict)
18
-
19
- ## Invocation
20
-
21
- ```text
22
- delta-cli science invoke --tool huada_protein_tools --endpoint dock_score --data JSON
23
- ```
24
-
25
- Required input groups (at least one per group; all groups must be satisfied):
26
-
27
- - `structure_file` **and** `dock_ligand`
28
-
29
- Request fields:
30
-
31
- | Field | Description | Default |
32
- |---|---|---|
33
- | `structure_file` | PDB/CIF complex | - |
34
- | `dock_ligand` | Ligand residue name in the complex to be scored, e.g. BTA | - |
35
- | `chain_id` | Chain ID of the ligand, default A | A |
36
- | `box_center` | Manually specified scoring box center, format x,y,z | - |
37
- | `box_size` | Manually specified scoring box size, a single number or w,h,d | - |
38
- | `padding` | Padding around the bounding box (Å) when the box is auto-computed | 8.0 |
39
- | `min_box_size` | Minimum length per side (Å) when the box is auto-computed | 20.0 |
40
- | `ph` | Protonation pH | 7.4 |
41
- | `cpu` | Number of CPU cores | 8 |
42
- | `seed` | Random seed | 42 |
43
-
44
- ## Response
45
-
46
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
47
- - 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.
48
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
49
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
50
- do not treat file contents as ordinary JSON results.
51
-
52
- ## Output Projection
53
-
54
- > Verification status: verified by a real `delta-cli` invocation
55
-
56
- - Projection content: best_score (total binding energy kcal/mol), per-term energy breakdown, box_size/center, mode=score_only
57
- - Presentation form: Text (total binding energy + energy breakdown)
58
- - Downstream reuse: -
59
- ## Output Template
60
-
61
- - Title: **Vina single-pose scoring result**
62
- - Lead with the conclusion: best_score (kcal/mol) and the box used (center/box_size)
63
- - Give the energy breakdown (gauss/hydrophobic/hbond etc., restated per returned keys)
64
-
65
- ## Boundaries & Failure Modes
66
-
67
- - 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.
68
- - 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.
69
- - 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
+ # Vina Single-pose Scoring (`huada_protein_tools` / `dock_score`)
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
+ Single-pose scoring (score_only) of a protein-ligand complex with AutoDock Vina.
14
+ - Input: `structure_file` (PDB/CIF complex file URL) + `dock_ligand` (ligand residue name in the complex, e.g. BTA)
15
+ - Optional: `chain_id` (chain ID of the ligand, default A); `box_center`/`box_size` (manual box, format x,y,z or w,h,d) — when not provided, computed automatically from the ligand bounding box
16
+ - Optional defaults: padding=8.0, min_box_size=20.0, ph=7.4, cpu=8, seed=42
17
+ - Output: `resultjson` contains `best_score` (total binding energy, kcal/mol) and `scores` (energy breakdown dict)
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint dock_score --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `structure_file` **and** `dock_ligand`
28
+
29
+ Request fields:
30
+
31
+ | Field | Description | Default |
32
+ |---|---|---|
33
+ | `structure_file` | PDB/CIF complex | - |
34
+ | `dock_ligand` | Ligand residue name in the complex to be scored, e.g. BTA | - |
35
+ | `chain_id` | Chain ID of the ligand, default A | A |
36
+ | `box_center` | Manually specified scoring box center, format x,y,z | - |
37
+ | `box_size` | Manually specified scoring box size, a single number or w,h,d | - |
38
+ | `padding` | Padding around the bounding box (Å) when the box is auto-computed | 8.0 |
39
+ | `min_box_size` | Minimum length per side (Å) when the box is auto-computed | 20.0 |
40
+ | `ph` | Protonation pH | 7.4 |
41
+ | `cpu` | Number of CPU cores | 8 |
42
+ | `seed` | Random seed | 42 |
43
+
44
+ ## Response
45
+
46
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
47
+ - 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.
48
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
49
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
50
+ do not treat file contents as ordinary JSON results.
51
+
52
+ ## Output Projection
53
+
54
+ > Verification status: verified by a real `delta-cli` invocation
55
+
56
+ - Projection content: best_score (total binding energy kcal/mol), per-term energy breakdown, box_size/center, mode=score_only
57
+ - Presentation form: Text (total binding energy + energy breakdown)
58
+ - Downstream reuse: -
59
+ ## Output Template
60
+
61
+ - Title: **Vina single-pose scoring result**
62
+ - Lead with the conclusion: best_score (kcal/mol) and the box used (center/box_size)
63
+ - Give the energy breakdown (gauss/hydrophobic/hbond etc., restated per returned keys)
64
+
65
+ ## Boundaries & Failure Modes
66
+
67
+ - 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.
68
+ - 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.
69
+ - 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.
70
70
  - 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,70 +1,70 @@
1
- # Enzyme Active-site Prediction (`huada_protein_tools` / `easifa_predict_active_site`)
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 active sites with EasIFA.
14
- - Required: `input_mode` (structure/sequence/uniprot)
15
- - structure mode requires `structure_file`; sequence mode requires `protein_sequence` or `sequence_file`
16
- - Optional: `rxn_smiles` (reaction SMILES), `chain`
17
- - Output: active-site predictions `resultjson`, `download_url`
18
-
19
- ## Invocation
20
-
21
- ```text
22
- delta-cli science invoke --tool huada_protein_tools --endpoint easifa_predict_active_site --data JSON
23
- ```
24
-
25
- Required input groups (at least one per group; all groups must be satisfied):
26
-
27
- - `input_mode`
28
-
29
- Server-side default parameters:
30
-
31
- - `input_mode` = `structure`
32
-
33
- Request fields:
34
-
35
- | Field | Description | Default |
36
- |---|---|---|
37
- | `input_mode` | Input mode: structure/sequence/uniprot | structure |
38
- | `structure_file` | PDB/CIF | - |
39
- | `protein_sequence` | | - |
40
- | `sequence_file` | FASTA/FA | - |
41
- | `rxn_smiles` | Reaction SMILES (substrate>>product) | - |
42
- | `chain` | Protein chain identifier, default A | A |
43
-
44
- ## Response
45
-
46
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
47
- - 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.
48
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
49
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
50
- do not treat file contents as ordinary JSON results.
51
-
52
- ## Output Projection
53
-
54
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
55
-
56
- - Projection content: Enzyme active-site/binding-site residues, positions and confidence; positions overlapping zero-shot mutant results are marked as not recommended for engineering
57
- - Presentation form: Text/table
58
- - Downstream reuse: site information cross-annotated with zero_shot_mutant_candidates overlap
59
- ## Output Template
60
-
61
- - Title: **Enzyme active-site/binding-site prediction result (EasIFA)**
62
- - Lead with the conclusion: active-site residues, positions, confidence
63
- - When zero-shot mutant results exist, mark overlapping positions (overlaps not recommended for engineering)
64
-
65
- ## Boundaries & Failure Modes
66
-
67
- - 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.
68
- - 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.
69
- - 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 Active-site Prediction (`huada_protein_tools` / `easifa_predict_active_site`)
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 active sites with EasIFA.
14
+ - Required: `input_mode` (structure/sequence/uniprot)
15
+ - structure mode requires `structure_file`; sequence mode requires `protein_sequence` or `sequence_file`
16
+ - Optional: `rxn_smiles` (reaction SMILES), `chain`
17
+ - Output: active-site predictions `resultjson`, `download_url`
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint easifa_predict_active_site --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `input_mode`
28
+
29
+ Server-side default parameters:
30
+
31
+ - `input_mode` = `structure`
32
+
33
+ Request fields:
34
+
35
+ | Field | Description | Default |
36
+ |---|---|---|
37
+ | `input_mode` | Input mode: structure/sequence/uniprot | structure |
38
+ | `structure_file` | PDB/CIF | - |
39
+ | `protein_sequence` | | - |
40
+ | `sequence_file` | FASTA/FA | - |
41
+ | `rxn_smiles` | Reaction SMILES (substrate>>product) | - |
42
+ | `chain` | Protein chain identifier, default A | A |
43
+
44
+ ## Response
45
+
46
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
47
+ - 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.
48
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
49
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
50
+ do not treat file contents as ordinary JSON results.
51
+
52
+ ## Output Projection
53
+
54
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
55
+
56
+ - Projection content: Enzyme active-site/binding-site residues, positions and confidence; positions overlapping zero-shot mutant results are marked as not recommended for engineering
57
+ - Presentation form: Text/table
58
+ - Downstream reuse: site information cross-annotated with zero_shot_mutant_candidates overlap
59
+ ## Output Template
60
+
61
+ - Title: **Enzyme active-site/binding-site prediction result (EasIFA)**
62
+ - Lead with the conclusion: active-site residues, positions, confidence
63
+ - When zero-shot mutant results exist, mark overlapping positions (overlaps not recommended for engineering)
64
+
65
+ ## Boundaries & Failure Modes
66
+
67
+ - 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.
68
+ - 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.
69
+ - 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.
70
70
  - 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,66 +1,66 @@
1
- # Mutant Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_mutation`)
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 the optimal pH of mutant proteins.
14
- - Input: `protein_sequence`/`sequence_file`/`structure_file` + `mutant_list`/`mutant_list_file`
15
- - Optional: `chain` (A), `target_pH` (-1.0 returns all)
16
- - Output: mutant optimal pH results `download_url`
17
-
18
- ## Invocation
19
-
20
- ```text
21
- delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_mutation --data JSON
22
- ```
23
-
24
- Required input groups (at least one per group; all groups must be satisfied):
25
-
26
- - `protein_sequence` / `sequence_file` / `structure_file`
27
-
28
- Request fields:
29
-
30
- | Field | Description | Default |
31
- |---|---|---|
32
- | `protein_sequence` | | - |
33
- | `sequence_file` | FASTA/FA | - |
34
- | `structure_file` | PDB/CIF | - |
35
- | `chain` | Protein chain identifier, default A | A |
36
- | `mutant_list` | Mutation list, e.g. ["A1V", "K2M"] | [] |
37
- | `mutant_list_file` | CSV/XLSX mutation list file | - |
38
- | `target_pH` | Target pH, default -1.0 | -1.0 |
39
-
40
- ## Response
41
-
42
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
43
- - 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.
44
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
45
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
46
- do not treat file contents as ordinary JSON results.
47
-
48
- ## Output Projection
49
-
50
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
51
-
52
- - Projection content: Optimal pH per mutant and its change (download_url)
53
- - Presentation form: Text/table
54
- - Downstream reuse: -
55
- ## Output Template
56
-
57
- - Title: **Mutant optimal pH prediction result**
58
- - Lead with the conclusion: optimal pH per mutant and differences vs wild type
59
- - Add details to the "Result files & downloads" section
60
-
61
- ## Boundaries & Failure Modes
62
-
63
- - 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.
64
- - 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.
65
- - 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
+ # Mutant Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_mutation`)
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 the optimal pH of mutant proteins.
14
+ - Input: `protein_sequence`/`sequence_file`/`structure_file` + `mutant_list`/`mutant_list_file`
15
+ - Optional: `chain` (A), `target_pH` (-1.0 returns all)
16
+ - Output: mutant optimal pH results `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_mutation --data JSON
22
+ ```
23
+
24
+ Required input groups (at least one per group; all groups must be satisfied):
25
+
26
+ - `protein_sequence` / `sequence_file` / `structure_file`
27
+
28
+ Request fields:
29
+
30
+ | Field | Description | Default |
31
+ |---|---|---|
32
+ | `protein_sequence` | | - |
33
+ | `sequence_file` | FASTA/FA | - |
34
+ | `structure_file` | PDB/CIF | - |
35
+ | `chain` | Protein chain identifier, default A | A |
36
+ | `mutant_list` | Mutation list, e.g. ["A1V", "K2M"] | [] |
37
+ | `mutant_list_file` | CSV/XLSX mutation list file | - |
38
+ | `target_pH` | Target pH, default -1.0 | -1.0 |
39
+
40
+ ## Response
41
+
42
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
43
+ - 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.
44
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
45
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
46
+ do not treat file contents as ordinary JSON results.
47
+
48
+ ## Output Projection
49
+
50
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
51
+
52
+ - Projection content: Optimal pH per mutant and its change (download_url)
53
+ - Presentation form: Text/table
54
+ - Downstream reuse: -
55
+ ## Output Template
56
+
57
+ - Title: **Mutant optimal pH prediction result**
58
+ - Lead with the conclusion: optimal pH per mutant and differences vs wild type
59
+ - Add details to the "Result files & downloads" section
60
+
61
+ ## Boundaries & Failure Modes
62
+
63
+ - 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.
64
+ - 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.
65
+ - 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.
66
66
  - 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,61 +1,61 @@
1
- # Protein Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_protein`)
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 the optimal pH of proteins.
14
- - Input: `protein_list` (list of one-letter sequences) / `protein_list_file` (sequence file URL) — choose one
15
- - Important: `protein_list_file` must be a `.fasta/.fa/.csv/.xlsx` sequence-file URL; never pass `.pdb/.cif` structure files
16
- - Output: optimal pH prediction results `download_url`
17
-
18
- ## Invocation
19
-
20
- ```text
21
- delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_protein --data JSON
22
- ```
23
-
24
- Required input groups (at least one per group; all groups must be satisfied):
25
-
26
- - `protein_list` / `protein_list_file`
27
-
28
- Request fields:
29
-
30
- | Field | Description | Default |
31
- |---|---|---|
32
- | `protein_list` | List of single or multiple one-letter amino-acid sequences | [] |
33
- | `protein_list_file` | FASTA/FA/CSV/XLSX sequence file | - |
34
-
35
- ## Response
36
-
37
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
38
- - 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.
39
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
40
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
41
- do not treat file contents as ordinary JSON results.
42
-
43
- ## Output Projection
44
-
45
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
46
-
47
- - Projection content: Optimal pH for each protein (download_url)
48
- - Presentation form: Text/table
49
- - Downstream reuse: -
50
- ## Output Template
51
-
52
- - Title: **Protein optimal pH prediction result**
53
- - Lead with the conclusion: optimal pH range per protein
54
- - Add details to the "Result files & downloads" section
55
-
56
- ## Boundaries & Failure Modes
57
-
58
- - 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.
59
- - 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.
60
- - 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 Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_protein`)
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 the optimal pH of proteins.
14
+ - Input: `protein_list` (list of one-letter sequences) / `protein_list_file` (sequence file URL) — choose one
15
+ - Important: `protein_list_file` must be a `.fasta/.fa/.csv/.xlsx` sequence-file URL; never pass `.pdb/.cif` structure files
16
+ - Output: optimal pH prediction results `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_protein --data JSON
22
+ ```
23
+
24
+ Required input groups (at least one per group; all groups must be satisfied):
25
+
26
+ - `protein_list` / `protein_list_file`
27
+
28
+ Request fields:
29
+
30
+ | Field | Description | Default |
31
+ |---|---|---|
32
+ | `protein_list` | List of single or multiple one-letter amino-acid sequences | [] |
33
+ | `protein_list_file` | FASTA/FA/CSV/XLSX sequence file | - |
34
+
35
+ ## Response
36
+
37
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
38
+ - 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.
39
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
40
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
41
+ do not treat file contents as ordinary JSON results.
42
+
43
+ ## Output Projection
44
+
45
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
46
+
47
+ - Projection content: Optimal pH for each protein (download_url)
48
+ - Presentation form: Text/table
49
+ - Downstream reuse: -
50
+ ## Output Template
51
+
52
+ - Title: **Protein optimal pH prediction result**
53
+ - Lead with the conclusion: optimal pH range per protein
54
+ - Add details to the "Result files & downloads" section
55
+
56
+ ## Boundaries & Failure Modes
57
+
58
+ - 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.
59
+ - 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.
60
+ - 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.
61
61
  - 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).