@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,65 +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.
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
65
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,63 +1,63 @@
1
- # 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.
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
63
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,65 +1,65 @@
1
- # 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.
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
65
  - On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
@@ -1,77 +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.
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
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).