Extra exercises¶
These exercises are meant as extra (optional) training and can be done either during classes if there is time, or later.
You find the module solutions for these exercises here
Finding existing modules¶
- Finding versions
- Find which R versions exist
- What are the prerequisites for R/4.5.2?
- Which versions of Python exist?
- What are the prerequisites for Python/3.13.5?
- Find the versions of the module R-bundle-Bioconductor
- What are the prerequisites for R-bundle-Bioconductor/3.22-R-4.5.2?
Loading modules¶
- Loading modules
- Load R-bundle-Bioconductor/3.22-R-4.5.2 (after first loading any prerequisites).
- List the modules that are loaded.
- What got loaded? Was it more than you expected?
- Unloading modules
- Try and unload one of the modules. What happens if it is a prerequisite?
- Do
module purge. Did everything get unloaded? What did not?
Toolchains¶
- What are compiler toolchains?
- How come you can see the compiler toolchains with
ml avail? - What is included in
foss/2023b? - List all
fossandìntelcompiler toolchains.
Software module examples¶
- Which prerequisites does
mpi4pyhave? - How many version of SciPy-bundle are there?
- Is OpenMPI included when you load SciPy-bundle or is it a prerequisite?
- What are the prerequisites of
R-bundle-CRAN? - Find out the installed versions of Nextflow and how to load the newest one.
- Does BioPython load Python?
Modules in batch scripts¶
- How do you load a module in a batch script? Do you need to load any prerequisites?
Containers on Kebnekaise¶
- Which container platform is used on Kebnekaise?
- Do you need to load a module to make containers available on Kebnekaise?
- Can you run a downloaded Docker image at Kebnekaise?
- Download a docker image from
https://hub.docker.com/u/biocontainersto your project directory space on Kebnekaise and convert it to an apptainer image file. Example:beast2- or pick an image yourself. - Execute your apptainer image with apptainer. If it is a graphical tool you need to use OpenOnDemand (or SSH with x11 forwarding).