@delta-agentcloud/cli 0.0.0-stage → 1.1.20
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.
- package/README.md +511 -2
- package/checksums.txt +5 -0
- package/package.json +47 -4
- package/scripts/install-wizard.js +683 -0
- package/scripts/install.js +435 -0
- package/scripts/run.js +65 -0
- package/skills/delta-protein/AGENTS.md +73 -0
- package/skills/delta-protein/SKILL.md +389 -0
- package/skills/delta-protein/agents/openai.yaml +4 -0
- package/skills/delta-protein/references/bfitter.md +64 -0
- package/skills/delta-protein/references/catapro_predict.md +63 -0
- package/skills/delta-protein/references/catpred_predict.md +65 -0
- package/skills/delta-protein/references/caver_tunnel_analyze.md +63 -0
- package/skills/delta-protein/references/consensus_mutation.md +61 -0
- package/skills/delta-protein/references/consurf_predict.md +67 -0
- package/skills/delta-protein/references/crop_sequence.md +69 -0
- package/skills/delta-protein/references/dock.md +82 -0
- package/skills/delta-protein/references/dock_score.md +70 -0
- package/skills/delta-protein/references/easifa_predict_active_site.md +70 -0
- package/skills/delta-protein/references/ephod_predict_mutation.md +66 -0
- package/skills/delta-protein/references/ephod_predict_protein.md +61 -0
- package/skills/delta-protein/references/esmfold2_predict.md +67 -0
- package/skills/delta-protein/references/evcouplings_mutation.md +64 -0
- package/skills/delta-protein/references/fasta_to_sequence.md +59 -0
- package/skills/delta-protein/references/foldseek.md +61 -0
- package/skills/delta-protein/references/generate_msa.md +61 -0
- package/skills/delta-protein/references/interpro_analyze.md +63 -0
- package/skills/delta-protein/references/mpnn_design_sequence.md +71 -0
- package/skills/delta-protein/references/multievolve.md +73 -0
- package/skills/delta-protein/references/pisa_query.md +70 -0
- package/skills/delta-protein/references/plip_analyze.md +65 -0
- package/skills/delta-protein/references/pocket_prediction.md +63 -0
- package/skills/delta-protein/references/protein_design.md +65 -0
- package/skills/delta-protein/references/protein_evolution.md +77 -0
- package/skills/delta-protein/references/protein_sol_predict_mutation.md +66 -0
- package/skills/delta-protein/references/protein_sol_predict_protein.md +61 -0
- package/skills/delta-protein/references/protenix.md +66 -0
- package/skills/delta-protein/references/protrek_search.md +90 -0
- package/skills/delta-protein/references/pubchem_search.md +68 -0
- package/skills/delta-protein/references/pubmed_search.md +79 -0
- package/skills/delta-protein/references/reap_design_primer.md +69 -0
- package/skills/delta-protein/references/rfd3_design.md +65 -0
- package/skills/delta-protein/references/structure_to_sequence.md +61 -0
- package/skills/delta-protein/references/summarize_result.md +68 -0
- package/skills/delta-protein/references/surface_charge.md +84 -0
- package/skills/delta-protein/references/uniprot_batch_query.md +63 -0
- package/skills/delta-protein/references/uniprot_query.md +64 -0
- package/skills/delta-protein/references/zero_shot_mutant_candidates.md +76 -0
- package/skills/delta-protein/scripts/gen_references.py +167 -0
- package/skills/delta-protein/scripts/output_metadata.json +275 -0
- package/skills/delta-sandbox/SKILL.md +388 -0
- package/skills/delta-sandbox/agents/openai.yaml +4 -0
- package/skills/delta-sandbox/references/commands.md +58 -0
- package/skills/delta-sandbox/references/lifecycle.md +100 -0
- package/skills/delta-sandbox/references/recipes.md +138 -0
- package/skills/delta-science/AGENTS.md +47 -0
- package/skills/delta-science/SKILL.md +227 -0
- package/skills/delta-science/agents/openai.yaml +4 -0
- package/skills/delta-science/references/antbo.md +105 -0
- package/skills/delta-science/references/delta-bo.md +92 -0
- package/skills/delta-science/references/gsasii.md +118 -0
- package/skills/delta-science/references/lammps.md +68 -0
- package/skills/delta-science/references/ldm-bo.md +132 -0
- package/skills/delta-science/references/materials-design.md +130 -0
- package/skills/delta-science/references/pubchem.md +128 -0
- package/skills/delta-science/references/pymatgen.md +69 -0
- package/skills/delta-science/references/qe.md +134 -0
- package/skills/delta-science/references/rdkit.md +141 -0
- package/skills/delta-science/references/strbo.md +95 -0
- package/skills/delta-science/references/synbo.md +201 -0
- package/skills/delta-science/references/xrd.md +704 -0
- package/skills/delta-science/scripts/catalog.py +92 -0
- package/skills/delta-science/scripts/generated_catalog.py +69 -0
- package/skills/delta-science/scripts/invoke.py +346 -0
- package/skills/delta-shared/SKILL.md +113 -0
- package/skills/delta-shared/agents/openai.yaml +4 -0
- package/skills/manifest.json +20 -0
|
@@ -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).
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# ProTrek API Search (`huada_protein_tools` / `protrek_search`)
|
|
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
|
+
Open-ended protein retrieval (text/sequence/structure) across multiple databases
|
|
14
|
+
with the ProTrek protein search API.
|
|
15
|
+
- Typical scenarios:
|
|
16
|
+
- Search related proteins by functional/reaction/family descriptions in protein
|
|
17
|
+
databases (`input_type=text`).
|
|
18
|
+
- Search similar proteins by sequence (`input_type=sequence`).
|
|
19
|
+
- Search similar structures by structure (`input_type=structure`).
|
|
20
|
+
- Not for: exact metadata queries of a known UniProt accession / UniParc ID / gene
|
|
21
|
+
name / protein name (use `uniprot_query` for those).
|
|
22
|
+
- Optional parameters: `input_type` (text/sequence/structure), `query_type`
|
|
23
|
+
(sequence/structure), `topk` (10), `db` (Swiss-Prot), `protein_sequence`,
|
|
24
|
+
`sequence_file`, `structure_file`, `chain` (A), `text`
|
|
25
|
+
- `query_type` defaults to `sequence`;
|
|
26
|
+
- when the user mentions "structure search / structure / 3D structure", choose `structure`;
|
|
27
|
+
- `input_type` is inferred from whether a sequence/structure file is provided; when
|
|
28
|
+
neither is provided, `input_type` is `text`;
|
|
29
|
+
- the `text` parameter is specifically for functional/reaction/family
|
|
30
|
+
description-style text searches;
|
|
31
|
+
- Supported databases: with `query_type=sequence`, Swiss-Prot/UniRef50/Uncharacterized/OMG_prot50/PDB/GOPC/NCBI/MGnify/OMG are supported; with `query_type=structure`, only PDB
|
|
32
|
+
|
|
33
|
+
## Invocation
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint protrek_search --data JSON
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
40
|
+
|
|
41
|
+
- `protein_sequence` / `sequence_file` / `structure_file` / `text`
|
|
42
|
+
|
|
43
|
+
Server-side default parameters:
|
|
44
|
+
|
|
45
|
+
- `input_type` = `sequence`
|
|
46
|
+
- `query_type` = `sequence`
|
|
47
|
+
- `topk` = `10`
|
|
48
|
+
- `db` = `Swiss-Prot`
|
|
49
|
+
|
|
50
|
+
Request fields:
|
|
51
|
+
|
|
52
|
+
| Field | Description | Default |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| `input_type` | Input type: text/sequence/structure; inferred from whether a sequence/structure file is provided, text when neither | sequence |
|
|
55
|
+
| `query_type` | Query type: sequence/structure; default sequence; choose structure when "structure search" is mentioned | sequence |
|
|
56
|
+
| `topk` | Number of results to return, default 10 | 10 |
|
|
57
|
+
| `db` | Database name or list, default Swiss-Prot; with query_type=sequence supports ['Swiss-Prot', 'UniRef50', 'Uncharacterized', 'OMG_prot50', 'PDB', 'GOPC', 'NCBI', 'MGnify', 'OMG']; with query_type=structure only PDB | Swiss-Prot |
|
|
58
|
+
| `protein_sequence` | | - |
|
|
59
|
+
| `sequence_file` | FASTA/FA | - |
|
|
60
|
+
| `structure_file` | PDB/CIF | - |
|
|
61
|
+
| `chain` | Protein chain identifier, default A | A |
|
|
62
|
+
| `text` | Core search description when input_type=text, e.g. function/reaction/family; translate to English | - |
|
|
63
|
+
|
|
64
|
+
## Response
|
|
65
|
+
|
|
66
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
67
|
+
- 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.
|
|
68
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
69
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
70
|
+
do not treat file contents as ordinary JSON results.
|
|
71
|
+
|
|
72
|
+
## Output Projection
|
|
73
|
+
|
|
74
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
75
|
+
|
|
76
|
+
- Projection content: Hit protein entries, similarity and functional information
|
|
77
|
+
- Presentation form: Hit list text/table
|
|
78
|
+
- Downstream reuse: for known targets with metadata use uniprot_query; this endpoint is for open-ended retrieval
|
|
79
|
+
## Output Template
|
|
80
|
+
|
|
81
|
+
- Title: **ProTrek database search result**
|
|
82
|
+
- Lead with the conclusion: number of hit protein entries; list similarity per hit (score vs query) and functional information
|
|
83
|
+
- For structure/sequence search, state the retrieval mode (query_type/input_type)
|
|
84
|
+
|
|
85
|
+
## Boundaries & Failure Modes
|
|
86
|
+
|
|
87
|
+
- 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.
|
|
88
|
+
- 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.
|
|
89
|
+
- 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.
|
|
90
|
+
- 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,68 @@
|
|
|
1
|
+
# PubChem Compound Search (`huada_protein_tools` / `pubchem_search`)
|
|
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
|
+
Call PubChem (NCBI) to search basic chemical molecule information.
|
|
14
|
+
- Supports querying compounds by name, SMILES, InChI, InChIKey, PubChem CID.
|
|
15
|
+
- `input_type` options: name (default) | smiles | inchi | inchikey | cid.
|
|
16
|
+
- `query` passes the corresponding identifier per input_type: name like "aspirin",
|
|
17
|
+
SMILES like "CC(=O)OC1=CC=CC=C1C(=O)O", CID like "2244".
|
|
18
|
+
- Optional: `max_results` (default 10, max 100)
|
|
19
|
+
- Output: compound results `resultjson`, containing
|
|
20
|
+
cid/name/molecular_formula/molecular_weight/canonical_smiles/inchi/inchikey/
|
|
21
|
+
iupac_name/synonyms/pubchem_url
|
|
22
|
+
|
|
23
|
+
## Invocation
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint pubchem_search --data JSON
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
30
|
+
|
|
31
|
+
- `query`
|
|
32
|
+
|
|
33
|
+
Request fields:
|
|
34
|
+
|
|
35
|
+
| Field | Description | Default |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| `query` | Query string: name, SMILES, InChI, InChIKey, or CID | - |
|
|
38
|
+
| `input_type` | Query type: name \| smiles \| inchi \| inchikey \| cid, default name | name |
|
|
39
|
+
| `max_results` | Maximum number of compounds to return, default 10, max 100 | 10 |
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
44
|
+
- 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.
|
|
45
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
46
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
47
|
+
do not treat file contents as ordinary JSON results.
|
|
48
|
+
|
|
49
|
+
## Output Projection
|
|
50
|
+
|
|
51
|
+
> Verification status: verified by a real `delta-cli` invocation
|
|
52
|
+
|
|
53
|
+
- Projection content: Compound entries: name, synonyms, molecular_formula, molecular_weight, canonical_smiles, inchi, inchikey, cid, pubchem_url
|
|
54
|
+
- Presentation form: Text (formula/weight/name/SMILES) + entry URL
|
|
55
|
+
- Downstream reuse: canonical_smiles -> smiles / primary_smiles for catpred_predict / catapro_predict
|
|
56
|
+
## Output Template
|
|
57
|
+
|
|
58
|
+
- Title: **PubChem compound search**
|
|
59
|
+
- Lead with the conclusion: compound name, molecular formula, molecular weight
|
|
60
|
+
- Also give: canonical_smiles / InChIKey, cid, `[PubChem entry](pubchem_url)` (URL in a safe form)
|
|
61
|
+
- Avoid listing every JSON key
|
|
62
|
+
|
|
63
|
+
## Boundaries & Failure Modes
|
|
64
|
+
|
|
65
|
+
- 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.
|
|
66
|
+
- 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.
|
|
67
|
+
- 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.
|
|
68
|
+
- 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).
|