@delta-infra/cli 1.1.19 → 1.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +511 -520
  2. package/checksums.txt +5 -5
  3. package/package.json +1 -1
  4. package/scripts/install-wizard.js +689 -688
  5. package/scripts/install.js +442 -442
  6. package/scripts/run.js +65 -65
  7. package/skills/delta-protein/AGENTS.md +72 -72
  8. package/skills/delta-protein/SKILL.md +388 -388
  9. package/skills/delta-protein/agents/openai.yaml +3 -3
  10. package/skills/delta-protein/references/bfitter.md +63 -63
  11. package/skills/delta-protein/references/catapro_predict.md +62 -62
  12. package/skills/delta-protein/references/catpred_predict.md +64 -64
  13. package/skills/delta-protein/references/caver_tunnel_analyze.md +62 -62
  14. package/skills/delta-protein/references/consensus_mutation.md +60 -60
  15. package/skills/delta-protein/references/consurf_predict.md +66 -66
  16. package/skills/delta-protein/references/crop_sequence.md +68 -68
  17. package/skills/delta-protein/references/dock.md +81 -81
  18. package/skills/delta-protein/references/dock_score.md +69 -69
  19. package/skills/delta-protein/references/easifa_predict_active_site.md +69 -69
  20. package/skills/delta-protein/references/ephod_predict_mutation.md +65 -65
  21. package/skills/delta-protein/references/ephod_predict_protein.md +60 -60
  22. package/skills/delta-protein/references/esmfold2_predict.md +66 -66
  23. package/skills/delta-protein/references/evcouplings_mutation.md +63 -63
  24. package/skills/delta-protein/references/fasta_to_sequence.md +58 -58
  25. package/skills/delta-protein/references/foldseek.md +60 -60
  26. package/skills/delta-protein/references/generate_msa.md +60 -60
  27. package/skills/delta-protein/references/interpro_analyze.md +62 -62
  28. package/skills/delta-protein/references/mpnn_design_sequence.md +70 -70
  29. package/skills/delta-protein/references/multievolve.md +72 -72
  30. package/skills/delta-protein/references/pisa_query.md +69 -69
  31. package/skills/delta-protein/references/plip_analyze.md +64 -64
  32. package/skills/delta-protein/references/pocket_prediction.md +62 -62
  33. package/skills/delta-protein/references/protein_design.md +64 -64
  34. package/skills/delta-protein/references/protein_evolution.md +76 -76
  35. package/skills/delta-protein/references/protein_sol_predict_mutation.md +65 -65
  36. package/skills/delta-protein/references/protein_sol_predict_protein.md +60 -60
  37. package/skills/delta-protein/references/protenix.md +65 -65
  38. package/skills/delta-protein/references/protrek_search.md +89 -89
  39. package/skills/delta-protein/references/pubchem_search.md +67 -67
  40. package/skills/delta-protein/references/pubmed_search.md +78 -78
  41. package/skills/delta-protein/references/reap_design_primer.md +68 -68
  42. package/skills/delta-protein/references/rfd3_design.md +64 -64
  43. package/skills/delta-protein/references/structure_to_sequence.md +60 -60
  44. package/skills/delta-protein/references/summarize_result.md +67 -67
  45. package/skills/delta-protein/references/surface_charge.md +83 -83
  46. package/skills/delta-protein/references/uniprot_batch_query.md +62 -62
  47. package/skills/delta-protein/references/uniprot_query.md +63 -63
  48. package/skills/delta-protein/references/zero_shot_mutant_candidates.md +75 -75
  49. package/skills/delta-protein/scripts/gen_references.py +166 -166
  50. package/skills/delta-protein/scripts/output_metadata.json +274 -274
  51. package/skills/delta-sandbox/SKILL.md +388 -388
  52. package/skills/delta-sandbox/agents/openai.yaml +4 -4
  53. package/skills/delta-sandbox/references/commands.md +71 -58
  54. package/skills/delta-sandbox/references/lifecycle.md +101 -100
  55. package/skills/delta-sandbox/references/recipes.md +138 -138
  56. package/skills/delta-science/AGENTS.md +47 -47
  57. package/skills/delta-science/SKILL.md +227 -227
  58. package/skills/delta-science/agents/openai.yaml +4 -4
  59. package/skills/delta-science/references/antbo.md +105 -105
  60. package/skills/delta-science/references/delta-bo.md +92 -92
  61. package/skills/delta-science/references/gsasii.md +118 -118
  62. package/skills/delta-science/references/lammps.md +68 -68
  63. package/skills/delta-science/references/ldm-bo.md +132 -132
  64. package/skills/delta-science/references/materials-design.md +130 -130
  65. package/skills/delta-science/references/pubchem.md +128 -128
  66. package/skills/delta-science/references/pymatgen.md +69 -69
  67. package/skills/delta-science/references/qe.md +134 -134
  68. package/skills/delta-science/references/rdkit.md +141 -141
  69. package/skills/delta-science/references/strbo.md +95 -95
  70. package/skills/delta-science/references/synbo.md +201 -201
  71. package/skills/delta-science/references/xrd.md +154 -170
  72. package/skills/delta-science/scripts/catalog.py +92 -92
  73. package/skills/delta-science/scripts/generated_catalog.py +69 -69
  74. package/skills/delta-science/scripts/invoke.py +346 -346
  75. package/skills/delta-shared/SKILL.md +115 -113
  76. package/skills/delta-shared/agents/openai.yaml +4 -4
  77. package/skills/manifest.json +20 -20
@@ -1,67 +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.
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
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).
@@ -1,64 +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.
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
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).
@@ -1,59 +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.
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
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).
@@ -1,61 +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.
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
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).
@@ -1,61 +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.
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
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).