Chap II. Tutorial singularity / Correction
Exercise 6 : Use singularity and understand bind directory.
- Execute
tldr singularity
to explore all functions available with singularity.tldr singularity
- You should have an image store in
work/singularity/....img
coming for rnaseq workfow with a bowtie2 inside. Start a container from this image and get a shell inside of it:
singularity shell image.sif
module load system/singularity-3.5.3 singularity shell work/singularity/nextflow-rnatoy@sha256-9ac0345b5851b2b20913cb4e6d469df77cf1232bafcadf8fd929535614a85c75.img
Do you have access to the software
bowtie2
? yes- Do you have access to
/bank/
? no - Get out of the image, with
Ctrl+D
- Do you have access to the software
bowtie2
? no - Do you have access to
/bank/
? yes - Start the container with the option -B bank
singularity shell -B /bank image.sif
- Do you have access to
/bank/
? yes
Exercise 7 :
No need of correction , follow all steps described in section II.a.