@delta-infra/cli 1.1.17 → 1.1.19
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 +520 -506
- package/checksums.txt +5 -5
- package/package.json +3 -2
- package/scripts/install-wizard.js +688 -701
- package/scripts/install.js +442 -442
- package/scripts/run.js +65 -65
- 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 -388
- package/skills/delta-sandbox/agents/openai.yaml +4 -4
- package/skills/delta-sandbox/references/commands.md +58 -58
- package/skills/delta-sandbox/references/lifecycle.md +100 -100
- package/skills/delta-sandbox/references/recipes.md +138 -138
- package/skills/delta-science/AGENTS.md +47 -47
- package/skills/delta-science/SKILL.md +227 -185
- package/skills/delta-science/agents/openai.yaml +4 -4
- package/skills/delta-science/references/antbo.md +105 -100
- package/skills/delta-science/references/delta-bo.md +92 -89
- package/skills/delta-science/references/gsasii.md +118 -116
- package/skills/delta-science/references/lammps.md +68 -66
- package/skills/delta-science/references/ldm-bo.md +132 -129
- package/skills/delta-science/references/materials-design.md +130 -118
- package/skills/delta-science/references/pubchem.md +128 -126
- package/skills/delta-science/references/pymatgen.md +69 -68
- package/skills/delta-science/references/qe.md +134 -125
- package/skills/delta-science/references/rdkit.md +141 -138
- package/skills/delta-science/references/strbo.md +95 -87
- package/skills/delta-science/references/synbo.md +201 -198
- package/skills/delta-science/references/xrd.md +619 -101
- package/skills/delta-science/scripts/catalog.py +92 -92
- package/skills/delta-science/scripts/generated_catalog.py +69 -69
- package/skills/delta-science/scripts/invoke.py +346 -346
- package/skills/delta-shared/SKILL.md +113 -111
- package/skills/delta-shared/agents/openai.yaml +4 -4
- package/skills/manifest.json +20 -19
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Enzyme Active-site Prediction (`huada_protein_tools` / `easifa_predict_active_site`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Predict enzyme active sites with EasIFA.
|
|
14
|
+
- Required: `input_mode` (structure/sequence/uniprot)
|
|
15
|
+
- structure mode requires `structure_file`; sequence mode requires `protein_sequence` or `sequence_file`
|
|
16
|
+
- Optional: `rxn_smiles` (reaction SMILES), `chain`
|
|
17
|
+
- Output: active-site predictions `resultjson`, `download_url`
|
|
18
|
+
|
|
19
|
+
## Invocation
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint easifa_predict_active_site --data JSON
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
26
|
+
|
|
27
|
+
- `input_mode`
|
|
28
|
+
|
|
29
|
+
Server-side default parameters:
|
|
30
|
+
|
|
31
|
+
- `input_mode` = `structure`
|
|
32
|
+
|
|
33
|
+
Request fields:
|
|
34
|
+
|
|
35
|
+
| Field | Description | Default |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| `input_mode` | Input mode: structure/sequence/uniprot | structure |
|
|
38
|
+
| `structure_file` | PDB/CIF | - |
|
|
39
|
+
| `protein_sequence` | | - |
|
|
40
|
+
| `sequence_file` | FASTA/FA | - |
|
|
41
|
+
| `rxn_smiles` | Reaction SMILES (substrate>>product) | - |
|
|
42
|
+
| `chain` | Protein chain identifier, default A | A |
|
|
43
|
+
|
|
44
|
+
## Response
|
|
45
|
+
|
|
46
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
47
|
+
- Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
|
|
48
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
49
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
50
|
+
do not treat file contents as ordinary JSON results.
|
|
51
|
+
|
|
52
|
+
## Output Projection
|
|
53
|
+
|
|
54
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
55
|
+
|
|
56
|
+
- Projection content: Enzyme active-site/binding-site residues, positions and confidence; positions overlapping zero-shot mutant results are marked as not recommended for engineering
|
|
57
|
+
- Presentation form: Text/table
|
|
58
|
+
- Downstream reuse: site information cross-annotated with zero_shot_mutant_candidates overlap
|
|
59
|
+
## Output Template
|
|
60
|
+
|
|
61
|
+
- Title: **Enzyme active-site/binding-site prediction result (EasIFA)**
|
|
62
|
+
- Lead with the conclusion: active-site residues, positions, confidence
|
|
63
|
+
- When zero-shot mutant results exist, mark overlapping positions (overlaps not recommended for engineering)
|
|
64
|
+
|
|
65
|
+
## Boundaries & Failure Modes
|
|
66
|
+
|
|
67
|
+
- File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
|
|
68
|
+
- Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
|
|
69
|
+
- Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
|
|
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,66 @@
|
|
|
1
|
+
# Mutant Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_mutation`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Predict the optimal pH of mutant proteins.
|
|
14
|
+
- Input: `protein_sequence`/`sequence_file`/`structure_file` + `mutant_list`/`mutant_list_file`
|
|
15
|
+
- Optional: `chain` (A), `target_pH` (-1.0 returns all)
|
|
16
|
+
- Output: mutant optimal pH results `download_url`
|
|
17
|
+
|
|
18
|
+
## Invocation
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_mutation --data JSON
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
25
|
+
|
|
26
|
+
- `protein_sequence` / `sequence_file` / `structure_file`
|
|
27
|
+
|
|
28
|
+
Request fields:
|
|
29
|
+
|
|
30
|
+
| Field | Description | Default |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `protein_sequence` | | - |
|
|
33
|
+
| `sequence_file` | FASTA/FA | - |
|
|
34
|
+
| `structure_file` | PDB/CIF | - |
|
|
35
|
+
| `chain` | Protein chain identifier, default A | A |
|
|
36
|
+
| `mutant_list` | Mutation list, e.g. ["A1V", "K2M"] | [] |
|
|
37
|
+
| `mutant_list_file` | CSV/XLSX mutation list file | - |
|
|
38
|
+
| `target_pH` | Target pH, default -1.0 | -1.0 |
|
|
39
|
+
|
|
40
|
+
## Response
|
|
41
|
+
|
|
42
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
43
|
+
- Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
|
|
44
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
45
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
46
|
+
do not treat file contents as ordinary JSON results.
|
|
47
|
+
|
|
48
|
+
## Output Projection
|
|
49
|
+
|
|
50
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
51
|
+
|
|
52
|
+
- Projection content: Optimal pH per mutant and its change (download_url)
|
|
53
|
+
- Presentation form: Text/table
|
|
54
|
+
- Downstream reuse: -
|
|
55
|
+
## Output Template
|
|
56
|
+
|
|
57
|
+
- Title: **Mutant optimal pH prediction result**
|
|
58
|
+
- Lead with the conclusion: optimal pH per mutant and differences vs wild type
|
|
59
|
+
- Add details to the "Result files & downloads" section
|
|
60
|
+
|
|
61
|
+
## Boundaries & Failure Modes
|
|
62
|
+
|
|
63
|
+
- File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
|
|
64
|
+
- Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
|
|
65
|
+
- Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
|
|
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 Optimal pH Prediction (`huada_protein_tools` / `ephod_predict_protein`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Predict the optimal pH of proteins.
|
|
14
|
+
- Input: `protein_list` (list of one-letter sequences) / `protein_list_file` (sequence file URL) — choose one
|
|
15
|
+
- Important: `protein_list_file` must be a `.fasta/.fa/.csv/.xlsx` sequence-file URL; never pass `.pdb/.cif` structure files
|
|
16
|
+
- Output: optimal pH prediction results `download_url`
|
|
17
|
+
|
|
18
|
+
## Invocation
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint ephod_predict_protein --data JSON
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
25
|
+
|
|
26
|
+
- `protein_list` / `protein_list_file`
|
|
27
|
+
|
|
28
|
+
Request fields:
|
|
29
|
+
|
|
30
|
+
| Field | Description | Default |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `protein_list` | List of single or multiple one-letter amino-acid sequences | [] |
|
|
33
|
+
| `protein_list_file` | FASTA/FA/CSV/XLSX sequence file | - |
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
38
|
+
- Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
|
|
39
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
40
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
41
|
+
do not treat file contents as ordinary JSON results.
|
|
42
|
+
|
|
43
|
+
## Output Projection
|
|
44
|
+
|
|
45
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
46
|
+
|
|
47
|
+
- Projection content: Optimal pH for each protein (download_url)
|
|
48
|
+
- Presentation form: Text/table
|
|
49
|
+
- Downstream reuse: -
|
|
50
|
+
## Output Template
|
|
51
|
+
|
|
52
|
+
- Title: **Protein optimal pH prediction result**
|
|
53
|
+
- Lead with the conclusion: optimal pH range per protein
|
|
54
|
+
- Add details to the "Result files & downloads" section
|
|
55
|
+
|
|
56
|
+
## Boundaries & Failure Modes
|
|
57
|
+
|
|
58
|
+
- File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
|
|
59
|
+
- Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
|
|
60
|
+
- Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
|
|
61
|
+
- 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,67 @@
|
|
|
1
|
+
# Protein Structure Prediction (ESMFold2) (`huada_protein_tools` / `esmfold2_predict`)
|
|
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 protein/DNA/RNA/ligand complexes with
|
|
14
|
+
ESMFold2; supports combined prediction.
|
|
15
|
+
- Protein input: `protein_sequence` (sequence) / `sequence_file` (FASTA) — choose one
|
|
16
|
+
- Optional: `msa_file` (A3M), `dna_sequence` (DNA sequence), `rna_sequence` (RNA sequence), `ligand` (ligand CCD code or SMILES)
|
|
17
|
+
- Distinguish from Protenix: use ESMFold2 when DNA/RNA/ligand are involved; use Protenix for pure protein structure prediction
|
|
18
|
+
- Output: predicted structure CIF file `download_url`, confidence metrics `resultjson`
|
|
19
|
+
|
|
20
|
+
## Invocation
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint esmfold2_predict --data JSON
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
27
|
+
|
|
28
|
+
- `protein_sequence` / `sequence_file`
|
|
29
|
+
|
|
30
|
+
Request fields:
|
|
31
|
+
|
|
32
|
+
| Field | Description | Default |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| `protein_sequence` | | - |
|
|
35
|
+
| `sequence_file` | FASTA/FA | - |
|
|
36
|
+
| `msa_file` | A3M MSA | - |
|
|
37
|
+
| `dna_sequence` | DNA sequence, single str or list[str] | - |
|
|
38
|
+
| `rna_sequence` | RNA sequence, single str or list[str] | - |
|
|
39
|
+
| `ligand` | Small-molecule ligand: CCD code (e.g. ATP, MG) or SMILES string | - |
|
|
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: Complex structure download_url (.cif, composition when protein+DNA/RNA/ligand) with confidence: plddt_mean, ptm, iptm, sequence_length
|
|
54
|
+
- Presentation form: Structure file link + confidence text
|
|
55
|
+
- Downstream reuse: structure can serve as downstream structure_file
|
|
56
|
+
## Output Template
|
|
57
|
+
|
|
58
|
+
- Title: **ESMFold2 structure prediction result**
|
|
59
|
+
- Lead with the conclusion: prediction done (complex composition, e.g. protein(47aa)+dna(12nt)) and confidence (plddt_mean/ptm/iptm), sequence_length
|
|
60
|
+
- Add the structure CIF link to the "Result files & downloads" section
|
|
61
|
+
|
|
62
|
+
## Boundaries & Failure Modes
|
|
63
|
+
|
|
64
|
+
- 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.
|
|
65
|
+
- 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.
|
|
66
|
+
- 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.
|
|
67
|
+
- 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,64 @@
|
|
|
1
|
+
# EVcouplings Coevolution & Mutation Analysis (`huada_protein_tools` / `evcouplings_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
|
+
Infer a coevolutionary coupling model from an equal-length aligned MSA with plmc and
|
|
14
|
+
output single-site mutation statistical energy scores plus coupling parameters.
|
|
15
|
+
- Input: `msa_file` (equal-length aligned MSA file URL, FASTA/Clustal/Stockholm)
|
|
16
|
+
- Optional: `query_id` (focus sequence ID in the MSA, default first), `model_file` (existing plmc .model file), `mutant_list_file` (Excel/CSV with a mutant column)
|
|
17
|
+
- Output: single-site mutation score Excel `download_url`, `zip_download_url` (contains .model, coupling parameters, etc.)
|
|
18
|
+
|
|
19
|
+
## Invocation
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint evcouplings_mutation --data JSON
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
26
|
+
|
|
27
|
+
- `msa_file` / `model_file`
|
|
28
|
+
|
|
29
|
+
Request fields:
|
|
30
|
+
|
|
31
|
+
| Field | Description | Default |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `msa_file` | Equal-length aligned MSA file URL (FASTA/Clustal/Stockholm) | - |
|
|
34
|
+
| `query_id` | Focus sequence ID in the MSA, default first | - |
|
|
35
|
+
| `model_file` | Existing plmc .model file URL or path | - |
|
|
36
|
+
| `mutant_list_file` | Excel/CSV URL or path with a mutant column | - |
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
41
|
+
- 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.
|
|
42
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
43
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
44
|
+
do not treat file contents as ordinary JSON results.
|
|
45
|
+
|
|
46
|
+
## Output Projection
|
|
47
|
+
|
|
48
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
49
|
+
|
|
50
|
+
- Projection content: Single-site mutation statistical energy scores (Excel download_url) + zip_download_url (.model and coupling parameters)
|
|
51
|
+
- Presentation form: Energy score summary + Excel/ZIP links
|
|
52
|
+
- Downstream reuse: -
|
|
53
|
+
## Output Template
|
|
54
|
+
|
|
55
|
+
- Title: **EVcouplings coevolutionary mutation analysis result**
|
|
56
|
+
- Lead with the conclusion: TOP positions by single-site statistical energy score
|
|
57
|
+
- Add the Excel and ZIP (with .model/coupling parameters) to the "Result files & downloads" section
|
|
58
|
+
|
|
59
|
+
## Boundaries & Failure Modes
|
|
60
|
+
|
|
61
|
+
- 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.
|
|
62
|
+
- 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.
|
|
63
|
+
- 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.
|
|
64
|
+
- 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,59 @@
|
|
|
1
|
+
# FASTA Sequence Extraction (`huada_protein_tools` / `fasta_to_sequence`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Extract the protein sequence from a FASTA file.
|
|
14
|
+
- Required: `fasta_file`
|
|
15
|
+
- Output: extracted protein sequence `resultjson`
|
|
16
|
+
|
|
17
|
+
## Invocation
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint fasta_to_sequence --data JSON
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
24
|
+
|
|
25
|
+
- `fasta_file`
|
|
26
|
+
|
|
27
|
+
Request fields:
|
|
28
|
+
|
|
29
|
+
| Field | Description | Default |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| `fasta_file` | FASTA/FA | - |
|
|
32
|
+
|
|
33
|
+
## Response
|
|
34
|
+
|
|
35
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
36
|
+
- 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.
|
|
37
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
38
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
39
|
+
do not treat file contents as ordinary JSON results.
|
|
40
|
+
|
|
41
|
+
## Output Projection
|
|
42
|
+
|
|
43
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
44
|
+
|
|
45
|
+
- Projection content: Protein sequence extracted from FASTA
|
|
46
|
+
- Presentation form: Sequence shown as inline code
|
|
47
|
+
- Downstream reuse: sequence can be used as downstream protein_sequence input
|
|
48
|
+
## Output Template
|
|
49
|
+
|
|
50
|
+
- Title: **FASTA sequence parsing result**
|
|
51
|
+
- Lead with the conclusion: parsed sequence id/length
|
|
52
|
+
- Show the sequence as inline code
|
|
53
|
+
|
|
54
|
+
## Boundaries & Failure Modes
|
|
55
|
+
|
|
56
|
+
- 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.
|
|
57
|
+
- 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.
|
|
58
|
+
- 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.
|
|
59
|
+
- 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
|
+
# Foldseek Sequence Extraction (`huada_protein_tools` / `foldseek`)
|
|
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
|
+
Extract the Foldseek/SaProt combined sequence from a protein structure file.
|
|
14
|
+
- Required: `structure_file` (.pdb/.cif)
|
|
15
|
+
- Optional: `chain` (A)
|
|
16
|
+
- Output: extraction summary, `download_url` (FASTA)
|
|
17
|
+
|
|
18
|
+
## Invocation
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint foldseek --data JSON
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
25
|
+
|
|
26
|
+
- `structure_file`
|
|
27
|
+
|
|
28
|
+
Request fields:
|
|
29
|
+
|
|
30
|
+
| Field | Description | Default |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `structure_file` | PDB/CIF | - |
|
|
33
|
+
| `chain` | Protein chain identifier, default A | A |
|
|
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: Extracted Foldseek/SaProt combined sequence, download_url (FASTA)
|
|
48
|
+
- Presentation form: Sequence inline code + FASTA link
|
|
49
|
+
- Downstream reuse: sequence can serve as downstream protein_sequence input
|
|
50
|
+
## Output Template
|
|
51
|
+
|
|
52
|
+
- Title: **Foldseek structure search result**
|
|
53
|
+
- Lead with the conclusion: sequence extraction summary (length)
|
|
54
|
+
- Add sequence inline code + FASTA link 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,61 @@
|
|
|
1
|
+
# Multiple Sequence Alignment Computation (`huada_protein_tools` / `generate_msa`)
|
|
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
|
+
Compute a homolog protein MSA (A3M format) with MMseqs2 against the uniref100
|
|
14
|
+
database.
|
|
15
|
+
- Input: `protein_sequence` / `fasta_file` (choose one)
|
|
16
|
+
- Output: A3M MSA file `download_url`
|
|
17
|
+
|
|
18
|
+
## Invocation
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint generate_msa --data JSON
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
25
|
+
|
|
26
|
+
- `protein_sequence` / `fasta_file`
|
|
27
|
+
|
|
28
|
+
Request fields:
|
|
29
|
+
|
|
30
|
+
| Field | Description | Default |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `protein_sequence` | | - |
|
|
33
|
+
| `fasta_file` | FASTA/FA | - |
|
|
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: Homolog MSA (A3M), download_url
|
|
48
|
+
- Presentation form: Download link; note MSA can be used for homology/conservation inference
|
|
49
|
+
- Downstream reuse: download_url -> msa_file for consensus_mutation / evcouplings_mutation / zero_shot_mutant_candidates
|
|
50
|
+
## Output Template
|
|
51
|
+
|
|
52
|
+
- Title: **Multiple sequence alignment (MSA) result**
|
|
53
|
+
- Lead with the conclusion: MSA computed, usable for homology and conservation inference
|
|
54
|
+
- Add the MSA file link to the "Result files & downloads" section and note it can serve as downstream msa_file
|
|
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,63 @@
|
|
|
1
|
+
# InterProScan Domain & Function Annotation (`huada_protein_tools` / `interpro_analyze`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Annotate protein domains and functions with InterProScan.
|
|
14
|
+
- Input: `protein_sequence` / `sequence_file` (FASTA/FA) / `structure_file` (PDB/CIF) — choose one; when `structure_file` is provided the backend extracts the sequence automatically
|
|
15
|
+
- Optional: `chain` (protein chain identifier, default A)
|
|
16
|
+
- Output: domain/family/GO summary `resultjson`, Excel (.xlsx) download link `download_url`
|
|
17
|
+
|
|
18
|
+
## Invocation
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint interpro_analyze --data JSON
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
25
|
+
|
|
26
|
+
- `protein_sequence` / `sequence_file` / `structure_file`
|
|
27
|
+
|
|
28
|
+
Request fields:
|
|
29
|
+
|
|
30
|
+
| Field | Description | Default |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `protein_sequence` | | - |
|
|
33
|
+
| `sequence_file` | FASTA/FA | - |
|
|
34
|
+
| `structure_file` | PDB/CIF | - |
|
|
35
|
+
| `chain` | Protein chain identifier, default A | A |
|
|
36
|
+
|
|
37
|
+
## Response
|
|
38
|
+
|
|
39
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
40
|
+
- Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
|
|
41
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
42
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
43
|
+
do not treat file contents as ordinary JSON results.
|
|
44
|
+
|
|
45
|
+
## Output Projection
|
|
46
|
+
|
|
47
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
48
|
+
|
|
49
|
+
- Projection content: Domain, family, GO annotation summary + Excel (download_url)
|
|
50
|
+
- Presentation form: Annotation summary text + Excel download link
|
|
51
|
+
- Downstream reuse: -
|
|
52
|
+
## Output Template
|
|
53
|
+
|
|
54
|
+
- Title: **InterProScan domain and function annotation result**
|
|
55
|
+
- Lead with the conclusion: key domain/family/GO annotation entries
|
|
56
|
+
- Add the Excel detail file to the "Result files & downloads" section
|
|
57
|
+
|
|
58
|
+
## Boundaries & Failure Modes
|
|
59
|
+
|
|
60
|
+
- File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
|
|
61
|
+
- Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
|
|
62
|
+
- Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
|
|
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,71 @@
|
|
|
1
|
+
# MPNN Sequence Design (`huada_protein_tools` / `mpnn_design_sequence`)
|
|
2
|
+
|
|
3
|
+
This endpoint is a real endpoint of the `huada_protein_tools` tool. It can only be
|
|
4
|
+
called via `delta-cli science invoke`; the business response described below lives
|
|
5
|
+
under the CLI top-level `data` — read fields as documented in this file, do not
|
|
6
|
+
recursively search. This file only documents the endpoint schema; it does not
|
|
7
|
+
authorize direct HTTP. Endpoint names are authoritative as returned by
|
|
8
|
+
`delta-cli science endpoints list huada_protein_tools`; use them verbatim — never
|
|
9
|
+
guess, truncate, or alias.
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Protein sequence design with the ProteinMPNN family of models.
|
|
14
|
+
- Required: `structure_file` (.pdb/.cif)
|
|
15
|
+
- Optional: `model_type` (protein_mpnn/ligand_mpnn/soluble_mpnn), `number` (1), `fixed_residues`, `redesigned_residues`, `chain`
|
|
16
|
+
- Output: designed sequences with scores `resultjson`, `download_url`
|
|
17
|
+
- Use case: when only a PDB/CIF structure file is provided
|
|
18
|
+
|
|
19
|
+
## Invocation
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
delta-cli science invoke --tool huada_protein_tools --endpoint mpnn_design_sequence --data JSON
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Required input groups (at least one per group; all groups must be satisfied):
|
|
26
|
+
|
|
27
|
+
- `structure_file`
|
|
28
|
+
|
|
29
|
+
Server-side default parameters:
|
|
30
|
+
|
|
31
|
+
- `model_type` = `protein_mpnn`
|
|
32
|
+
- `number` = `1`
|
|
33
|
+
|
|
34
|
+
Request fields:
|
|
35
|
+
|
|
36
|
+
| Field | Description | Default |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| `structure_file` | PDB/CIF | - |
|
|
39
|
+
| `model_type` | Model type, default protein_mpnn | protein_mpnn |
|
|
40
|
+
| `number` | Number of sequences to generate, default 1 | 1 |
|
|
41
|
+
| `fixed_residues` | Fixed residue positions, space-separated | - |
|
|
42
|
+
| `redesigned_residues` | Positions to redesign only, space-separated | - |
|
|
43
|
+
| `chain` | PDB chain identifier | - |
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
- CLI top-level envelope: a call succeeds only when the exit code is 0 AND `ok` is `true`; the service response lives under `data`.
|
|
48
|
+
- Server-side contract: `status` (success/error/partial), `message`, `tool_type`, `resultjson`, `download_url`; some endpoints also return `total_count`. `resultjson` may be a single object or an array — read only the keys documented in this file, do not recursively search.
|
|
49
|
+
- Binary/file artifacts (such as the PDB/XLSX/FASTA/ZIP files that `download_url` points to) are downloaded and verified with
|
|
50
|
+
`delta-cli science file download --tool huada_protein_tools --endpoint ... --output <path>`;
|
|
51
|
+
do not treat file contents as ordinary JSON results.
|
|
52
|
+
|
|
53
|
+
## Output Projection
|
|
54
|
+
|
|
55
|
+
> Verification status: derived from ToolSpec/agent templates; pending live calibration
|
|
56
|
+
|
|
57
|
+
- Projection content: Number of designed sequences, scores/confidence, download_url
|
|
58
|
+
- Presentation form: Text + download link
|
|
59
|
+
- Downstream reuse: -
|
|
60
|
+
## Output Template
|
|
61
|
+
|
|
62
|
+
- Title: **MPNN sequence design result**
|
|
63
|
+
- Lead with the conclusion: number of designed sequences and scores/confidence
|
|
64
|
+
- Add the design-result file link to the "Result files & downloads" section
|
|
65
|
+
|
|
66
|
+
## Boundaries & Failure Modes
|
|
67
|
+
|
|
68
|
+
- File-type parameters (`structure_file`/`sequence_file`/`msa_file` etc.) take server-accessible URL/path strings, not local upload paths; a `download_url` or `pdb_url` returned by an upstream endpoint can be backfilled directly as downstream input.
|
|
69
|
+
- Make only the minimal calls needed to complete the task; `--data` carries only the fields declared by this endpoint. Do not invent enum values or branches beyond the required combinations.
|
|
70
|
+
- Do not pass off local tool (RDKit/pymatgen/LAMMPS/self-attached MCP) results as this endpoint's results; do not connect directly to Huada or gateway URLs.
|
|
71
|
+
- On failure, report a short summary of the CLI's raw error; do not blindly retry after remote computation timeouts (the outcome may be unknown because the task may already have happened).
|