From 43f7be73df4897e85b28ac56c2c37e498764f9f8 Mon Sep 17 00:00:00 2001 From: VGPReys Date: Fri, 6 Feb 2026 11:53:30 +0100 Subject: [PATCH 1/2] adriatic edition updates --- .../HADDOCK3-antibody-antigen/index.md | 152 +++++++++++++++++- 1 file changed, 151 insertions(+), 1 deletion(-) diff --git a/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md b/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md index 71b3419b..23716645 100644 --- a/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md +++ b/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md @@ -213,8 +213,86 @@ This tutorial was last tested using HADDOCK3 version 2024.10.0b7. The provided p
+ +### BioExcel Adriatic edition 2026, Ljubljana, Slovenia + +You can either: + + * make use of the ADD HPC system for this tutorial, working at the command line, + * or [start a Colab notebook](https://colab.research.google.com/github/haddocking/haddock3/blob/main/notebooks/HADDOCK3-antibody-antigen.ipynb){:target="_blank"} (provided you have Google credentials) and follow the instructions in that notebook (simpler). + + +If running on HPC system, the software and data required for this tutorial have been pre-installed. +Please connect to the HPC system using your credentials either via ssh connection. + +In order to run the tutorial, go into you data directory, then copy and unzip the required data: + + +unzip /home/vreys/HADDOCK3-antibody-antigen.zip + + +This will create the `HADDOCK3-antibody-antigen` directory with all necessary data and scripts and job examples ready for submission to the batch system. + +HADDOCK3 has been pre-installed on the compute nodes. +To test the installation, first create an interactive session on a node with: + + + +salloc --job-name=interactive_haddock3 --partition=amd --nodes=1 --cpus-per-task=8 --time-min=120 + + +Once the session is active, activate HADDOCK3 with: + + +source /home/vreys/haddock3/.haddock-env/bin/activate +
+
+ +You can then test that `haddock3` is indeed accessible with: + + +haddock3 -h + + +You should see a small help message explaining how to use the software. + +
+ + View outputexpand_more + +
+(haddock3)$ haddock3 -h
+usage: haddock3 [-h] [--restart RESTART] [--extend-run EXTEND_RUN] [--setup]
+                [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-v]
+                recipe
+
+positional arguments:
+  recipe                The input recipe file path
+
+optional arguments:
+  -h, --help            show this help message and exit
+  --restart RESTART     Restart the run from a given step. Previous folders from the
+                        selected step onward will be deleted.
+  --extend-run EXTEND_RUN
+                        Start a run from a run directory previously prepared with the
+                        `haddock3-copy` CLI. Provide the run directory created with
+                        `haddock3-copy` CLI.
+  --setup               Only setup the run, do not execute
+  --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
+  -v, --version         show version
+
+
+
+ +
+ ### ASM 2026 HPC/AI school, Kobe, Japan, February 2026 + +
+ + click to expand + You can either: * make use of the Fugaku supercomputer for this tutorial, working at the command line, @@ -286,11 +364,12 @@ optional arguments:

- +
### BioExcel summerschool, Pula, Sardinia June 2025 +
click to expand @@ -359,6 +438,7 @@ optional arguments: ### Local setup (on your own) +
click to expand @@ -1239,6 +1319,76 @@ This run should take about 25 minutes to complete on a single node using 48 arm
+
+ +#### Execution of HADDOCK3 on ADD Ljubljana (BioExcel Adriatic edition 2026, Ljubljana, Slovenia) + +To execute the workflow, you can either start an interactive session or create a job file that will execute HADDOCK3 on a node, +with HADDOCK3 running in local mode (the setup in the above configuration file with mode="local") and harvesting all core of that node (ncores=16). +
+
+Start an interactive session on a node: +
+{% highlight shell %} +salloc --job-name=interactive_haddock3 --partition=amd --nodes=1 --cpus-per-task=16 --time-min=120 +{% endhighlight %} + +Once the session is active, activate HADDOCK3 with: + +{% highlight shell %} +source /home/vreys/haddock3/.haddock3-env/bin/activate
+{% endhighlight %} + +You can then follow the tutorial and run all the commands present in it, such as starting a haddock3 docking workflow with: + +{% highlight shell %} +haddock3 ./workflows/docking-antibody-antigen.cfg +{% endhighlight %} +Job submission to the batch system: +
+
+For this execution mode you should create an execution script contain specific requirements for the queueing system and the HADDOCK3 configuration and execution. +Here is an example of such an execution script (that can be saved under the name run-haddock3-slurm.sh): + +{% highlight shell %} +#!/bin/bash +#SBATCH --partition=amd +#SBATCH --job-name=haddock3_run +#SBATCH --nodes=1 +#SBATCH --cpus-per-task=16 +#SBATCH --time-min=120 +#SBATCH --output="haddock3_run_log.txt" + +# Source the environement +source /home/vreys/haddock3/.haddock3-env/bin/activate + +# Go to the appropriate directory +cd ~/HADDOCK3-antibody-antigen + +# Launch haddock3 +haddock3 workflows/docking-antibody-antigen.cfg + + +{% endhighlight %} + +This file should be submitted to the batch system using the sbatch command: + +{% highlight shell %} +sbatch run-haddock3-slurm.sh +{% endhighlight %} + +
+ +And you can check the status in the queue using squeue -u Username. + +Also, you can follow the state of your run by looking a the content of either the log file or the slurm output using: + +{% highlight shell %} +tail -f haddock3_run_log.txt +{% endhighlight %} + +This run should take around 20 minutes to complete on a single node using 16 arm cores. +
From 336a0d2e30b2df766e517724b753dc22587f55de Mon Sep 17 00:00:00 2001 From: VGPReys Date: Fri, 6 Feb 2026 13:15:47 +0100 Subject: [PATCH 2/2] adriatic edition updates --- .../HADDOCK3-antibody-antigen/index.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md b/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md index 23716645..5bde1629 100644 --- a/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md +++ b/education/HADDOCK3/HADDOCK3-antibody-antigen/index.md @@ -1441,23 +1441,23 @@ haddock3 > haddock3.log & Here is an example script for submitting via the slurm batch system: - {% highlight shell %} - #!/bin/bash - #SBATCH --nodes=1 - #SBATCH --tasks-per-node=50 - #SBATCH -J haddock3 - #SBATCH --partition=medium +{% highlight shell %} +#!/bin/bash +#SBATCH --nodes=1 +#SBATCH --tasks-per-node=50 +#SBATCH -J haddock3 +#SBATCH --partition=medium - # activate the haddock3 conda environment - source $HOME/miniconda3/etc/profile.d/conda.sh - conda activate haddock3 +# activate the haddock3 conda environment +source $HOME/miniconda3/etc/profile.d/conda.sh +conda activate haddock3 - # go to the run directory - cd $HOME/HADDOCK3-antibody-antigen +# go to the run directory +cd $HOME/HADDOCK3-antibody-antigen - # execute - haddock3 - {% endhighlight %} +# execute +haddock3 +{% endhighlight %}