@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,63 +1,63 @@
1
- # InterProScan Domain & Function Annotation (`huada_protein_tools` / `interpro_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
- Annotate protein domains and functions with InterProScan.
14
- - Input: `protein_sequence` / `sequence_file` (FASTA/FA) / `structure_file` (PDB/CIF) — choose one; when `structure_file` is provided the backend extracts the sequence automatically
15
- - Optional: `chain` (protein chain identifier, default A)
16
- - Output: domain/family/GO summary `resultjson`, Excel (.xlsx) download link `download_url`
17
-
18
- ## Invocation
19
-
20
- ```text
21
- delta-cli science invoke --tool huada_protein_tools --endpoint interpro_analyze --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
-
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: Domain, family, GO annotation summary + Excel (download_url)
50
- - Presentation form: Annotation summary text + Excel download link
51
- - Downstream reuse: -
52
- ## Output Template
53
-
54
- - Title: **InterProScan domain and function annotation result**
55
- - Lead with the conclusion: key domain/family/GO annotation entries
56
- - Add the Excel detail file 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
+ # InterProScan Domain & Function Annotation (`huada_protein_tools` / `interpro_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
+ Annotate protein domains and functions with InterProScan.
14
+ - Input: `protein_sequence` / `sequence_file` (FASTA/FA) / `structure_file` (PDB/CIF) — choose one; when `structure_file` is provided the backend extracts the sequence automatically
15
+ - Optional: `chain` (protein chain identifier, default A)
16
+ - Output: domain/family/GO summary `resultjson`, Excel (.xlsx) download link `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint interpro_analyze --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
+
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: Domain, family, GO annotation summary + Excel (download_url)
50
+ - Presentation form: Annotation summary text + Excel download link
51
+ - Downstream reuse: -
52
+ ## Output Template
53
+
54
+ - Title: **InterProScan domain and function annotation result**
55
+ - Lead with the conclusion: key domain/family/GO annotation entries
56
+ - Add the Excel detail file 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).
@@ -1,71 +1,71 @@
1
- # MPNN Sequence Design (`huada_protein_tools` / `mpnn_design_sequence`)
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
- Protein sequence design with the ProteinMPNN family of models.
14
- - Required: `structure_file` (.pdb/.cif)
15
- - Optional: `model_type` (protein_mpnn/ligand_mpnn/soluble_mpnn), `number` (1), `fixed_residues`, `redesigned_residues`, `chain`
16
- - Output: designed sequences with scores `resultjson`, `download_url`
17
- - Use case: when only a PDB/CIF structure file is provided
18
-
19
- ## Invocation
20
-
21
- ```text
22
- delta-cli science invoke --tool huada_protein_tools --endpoint mpnn_design_sequence --data JSON
23
- ```
24
-
25
- Required input groups (at least one per group; all groups must be satisfied):
26
-
27
- - `structure_file`
28
-
29
- Server-side default parameters:
30
-
31
- - `model_type` = `protein_mpnn`
32
- - `number` = `1`
33
-
34
- Request fields:
35
-
36
- | Field | Description | Default |
37
- |---|---|---|
38
- | `structure_file` | PDB/CIF | - |
39
- | `model_type` | Model type, default protein_mpnn | protein_mpnn |
40
- | `number` | Number of sequences to generate, default 1 | 1 |
41
- | `fixed_residues` | Fixed residue positions, space-separated | - |
42
- | `redesigned_residues` | Positions to redesign only, space-separated | - |
43
- | `chain` | PDB chain identifier | - |
44
-
45
- ## Response
46
-
47
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
48
- - 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.
49
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
50
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
51
- do not treat file contents as ordinary JSON results.
52
-
53
- ## Output Projection
54
-
55
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
56
-
57
- - Projection content: Number of designed sequences, scores/confidence, download_url
58
- - Presentation form: Text + download link
59
- - Downstream reuse: -
60
- ## Output Template
61
-
62
- - Title: **MPNN sequence design result**
63
- - Lead with the conclusion: number of designed sequences and scores/confidence
64
- - Add the design-result file link to the "Result files & downloads" section
65
-
66
- ## Boundaries & Failure Modes
67
-
68
- - 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.
69
- - 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.
70
- - 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
+ # MPNN Sequence Design (`huada_protein_tools` / `mpnn_design_sequence`)
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
+ Protein sequence design with the ProteinMPNN family of models.
14
+ - Required: `structure_file` (.pdb/.cif)
15
+ - Optional: `model_type` (protein_mpnn/ligand_mpnn/soluble_mpnn), `number` (1), `fixed_residues`, `redesigned_residues`, `chain`
16
+ - Output: designed sequences with scores `resultjson`, `download_url`
17
+ - Use case: when only a PDB/CIF structure file is provided
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint mpnn_design_sequence --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `structure_file`
28
+
29
+ Server-side default parameters:
30
+
31
+ - `model_type` = `protein_mpnn`
32
+ - `number` = `1`
33
+
34
+ Request fields:
35
+
36
+ | Field | Description | Default |
37
+ |---|---|---|
38
+ | `structure_file` | PDB/CIF | - |
39
+ | `model_type` | Model type, default protein_mpnn | protein_mpnn |
40
+ | `number` | Number of sequences to generate, default 1 | 1 |
41
+ | `fixed_residues` | Fixed residue positions, space-separated | - |
42
+ | `redesigned_residues` | Positions to redesign only, space-separated | - |
43
+ | `chain` | PDB chain identifier | - |
44
+
45
+ ## Response
46
+
47
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
48
+ - 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.
49
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
50
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
51
+ do not treat file contents as ordinary JSON results.
52
+
53
+ ## Output Projection
54
+
55
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
56
+
57
+ - Projection content: Number of designed sequences, scores/confidence, download_url
58
+ - Presentation form: Text + download link
59
+ - Downstream reuse: -
60
+ ## Output Template
61
+
62
+ - Title: **MPNN sequence design result**
63
+ - Lead with the conclusion: number of designed sequences and scores/confidence
64
+ - Add the design-result file link to the "Result files & downloads" section
65
+
66
+ ## Boundaries & Failure Modes
67
+
68
+ - 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.
69
+ - 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.
70
+ - 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.
71
71
  - 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,73 +1,73 @@
1
- # Multi-site Mutation Activity Prediction (`huada_protein_tools` / `multievolve`)
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 activity of multi-site combinatorial mutations with MultiEvolve.
14
- - Required: `training_dataset` (file with mutant and activity columns)
15
- - Optional: `mutant_pool`, `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A), `topk` (5), `fix` (True)
16
- - Output: multi-site mutation activity scores `download_url`
17
- - Use case: predicting combinatorial mutation effects when training data is available; used when the user does not explicitly specify a mutation-site count
18
-
19
- ## Invocation
20
-
21
- ```text
22
- delta-cli science invoke --tool huada_protein_tools --endpoint multievolve --data JSON
23
- ```
24
-
25
- Required input groups (at least one per group; all groups must be satisfied):
26
-
27
- - `training_dataset`
28
-
29
- Server-side default parameters:
30
-
31
- - `topk` = `5`
32
- - `fix` = `true`
33
-
34
- Request fields:
35
-
36
- | Field | Description | Default |
37
- |---|---|---|
38
- | `training_dataset` | CSV/XLSX with mutant/activity columns | - |
39
- | `mutant_pool` | CSV/XLSX mutant pool file, optional | - |
40
- | `protein_sequence` | | - |
41
- | `sequence_file` | FASTA/FA | - |
42
- | `structure_file` | PDB/CIF | - |
43
- | `chain` | Protein chain identifier, default A | A |
44
- | `topk` | Number of results to return, default 5 | 5 |
45
- | `fix` | Whether to fix the random seed, default True | true |
46
-
47
- ## Response
48
-
49
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
50
- - 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.
51
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
52
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
53
- do not treat file contents as ordinary JSON results.
54
-
55
- ## Output Projection
56
-
57
- > Verification status: derived from ToolSpec/agent templates; pending live calibration
58
-
59
- - Projection content: Multi-site combinatorial mutation activity score topk (download_url)
60
- - Presentation form: Ranking text/table + download link
61
- - Downstream reuse: -
62
- ## Output Template
63
-
64
- - Title: **Multi-site mutation activity prediction result**
65
- - Lead with the conclusion: recommended combinatorial mutations and activity-score trend (topk)
66
- - Add the full ranking to the "Result files & downloads" section
67
-
68
- ## Boundaries & Failure Modes
69
-
70
- - 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.
71
- - 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.
72
- - 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
+ # Multi-site Mutation Activity Prediction (`huada_protein_tools` / `multievolve`)
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 activity of multi-site combinatorial mutations with MultiEvolve.
14
+ - Required: `training_dataset` (file with mutant and activity columns)
15
+ - Optional: `mutant_pool`, `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A), `topk` (5), `fix` (True)
16
+ - Output: multi-site mutation activity scores `download_url`
17
+ - Use case: predicting combinatorial mutation effects when training data is available; used when the user does not explicitly specify a mutation-site count
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint multievolve --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `training_dataset`
28
+
29
+ Server-side default parameters:
30
+
31
+ - `topk` = `5`
32
+ - `fix` = `true`
33
+
34
+ Request fields:
35
+
36
+ | Field | Description | Default |
37
+ |---|---|---|
38
+ | `training_dataset` | CSV/XLSX with mutant/activity columns | - |
39
+ | `mutant_pool` | CSV/XLSX mutant pool file, optional | - |
40
+ | `protein_sequence` | | - |
41
+ | `sequence_file` | FASTA/FA | - |
42
+ | `structure_file` | PDB/CIF | - |
43
+ | `chain` | Protein chain identifier, default A | A |
44
+ | `topk` | Number of results to return, default 5 | 5 |
45
+ | `fix` | Whether to fix the random seed, default True | true |
46
+
47
+ ## Response
48
+
49
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
50
+ - 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.
51
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
52
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
53
+ do not treat file contents as ordinary JSON results.
54
+
55
+ ## Output Projection
56
+
57
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
58
+
59
+ - Projection content: Multi-site combinatorial mutation activity score topk (download_url)
60
+ - Presentation form: Ranking text/table + download link
61
+ - Downstream reuse: -
62
+ ## Output Template
63
+
64
+ - Title: **Multi-site mutation activity prediction result**
65
+ - Lead with the conclusion: recommended combinatorial mutations and activity-score trend (topk)
66
+ - Add the full ranking to the "Result files & downloads" section
67
+
68
+ ## Boundaries & Failure Modes
69
+
70
+ - 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.
71
+ - 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.
72
+ - 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.
73
73
  - 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
- # PISA Protein Interface Analysis (`huada_protein_tools` / `pisa_query`)
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
- Query PDBePISA for protein interface analysis data.
14
- - Input (choose one):
15
- - `pdb_id`: PDB ID (e.g. 1B9E, 3WWJ, or the newer pdb_xxxxxxxx format)
16
- - `structure_file`: local/remote protein structure file path or URL (.pdb/.cif)
17
- - Processing path: `pdb_id` and `structure_file` both go through the PDBe new REST API (upload → submit → poll → filter p_value<0.5); plain HTTP, no browser
18
- - Output:
19
- - `resultjson`: {n_interfaces, interfaces[]} (filtered to p_value<0.5), each interface contains
20
- interface_id / interface_area / solvation_energy / stabilization_energy /
21
- p_value / n_interface_residues / n_hydrogen_bonds / n_salt_bridges /
22
- n_other_bonds / residues (interface residues only, split across the two sides) / hydrogen_bonds / salt_bridges
23
- - `download_url`: download link for the full interface JSON (same structure as resultjson; residues keep details such as buried_surface_area)
24
- - Use case: analyze protein complex interface stability, identify key interface residues
25
-
26
- ## Invocation
27
-
28
- ```text
29
- delta-cli science invoke --tool huada_protein_tools --endpoint pisa_query --data JSON
30
- ```
31
-
32
- Required input groups (at least one per group; all groups must be satisfied):
33
-
34
- - `pdb_id` / `structure_file`
35
-
36
- Request fields:
37
-
38
- | Field | Description | Default |
39
- |---|---|---|
40
- | `pdb_id` | PDB ID (e.g. 1B9E, 3WWJ or pdb_xxxxxxxx), mutually exclusive with structure_file | - |
41
- | `structure_file` | PDB/CIF | - |
42
-
43
- ## Response
44
-
45
- - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
46
- - 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.
47
- - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
48
- `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
49
- do not treat file contents as ordinary JSON results.
50
-
51
- ## Output Projection
52
-
53
- > Verification status: verified by a real `delta-cli` invocation
54
-
55
- - Projection content: n_interfaces and per interface: interface_id, interface_area, solvation_energy, stabilization_energy, p_value, hydrogen_bonds, salt_bridges, n_interface_residues, key interface residues
56
- - Presentation form: Interface summary text/table + full JSON download link
57
- - Downstream reuse: key interface residues can be used for interaction annotation
58
- ## Output Template
59
-
60
- - Title: **PISA protein interface analysis result**
61
- - Lead with the conclusion: number of interfaces (n_interfaces) and stability (p_value/stabilization energy)
62
- - Per interface give interface_area, solvation/stabilization energy, p_value, hydrogen bond/salt bridge counts, n_interface_residues, key interface residues
63
- - Add the full interface JSON to the "Result files & downloads" section
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
+ # PISA Protein Interface Analysis (`huada_protein_tools` / `pisa_query`)
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
+ Query PDBePISA for protein interface analysis data.
14
+ - Input (choose one):
15
+ - `pdb_id`: PDB ID (e.g. 1B9E, 3WWJ, or the newer pdb_xxxxxxxx format)
16
+ - `structure_file`: local/remote protein structure file path or URL (.pdb/.cif)
17
+ - Processing path: `pdb_id` and `structure_file` both go through the PDBe new REST API (upload → submit → poll → filter p_value<0.5); plain HTTP, no browser
18
+ - Output:
19
+ - `resultjson`: {n_interfaces, interfaces[]} (filtered to p_value<0.5), each interface contains
20
+ interface_id / interface_area / solvation_energy / stabilization_energy /
21
+ p_value / n_interface_residues / n_hydrogen_bonds / n_salt_bridges /
22
+ n_other_bonds / residues (interface residues only, split across the two sides) / hydrogen_bonds / salt_bridges
23
+ - `download_url`: download link for the full interface JSON (same structure as resultjson; residues keep details such as buried_surface_area)
24
+ - Use case: analyze protein complex interface stability, identify key interface residues
25
+
26
+ ## Invocation
27
+
28
+ ```text
29
+ delta-cli science invoke --tool huada_protein_tools --endpoint pisa_query --data JSON
30
+ ```
31
+
32
+ Required input groups (at least one per group; all groups must be satisfied):
33
+
34
+ - `pdb_id` / `structure_file`
35
+
36
+ Request fields:
37
+
38
+ | Field | Description | Default |
39
+ |---|---|---|
40
+ | `pdb_id` | PDB ID (e.g. 1B9E, 3WWJ or pdb_xxxxxxxx), mutually exclusive with structure_file | - |
41
+ | `structure_file` | PDB/CIF | - |
42
+
43
+ ## Response
44
+
45
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
46
+ - 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.
47
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
48
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
49
+ do not treat file contents as ordinary JSON results.
50
+
51
+ ## Output Projection
52
+
53
+ > Verification status: verified by a real `delta-cli` invocation
54
+
55
+ - Projection content: n_interfaces and per interface: interface_id, interface_area, solvation_energy, stabilization_energy, p_value, hydrogen_bonds, salt_bridges, n_interface_residues, key interface residues
56
+ - Presentation form: Interface summary text/table + full JSON download link
57
+ - Downstream reuse: key interface residues can be used for interaction annotation
58
+ ## Output Template
59
+
60
+ - Title: **PISA protein interface analysis result**
61
+ - Lead with the conclusion: number of interfaces (n_interfaces) and stability (p_value/stabilization energy)
62
+ - Per interface give interface_area, solvation/stabilization energy, p_value, hydrogen bond/salt bridge counts, n_interface_residues, key interface residues
63
+ - Add the full interface JSON to the "Result files & downloads" section
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).