Commit b537f05c by Mustafa Tekpinar

Added Singularityfile.sh to the repository.

parent f2e02c2f
#!/bin/bash
#You can not run docker on many high performance computing systems
#due to sudo permissions etc.
#However, singularity can be run on them. Due to this reason, I prepared
#this file to show how you can prepare a singulartiy sif file from docker
#image of PRESCOTT.
#STEP 0: First thing first! You must have singularity installed on your system.
# If not, you can find the installation instructions here:
# https://github.com/sylabs/singularity/blob/main/INSTALL.md
# In addition, there are different releases(deb, rpm or source) in the following page:
# https://github.com/sylabs/singularity/releases
#STEP 1: Building singularity sandbox from the docker image online:
# Please note that you will need to change (v1.5.0) to the version you want
# if there is an update in the version.
singularity build --sandbox prescott-docker-v1.5.0 docker://tekpinar/prescott-docker:v1.5.0
#STEP 2: Converting the folder to a single sif file:
singularity build prescott-docker-v1.5.0.sif prescott-docker-v1.5.0
#STEP 3: Running escott with the sif file:
singularity exec prescott-docker-v1.5.0.sif escott -h
#STEP 4: Running prescott with the sif file:
singularity exec prescott-docker-v1.5.0.sif prescott -h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment