@delta-infra/cli 1.1.18 → 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 -513
  2. package/checksums.txt +5 -5
  3. package/package.json +3 -2
  4. package/scripts/install-wizard.js +689 -701
  5. package/scripts/install.js +442 -442
  6. package/scripts/run.js +65 -65
  7. package/skills/delta-protein/AGENTS.md +73 -0
  8. package/skills/delta-protein/SKILL.md +389 -0
  9. package/skills/delta-protein/agents/openai.yaml +4 -0
  10. package/skills/delta-protein/references/bfitter.md +64 -0
  11. package/skills/delta-protein/references/catapro_predict.md +63 -0
  12. package/skills/delta-protein/references/catpred_predict.md +65 -0
  13. package/skills/delta-protein/references/caver_tunnel_analyze.md +63 -0
  14. package/skills/delta-protein/references/consensus_mutation.md +61 -0
  15. package/skills/delta-protein/references/consurf_predict.md +67 -0
  16. package/skills/delta-protein/references/crop_sequence.md +69 -0
  17. package/skills/delta-protein/references/dock.md +82 -0
  18. package/skills/delta-protein/references/dock_score.md +70 -0
  19. package/skills/delta-protein/references/easifa_predict_active_site.md +70 -0
  20. package/skills/delta-protein/references/ephod_predict_mutation.md +66 -0
  21. package/skills/delta-protein/references/ephod_predict_protein.md +61 -0
  22. package/skills/delta-protein/references/esmfold2_predict.md +67 -0
  23. package/skills/delta-protein/references/evcouplings_mutation.md +64 -0
  24. package/skills/delta-protein/references/fasta_to_sequence.md +59 -0
  25. package/skills/delta-protein/references/foldseek.md +61 -0
  26. package/skills/delta-protein/references/generate_msa.md +61 -0
  27. package/skills/delta-protein/references/interpro_analyze.md +63 -0
  28. package/skills/delta-protein/references/mpnn_design_sequence.md +71 -0
  29. package/skills/delta-protein/references/multievolve.md +73 -0
  30. package/skills/delta-protein/references/pisa_query.md +70 -0
  31. package/skills/delta-protein/references/plip_analyze.md +65 -0
  32. package/skills/delta-protein/references/pocket_prediction.md +63 -0
  33. package/skills/delta-protein/references/protein_design.md +65 -0
  34. package/skills/delta-protein/references/protein_evolution.md +77 -0
  35. package/skills/delta-protein/references/protein_sol_predict_mutation.md +66 -0
  36. package/skills/delta-protein/references/protein_sol_predict_protein.md +61 -0
  37. package/skills/delta-protein/references/protenix.md +66 -0
  38. package/skills/delta-protein/references/protrek_search.md +90 -0
  39. package/skills/delta-protein/references/pubchem_search.md +68 -0
  40. package/skills/delta-protein/references/pubmed_search.md +79 -0
  41. package/skills/delta-protein/references/reap_design_primer.md +69 -0
  42. package/skills/delta-protein/references/rfd3_design.md +65 -0
  43. package/skills/delta-protein/references/structure_to_sequence.md +61 -0
  44. package/skills/delta-protein/references/summarize_result.md +68 -0
  45. package/skills/delta-protein/references/surface_charge.md +84 -0
  46. package/skills/delta-protein/references/uniprot_batch_query.md +63 -0
  47. package/skills/delta-protein/references/uniprot_query.md +64 -0
  48. package/skills/delta-protein/references/zero_shot_mutant_candidates.md +76 -0
  49. package/skills/delta-protein/scripts/gen_references.py +167 -0
  50. package/skills/delta-protein/scripts/output_metadata.json +275 -0
  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 +688 -197
  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 -19
