Skip to content

Conversation

@tonykew
Copy link
Contributor

@tonykew tonykew commented Sep 23, 2025

Bindcraft container image build docs with Slurm scripts and run examples

Note: currently only tested on x86_64 - will require further work for ARM64

Tony

Uncluear if this can be built on ARM64 - several files in the GitHub repo are
x86_64 binaries:
  /app/functions/DAlphaBall.gcc
  /app/functions/FASPR
  /app/functions/dssp
  /app/functions/sc
However, it may be possible to build then on ARM64 from GitHub sources:
  https://github.com/outpace-bio/DAlphaBall
  https://github.com/tommyhuangthu/FASPR
  https://github.com/cmbi/dssp
  https://github.com/cytokineking/sc-rs ???

Tony
There are two sample .def files, FreeBindCraft.def and FreeBindCraft_with_PyRosetta.def
The former does not install PyRosetta, the latter does.
To build and use the PyRosetta version you must have a PyRosetta license.
You must eaither complete the application for a non commercial license or purchase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You must eaither complete the application for a non commercial license or purchase
You must either complete the application for a non commercial license or purchase

The former does not install PyRosetta, the latter does.
To build and use the PyRosetta version you must have a PyRosetta license.
You must eaither complete the application for a non commercial license or purchase
a commercial licenses - see [PyRosetta Licensing](https://els2.comotion.uw.edu/product/pyrosetta) for more info.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
a commercial licenses - see [PyRosetta Licensing](https://els2.comotion.uw.edu/product/pyrosetta) for more info.
a commercial license - see [PyRosetta Licensing](https://els2.comotion.uw.edu/product/pyrosetta) for more info.

> --interactive Force interactive mode to collect target settings and options
> ```
See the [EXAMPLE file](./EXAMPLE.md) for more info.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See the [EXAMPLE file](./EXAMPLE.md) for more info.
See the [EXAMPLE file](./EXAMPLES.md) for more info.

Comment on lines +88 to +90
> ```
-rw-rw-r-- 1 [CCRusername] nogroup 74686 Sep 9 15:39 /work/input/PDL1.pdb
> ```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> ```
-rw-rw-r-- 1 [CCRusername] nogroup 74686 Sep 9 15:39 /work/input/PDL1.pdb
> ```
> ```
> -rw-rw-r-- 1 [CCRusername] nogroup 74686 Sep 9 15:39 /work/input/PDL1.pdb
> ```

NOTE: BindCraft only uses one GPU (however, see [Using Multiple GPUs](#using-multiple-gpus) for work
rounds with a Slurm job)
For this example, the runtime is set to eigth hours, however such a run
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For this example, the runtime is set to eigth hours, however such a run
For this example, the runtime is set to eight hours, however such a run

cat slurm-21507614.out
```
sample output:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sample output:
Sample output:

--mem=0 --exclusive --time=01:00:00
```

sample outout:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sample outout:
Sample output:

sacct --format="Elapsed" -j 21507614
```
Job 21507614 tuntime info:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Job 21507614 tuntime info:
Job 21507614 runtime info:

|--------------------------------------|------------------------|
| [Abaqus](./abaqus) | Guide to running Abaqus with Apptainer via Slurm batch script, command line, GUI access, and GPU support |
| [AlphaFold 3](./AlphaFold-3) | AlphaFold 3 container with steps for building and running a Data Pipeline and Inference via Apptainer and Slurm |
| [BindCraft](./BindCraft) | Free BindCraft container with steps for building and running with or withouth PyRosetta via Apptainer and Slurm |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| [BindCraft](./BindCraft) | Free BindCraft container with steps for building and running with or withouth PyRosetta via Apptainer and Slurm |
| [BindCraft](./BindCraft) | Free BindCraft container with steps for building and running with or without PyRosetta via Apptainer and Slurm |

Comment on lines +103 to +117
> ```
Running BindCraft on compute node: cpn-q09-20
GPU info:
GPU 0: Tesla V100-PCIE-32GB (UUID: GPU-54282c05-37f5-ccab-1be0-20bfd411efdd)
[...]
Stage 1: Test Logits
1 models [0] recycles 1 hard 0 soft 0.02 temp 1 loss 14.04 helix 2.08 pae 0.86 i_pae 0.88 con 4.90 i_con 4.19 plddt 0.30 ptm 0.48 i_ptm 0.10 rg 16.75
2 models [3] recycles 1 hard 0 soft 0.04 temp 1 loss 11.30 helix 0.97 pae 0.75 i_pae 0.79 con 4.18 i_con 4.01 plddt 0.43 ptm 0.49 i_ptm 0.11 rg 9.76
[...]
70 models [4] recycles 1 hard 0 soft 0.80 temp 1 loss 5.04 helix 1.57 pae 0.32 i_pae 0.30 con 2.38 i_con 2.86 plddt 0.73 ptm 0.66 i_ptm 0.49 rg 0.22
71 models [0] recycles 1 hard 0 soft 0.84 temp 1 loss 5.49 helix 1.54 pae 0.37 i_pae 0.45 con 2.35 i_con 3.27 plddt 0.73 ptm 0.58 i_ptm 0.31 rg 0.26
slurmstepd: error: *** JOB 21435656 ON cpn-q09-20 CANCELLED AT 2025-09-12T14:16:49 DUE TO TIME LIMIT ***
> ```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> ```
Running BindCraft on compute node: cpn-q09-20
GPU info:
GPU 0: Tesla V100-PCIE-32GB (UUID: GPU-54282c05-37f5-ccab-1be0-20bfd411efdd)
[...]
Stage 1: Test Logits
1 models [0] recycles 1 hard 0 soft 0.02 temp 1 loss 14.04 helix 2.08 pae 0.86 i_pae 0.88 con 4.90 i_con 4.19 plddt 0.30 ptm 0.48 i_ptm 0.10 rg 16.75
2 models [3] recycles 1 hard 0 soft 0.04 temp 1 loss 11.30 helix 0.97 pae 0.75 i_pae 0.79 con 4.18 i_con 4.01 plddt 0.43 ptm 0.49 i_ptm 0.11 rg 9.76
[...]
70 models [4] recycles 1 hard 0 soft 0.80 temp 1 loss 5.04 helix 1.57 pae 0.32 i_pae 0.30 con 2.38 i_con 2.86 plddt 0.73 ptm 0.66 i_ptm 0.49 rg 0.22
71 models [0] recycles 1 hard 0 soft 0.84 temp 1 loss 5.49 helix 1.54 pae 0.37 i_pae 0.45 con 2.35 i_con 3.27 plddt 0.73 ptm 0.58 i_ptm 0.31 rg 0.26
slurmstepd: error: *** JOB 21435656 ON cpn-q09-20 CANCELLED AT 2025-09-12T14:16:49 DUE TO TIME LIMIT ***
> ```
> ```
> Running BindCraft on compute node: cpn-q09-20
> GPU info:
> GPU 0: Tesla V100-PCIE-32GB (UUID: GPU-54282c05-37f5-ccab-1be0-20bfd411efdd)
> [...]
> Stage 1: Test Logits
> 1 models [0] recycles 1 hard 0 soft 0.02 temp 1 loss 14.04 helix 2.08 pae 0.86 i_pae 0.88 con 4.90 i_con 4.19 plddt 0.30 ptm 0.48 i_ptm 0.10 rg 16.75
> 2 models [3] recycles 1 hard 0 soft 0.04 temp 1 loss 11.30 helix 0.97 pae 0.75 i_pae 0.79 con 4.18 i_con 4.01 plddt 0.43 ptm 0.49 i_ptm 0.11 rg 9.76
> [...]
> 70 models [4] recycles 1 hard 0 soft 0.80 temp 1 loss 5.04 helix 1.57 pae 0.32 i_pae 0.30 con 2.38 i_con 2.86 plddt 0.73 ptm 0.66 i_ptm 0.49 rg 0.22
> 71 models [0] recycles 1 hard 0 soft 0.84 temp 1 loss 5.49 helix 1.54 pae 0.37 i_pae 0.45 con 2.35 i_con 3.27 plddt 0.73 ptm 0.58 i_ptm 0.31 rg 0.26
> slurmstepd: error: *** JOB 21435656 ON cpn-q09-20 CANCELLED AT 2025-09-12T14:16:49 DUE TO TIME LIMIT ***
> ```

Copy link
Contributor

@naomeii naomeii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples work, just correcting typos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants