|
Download README.md from arvban/bindscout: direct link, hf CLI and curl.
- Browser
- Download file 4.52 kB
-
https://huggingface.co/spaces/arvban/bindscout/resolve/main/README.md
- Command line
-
hf download hf://spaces/arvban/bindscout/README.md
-
curl -L -o README.md https://huggingface.co/spaces/arvban/bindscout/resolve/main/README.md
4.52 kB
| title: BindScout | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: gradio | |
| sdk_version: 5.49.1 | |
| python_version: "3.10" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: Per-residue BindCraft targetability in PDB B-factors | |
| # BindScout | |
| BindScout is a geometric neural network based on [PeSTo](https://github.com/LBM-EPFL/PeSTo) | |
| that predicts how readily different regions of a protein surface are targeted by BindCraft. | |
| Upload a structure and BindScout returns the same structure with a targetability score for | |
| each residue written to the B-factor field, ready for visualization in PyMOL or ChimeraX | |
| (`spectrum b, grey80_red, minimum=0, maximum=1`). | |
| The score reflects local surface-patch coverage, not simply residue contact frequency. For | |
| each exposed residue, a local patch is defined by all exposed residues within 7 Å (Cβ–Cβ; | |
| Cα for glycine). BindScout estimates how frequently independent successful BindCraft | |
| trajectories completely cover this patch. A residue therefore scores only when its entire | |
| local neighbourhood is contacted, concentrating the signal on the interiors of targeted | |
| regions rather than their edges. | |
| Interpret BindScout scores primarily as a ranking of candidate sites within a target. They | |
| indicate where successful BindCraft designs are preferentially obtained, rather than the | |
| absolute probability of design success or an intrinsic property of the protein surface. | |
| BindScout is specific to the BindCraft design and filtering procedure represented in its | |
| training data. | |
| Keep the training distribution in mind. BindScout was trained on the Human Bindome, a | |
| proteome-scale atlas of BindCraft designs covering 8 296 human proteins at domain level | |
| (Wenckstern et al., bioRxiv 2026), so mainly single, structurally coherent protein domains. | |
| Very short fragments or large multichain assemblies are further from its training data. Its | |
| local geometric architecture should allow reasonable generalization, but unusual constructs | |
| should be interpreted with more caution. Whenever possible, score the same construct and | |
| chains that BindCraft will actually see. | |
| If you make use of BindScout in your work, please cite this Space: | |
| <https://huggingface.co/spaces/arvban/bindscout>, and the Human Bindome preprint for the | |
| training data. | |
| ``` | |
| 1M47.pdb ──▶ clean · encode · 64-NN graph ──▶ 32-layer geometric transformer | |
| ──▶ per-residue sigmoid ──▶ 1M47_targetability.pdb (B-factor = score, 0–1) | |
| ``` | |
| ## Using it | |
| Upload a `.pdb` or `.cif`, or type a four-character RCSB id. Leave **Chains to score** empty | |
| to score everything in the file, or name chains (`A,B`) to drop the rest before the graph is | |
| built — the model sees every chain you supply, so a bound partner left in the file changes | |
| the scores. | |
| You get back the same structure with the score in the B-factor column, a per-residue CSV, | |
| and a 3D view coloured by score. Hovering a residue marks the 7 Ã… patch its value refers to, | |
| because the score is defined on the patch rather than on the residue alone. | |
| Two things to know about the output: | |
| - Scores come back on **your input's own chain ids and residue numbers**, not renumbered. | |
| - Residues the model never saw — waters, unselected chains, nucleic acids — carry `B = -1`, | |
| so they are visibly excluded rather than indistinguishable from a genuine score of 0. | |
| The Space accepts up to 20 000 atoms (about 2500 residues). For anything larger, or for | |
| batches, run it yourself. | |
| ## Running it yourself | |
| ```bash | |
| pip install -r requirements.txt | |
| python inference.py target.pdb -o target_targetability.pdb --csv | |
| python inference.py inputs/*.pdb --outdir scored/ --chains A | |
| python app.py # the same web UI on localhost | |
| ``` | |
| `requirements.txt` installs the default CUDA build of torch, which is what this Space needs. | |
| On a CPU-only machine install a CPU torch wheel instead; nothing else changes. Inference is | |
| ~30 s per 200 residues on 2 CPU threads. More threads make it *slower* — the per-layer | |
| tensors are too small to amortise the synchronisation — so `inference.py` caps them at 4. | |
| Override with `BINDSCOUT_THREADS`. | |
| ## MCP | |
| The Space is also an MCP server, exposing one tool, `score_target(structure, chains="", | |
| top_n=15)`, which takes a PDB id or the contents of a PDB file and returns the ranked | |
| residues as text: | |
| ``` | |
| "mcpServers": { | |
| "bindscout": { | |
| "url": "https://arvban-bindscout.hf.space/gradio_api/mcp/sse" | |
| } | |
| } | |
| ``` | |
| Every call spends the *calling* account's ZeroGPU quota, not this Space's. | |