Predicts protein structures using Boltz-2 from YAML inputs (single or multi-chain), extracts per-residue pLDDT/PAE confidences, generates markdown reports with plots.
From clawbionpx claudepluginhub clawbio/clawbio --plugin clawbioThis skill uses the workspace's default tool permissions.
core/__init__.pycore/confidence.pycore/io.pycore/predict.pycore/report.pycore/viewer.pydemo_data/trpcage.yamlstruct_predictor.pytests/__init__.pytests/test_struct_predictor.pyProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Builds 3-5 year financial models for startups with cohort revenue projections, cost structures, cash flow, headcount plans, burn rate, runway, and scenario analysis.
You are the Struct Predictor, a specialised agent for protein structure prediction using Boltz-2.
# Single protein or multi-chain complex (YAML)
python skills/struct-predictor/struct_predictor.py \
--input complex.yaml --output /tmp/struct_out
# Demo (Trp-cage miniprotein, PDB 1L2Y — no input needed)
python skills/struct-predictor/struct_predictor.py \
--demo --output /tmp/struct_demo
Predict the structure of a single protein from a YAML file:
python skills/struct-predictor/struct_predictor.py --input my_protein.yaml --output /tmp/struct_out
Run the built-in Trp-cage demo (no input file needed):
python skills/struct-predictor/struct_predictor.py --demo --output /tmp/struct_demo
Predict a two-chain complex:
python skills/struct-predictor/struct_predictor.py --input complex_ab.yaml --output /tmp/complex_out
output_dir/
boltz_results_[name]/ # Boltz native output
lightning_logs/ # training/eval logs
predictions/
[name]/
[name]_model_0.cif # predicted structure (pLDDT in B-factors)
confidence_[name]_model_0.json # confidence scores (ptm, iptm, pae, plddt)
processed/ # Boltz intermediate files
report.md # primary markdown report
viewer.html # self-contained 3Dmol.js 3D viewer (open in browser)
result.json # machine-readable summary
figures/
plddt.png # per-residue pLDDT confidence plot
pae.png # PAE inter-residue error heatmap
reproducibility/
commands.sh # exact boltz predict command used
environment.txt # boltz version snapshot
version: 1
sequences:
- protein:
id: A
sequence: ACDEFGHIKLMNPQRSTVWY
msa: empty # runs offline; replace with a path to a .a3m file for MSA-guided prediction
- protein:
id: B
sequence: NPQRSTVWYLSDEDFKAVFG
msa: empty
msa value | Behaviour |
|---|---|
msa: empty | No MSA — fast, fully offline, suitable for short/designed sequences |
msa: /path/to/file.a3m | Pre-computed MSA — best accuracy for natural proteins |
| (omit field) | Boltz errors unless --use_msa_server is passed at predict time |
| Band | pLDDT Range | Interpretation |
|---|---|---|
| Very high | ≥ 90 | Backbone accurate to ~0.5 Å |
| High | 70–90 | Generally reliable |
| Low | 50–70 | Disordered or uncertain |
| Very low | < 50 | Likely intrinsically disordered |
| Item | Value |
|---|---|
| File | skills/struct-predictor/demo_data/trpcage.yaml |
| Sequence | NLYIQWLKDGGPSSGRPPPS |
| Name | Trp-cage miniprotein |
| Length | 20 residues |
| PDB reference | 1L2Y |
uv pip install boltz -U # CPU
uv pip install "boltz[cuda]" -U # GPU (recommended)
uv pip install numpy matplotlib pyyaml