Practicals

Introduction

This course includes multiple practical exercises. During the four days we will go through practical 0 to 9 (more info in the schedule). Each practical has a dedicated directory in the repository under the practicals/ directory. Each practical directory includes:

  • One or more notebooks with names starting with Practical[number] or p[number]. For example, for practical 1, we have a notebook called Practical1_Segmentation_Cellpose.ipynb
  • A directory (env) with environment files
  • Any other files necessary for running the labs

Working on the practicals

Participants of the course are recommended to use SciLifeLab Serve to run the practical exercises. If you are not a participant in the course but want to run the practicals, please see “Working locally” below.

Note

SciLifeLab Serve is an app-hosting platform provided by SciLifeLab Sweden. All participants registered to the course will gain access to a project that has been designed for the course. In order to gain access to this project, a SciLifeLab Serve account is needed. If you do not already have an account, please follow these instructions.

Option 2: Working locally

If you do not have access to the course on SciLifeLab Serve, you can work locally with Docker.

The container images for each practical are in the elixir-europe-training namespace on the GitHub Container Registry, find them here. The naming convention is practical-[number]-[IDE]-latest. In order to run them locally, you can use the following command (example given for practical 0):

docker run \
--rm \
--platform=linux/amd64 \
-p 8888:8888 \
-v $PWD:/home/jovyan/work/ \
ghcr.io/elixir-europe-training/elixir-sco-spatial-omics-2026:practical-0-jupyter-latest

Jupyter lab should now be available from localhost:8888. Use password spatial when prompted.

For the RStudio image of practical 7, the equivalent would be:

docker run \
--rm \
--platform=linux/amd64 \
-p 8787:8787 \
-v $PWD:/home/jovyan/work/ \
ghcr.io/elixir-europe-training/elixir-sco-spatial-omics-2026:practical-7-rstudio-latest

Access Rstudio at localhost:8787.

Once the you have accessed the app, see steps 7 and 8 above.