Results visualization for the nf-binder-design workflow.
- Automatic Run Detection: Automatically detects and parses run folders from
nf-binder-design(RFdiffusion binder design, BindCraft and BoltzGen workflows) and 'vanilla' BindCraft / BoltzGen runs - Interactive Visualization: Scatter plots, distributions, and structure viewer with Molstar
- Simple design triage: Mark designs as "good" with thumbs up/down and save selections to
designs_summary.tsv - Multi-Run Support: View results from single runs or multiple runs in one interface
This tool is designed to streamline manual screening of top scoring protein binder designs generated by nf-binder-design (RFdiffusion, BindCraft, BoltzGen) or 'vanilla' BindCraft / BoltzGen runs. The high level steps are:
- Run
nf-binder-designor BindCraft to generate high scoring designs- (you'll need the PDBs and
combined_scores.tsvorfinal_design_stats.csvin the folder structure these pipelines output)
- (you'll need the PDBs and
- Run the app (e.g.
nf-binder-visoruv run streamlit run nf_binder_vis/app.py) to visualize and manually select the top scoring designs based on your own criteria. - Generate sequences to order for gene synthesis of the 'good' designs - see
scripts/binder_prep.
This project uses uv for Python package management and virtual environment handling.
# Install uv, if you don't have it
# curl -LsSf https://astral.sh/uv/install.sh | sh
# export PATH=~/.local/bin:${PATH}
uvx git+https://github.com/Australian-Protein-Design-Initiative/nf-binder-vis.git --path /path/to/resultsClone the Repository:
git clone https://github.com/Australian-Protein-Design-Initiative/nf-binder-vis.git
cd nf-binder-visRun using uv run:
# Run with uv (recommended, from repo)
uv run nf_binder_vis/app.py --path /path/to/resultsThe app will automatically detect and displays results from nf-binder-design runs for BindCraft, RFdiffusion and BoltzGen workflows. By default, it will be available at http://localhost:8501/.
docker build -t nf-binder-vis:latest .
apptainer build nf-binder-vis_latest.sif docker-daemon://nf-binder-vis:latestapptainer run nf-binder-vis_latest.sif --server.port 8502 -- --path /path/to/resultsThe
--server.portflag can be used to change the default port. Note the bare--before the--pathflag - this is not a typo.
docker run -it --rm -v /abs/path/to/results:/results nf-binder-vis:latest -- --path /results- Look at https://github.com/PDBeurope/pdb-images#pdbimages - can we pre-render a galley of images for each pdb file?