@@ -0,0 +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.
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).
@@ -0,0 +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.
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).
@@ -0,0 +1,65 @@
1
+ # PLIP Protein-Ligand Interaction Analysis (`huada_protein_tools` / `plip_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 interactions between a protein and a ligand with PLIP.
14
+ - Input: `structure_file` (PDB/CIF file URL)
15
+ - Optional:
16
+ - `ligand_id`: ligand identifier, e.g. "LIG" or "A:LIG:301"; leave empty and PLIP auto-detects the largest ligand
17
+ - `interaction_types`: list of interaction types to return, e.g. ["hydrogen_bonds", "hydrophobic_interactions"]
18
+ - Output: interaction results `resultjson`, `summary`, `download_url`
19
+ - Use case: identify protein-ligand interactions such as hydrogen bonds, hydrophobic contacts, salt bridges, pi-pi stacking, halogen bonds, metal coordination
20
+
21
+ ## Invocation
22
+
23
+ ```text
24
+ delta-cli science invoke --tool huada_protein_tools --endpoint plip_analyze --data JSON
25
+ ```
26
+
27
+ Required input groups (at least one per group; all groups must be satisfied):
28
+
29
+ - `structure_file`
30
+
31
+ Request fields:
32
+
33
+ | Field | Description | Default |
34
+ |---|---|---|
35
+ | `structure_file` | PDB/CIF | - |
36
+ | `ligand_id` | Ligand identifier, e.g. LIG or A:LIG:301; empty = auto-detect | - |
37
+ | `interaction_types` | List of interaction types to return; default returns all | - |
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: Protein-ligand interactions: hydrogen bonds, hydrophobic contacts, salt bridges, pi-pi stacking etc. + summary + download_url
52
+ - Presentation form: Interaction-category text/table + links
53
+ - Downstream reuse: input is often the rank-1 pdb_url returned by dock
54
+ ## Output Template
55
+
56
+ - Title: **PLIP protein-ligand interaction analysis result**
57
+ - Lead with the conclusion: detected interaction categories (hydrogen bond/hydrophobic/salt bridge/pi-pi/halogen/metal coordination) and key residues
58
+ - Add result files and visualizations to the "Result files & downloads" section; note the source structure when the input came from dock
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
+ - 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).
@@ -0,0 +1,63 @@
1
+ # Pocket Prediction (`huada_protein_tools` / `pocket_prediction`)
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 protein pockets with p2rank (local).
14
+ - Required: `structure_file` (.pdb/.cif)
15
+ - Optional: `model_config_name` (default | alphafold), default "default"; AlphaFold/NMR/cryo-EM structures are best served by "alphafold"
16
+ - Output: `resultjson` contains `n_pockets` and a `pockets` list (rank/name/score/probability/center/residue_ids/n_residues); `download_url` is the cropped pocket PDB download link ({structure_name}_pocket_cut.pdb, pocket residues + ligand HETATM only), suitable as RFdiffusion3 design input
17
+ - Use case: identify functionally important residues and ligand binding sites
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint pocket_prediction --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `structure_file`
28
+
29
+ Request fields:
30
+
31
+ | Field | Description | Default |
32
+ |---|---|---|
33
+ | `structure_file` | PDB/CIF | - |
34
+ | `model_config_name` | p2rank model configuration: default or alphafold | default |
35
+
36
+ ## Response
37
+
38
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
39
+ - 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.
40
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
41
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
42
+ do not treat file contents as ordinary JSON results.
43
+
44
+ ## Output Projection
45
+
46
+ > Verification status: verified by a real `delta-cli` invocation
47
+
48
+ - Projection content: n_pockets and pockets list (rank/name/score/probability/center/residue_ids/n_residues) + cropped pocket PDB download_url
49
+ - Presentation form: Pocket list + link; n_pockets=0 is a valid result (p2rank found no pocket), not a failure
50
+ - Downstream reuse: cropped pocket PDB (download_url) -> structure_file for rfd3_design
51
+ ## Output Template
52
+
53
+ - Title: **Binding pocket prediction result**
54
+ - Lead with the conclusion: number of pockets, per-pocket score/probability, location of the top ones (center and residues)
55
+ - Add the cropped pocket PDB to the "Result files & downloads" section and note it can feed rfd3_design
56
+ - Report n_pockets=0 truthfully (p2rank found no pocket), not a failure
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
+ - 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).
@@ -0,0 +1,65 @@
1
+ # Protein Design (RFdiffusion3+MPNN) (`huada_protein_tools` / `protein_design`)
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
+ De novo protein design with RFdiffusion3 and MPNN.
14
+ - Required: `rfd3_json_url` (RFdiffusion3 config file)
15
+ - Optional: `input_file` (list of PDB files), `mpnn_type` (protein_mpnn/ligand_mpnn/soluble_mpnn), `rfd3_n` (1), `mpnn_n` (1)
16
+ - Output: designed sequences with scores `download_url`, `zip_download_url`
17
+ - Use case: de novo design of new proteins; use when the user uploads both a PDB and an RFdiffusion3 JSON, or explicitly mentions rfd3/RFdiffusion3
18
+
19
+ ## Invocation
20
+
21
+ ```text
22
+ delta-cli science invoke --tool huada_protein_tools --endpoint protein_design --data JSON
23
+ ```
24
+
25
+ Required input groups (at least one per group; all groups must be satisfied):
26
+
27
+ - `rfd3_json_url`
28
+
29
+ Request fields:
30
+
31
+ | Field | Description | Default |
32
+ |---|---|---|
33
+ | `rfd3_json_url` | RFdiffusion3 config file | - |
34
+ | `input_file` | Input PDB file URL list | [] |
35
+ | `mpnn_type` | MPNN type, default protein_mpnn | protein_mpnn |
36
+ | `rfd3_n` | RFdiffusion3 sample count, default 1 | 1 |
37
+ | `mpnn_n` | MPNN sample count, default 1 | 1 |
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: Designed sequences with scores, download_url (design results), zip_download_url
52
+ - Presentation form: Download link list; structure files given as `[name](full URL)` per format
53
+ - Downstream reuse: terminal artifact
54
+ ## Output Template
55
+
56
+ - Title: **Protein design result (RFdiffusion3 + MPNN)**
57
+ - Lead with the conclusion: number of designed sequences / scores
58
+ - Add design-result and scaffold-file links to the "Result files & downloads" section: `[Design result file](download_url)`, `[ZIP](zip_download_url)`
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
+ - 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).
@@ -0,0 +1,77 @@
1
+ # Protein n-site Mutation Activity Prediction (`huada_protein_tools` / `protein_evolution`)
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 specified mutation sites with a protein-evolution method.
14
+ - Required: `mutant_url` (Excel/CSV file with a mutant column and at least one numeric column)
15
+ - Optional: `protein_sequence`/`sequence_file`/`structure_file`, `chain` (A), `mutant_n` (0), `topk` (-1), `model_name` (esm2/esmc), `threshold`, `regression_type` (randomforest/gp)
16
+ - Multi-objective optimization: `target_columns` (specify multiple numeric column names, e.g. ["yield","ee"]; auto-detected by default), `weights` (per-target weights; equal weights by default)
17
+ - Output: best mutations with activity scores `download_url`
18
+ - Use case: mutation activity data is available and the user explicitly specifies "2-site/3-site/n-site/multi-site mutation"
19
+
20
+ ## Invocation
21
+
22
+ ```text
23
+ delta-cli science invoke --tool huada_protein_tools --endpoint protein_evolution --data JSON
24
+ ```
25
+
26
+ Required input groups (at least one per group; all groups must be satisfied):
27
+
28
+ - `mutant_url`
29
+
30
+ Server-side default parameters:
31
+
32
+ - `topk` = `30`
33
+
34
+ Request fields:
35
+
36
+ | Field | Description | Default |
37
+ |---|---|---|
38
+ | `mutant_url` | CSV/XLSX with a mutant column and at least one numeric column | - |
39
+ | `protein_sequence` | | - |
40
+ | `sequence_file` | FASTA/FA | - |
41
+ | `structure_file` | PDB/CIF | - |
42
+ | `chain` | Protein chain identifier, default A | A |
43
+ | `mutant_n` | Specified number of n-site mutations, default 0 | 0 |
44
+ | `topk` | Number of results to return, default -1 (all) | -1 |
45
+ | `model_name` | Feature model name (esm2/esmc) | - |
46
+ | `threshold` | Threshold | - |
47
+ | `regression_type` | Regression model (randomforest/gp) | - |
48
+ | `target_columns` | Specify multiple target numeric column names, e.g. ['yield','ee']; auto-detects all numeric columns by default | - |
49
+ | `weights` | Weights per target column, e.g. [0.5,0.5]; equal weights by default | - |
50
+
51
+ ## Response
52
+
53
+ - CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
54
+ - 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.
55
+ - Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
56
+ `delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
57
+ do not treat file contents as ordinary JSON results.
58
+
59
+ ## Output Projection
60
+
61
+ > Verification status: derived from ToolSpec/agent templates; pending live calibration
62
+
63
+ - Projection content: Activity score topk for specified n-site/multi-site mutations (download_url)
64
+ - Presentation form: Text/table + download link
65
+ - Downstream reuse: -
66
+ ## Output Template
67
+
68
+ - Title: **Protein n-site mutation activity prediction result**
69
+ - Lead with the conclusion: n-site/multi-site mutation activity prediction results (topk)
70
+ - Add details to the "Result files & downloads" section
71
+
72
+ ## Boundaries & Failure Modes
73
+
74
+ - 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.
75
+ - 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.
76
+ - 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.
77
+ - 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).
@@ -0,0 +1,66 @@
1
+ # Mutant Solubility Prediction (`huada_protein_tools` / `protein_sol_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 solubility of mutant proteins.
14
+ - Input: `protein_sequence`/`sequence_file`/`structure_file` + `mutant_list`/`mutant_list_file`
15
+ - Optional: `chain` (A), `min_sol` (-1.0)
16
+ - Output: solubility prediction results per mutant `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint protein_sol_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 | [] |
37
+ | `mutant_list_file` | CSV/XLSX mutation list file | - |
38
+ | `min_sol` | Minimum solubility threshold, 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: Solubility score per mutant and change trend; flag mutations likely to affect solubility
53
+ - Presentation form: Text/table
54
+ - Downstream reuse: -
55
+ ## Output Template
56
+
57
+ - Title: **Mutant solubility prediction result**
58
+ - Lead with the conclusion: solubility score/change trend, flagging mutations likely to affect solubility
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
+ - 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).
@@ -0,0 +1,61 @@
1
+ # Protein Solubility Prediction (`huada_protein_tools` / `protein_sol_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 protein solubility and isoelectric point (pI).
14
+ - Input: `protein_list` / `protein_list_file` (choose one)
15
+ - Important: `protein_list_file` must be a `.fasta/.fa/.csv/.xlsx` URL; never pass structure files
16
+ - Output: solubility and pI results `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint protein_sol_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: Protein solubility and isoelectric point pI (download_url)
48
+ - Presentation form: Text
49
+ - Downstream reuse: -
50
+ ## Output Template
51
+
52
+ - Title: **Protein solubility prediction result**
53
+ - Lead with the conclusion: predicted solubility trend and pI
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
+ - 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).
@@ -0,0 +1,66 @@
1
+ # Protein Structure Prediction (Protenix) (`huada_protein_tools` / `protenix`)
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 three-dimensional structure of a protein with the Protenix model.
14
+ - Input: `protein_sequence` / `sequence_file` (choose one)
15
+ - Optional: `use_msa` (false)
16
+ - Output: predicted structure file (PDB) `download_url`
17
+
18
+ ## Invocation
19
+
20
+ ```text
21
+ delta-cli science invoke --tool huada_protein_tools --endpoint protenix --data JSON
22
+ ```
23
+
24
+ Required input groups (at least one per group; all groups must be satisfied):
25
+
26
+ - `protein_sequence` / `sequence_file`
27
+
28
+ Server-side default parameters:
29
+
30
+ - `use_msa` = `false`
31
+
32
+ Request fields:
33
+
34
+ | Field | Description | Default |
35
+ |---|---|---|
36
+ | `protein_sequence` | | - |
37
+ | `sequence_file` | FASTA/FA | - |
38
+ | `use_msa` | Whether to use multiple sequence alignment | false |
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: verified by a real `delta-cli` invocation
51
+
52
+ - Projection content: Predicted structure download_url (.cif/.pdb) with confidence: plddt, ptm, gpde, num_recycles, has_clash
53
+ - Presentation form: Structure file link + confidence text
54
+ - Downstream reuse: structure can serve as downstream structure_file, or extract the sequence first via structure_to_sequence and use as protein_sequence
55
+ ## Output Template
56
+
57
+ - Title: **Protenix structure prediction result**
58
+ - Lead with the conclusion: prediction done + confidence (plddt/ptm/gpde), num_recycles, clash status
59
+ - Add the structure file link to the "Result files & downloads" section: `[Protenix structure prediction result file](download_url)`
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
+ - 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).