diff options
Diffstat (limited to 'scripts/create-singularity-pangenome-tools.sh')
| -rwxr-xr-x | scripts/create-singularity-pangenome-tools.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/create-singularity-pangenome-tools.sh b/scripts/create-singularity-pangenome-tools.sh new file mode 100755 index 0000000..93df530 --- /dev/null +++ b/scripts/create-singularity-pangenome-tools.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# Build a Singularity (SquashFS) image of mempang-workshop plus a +# minimal shell environment, and drop a copy in ~/tmp. See +# lib-pangenome-pack.sh for the naming convention and outputs. +# +# Usage: scripts/create-singularity-pangenome-tools.sh + +. "$(dirname "$0")/lib-pangenome-pack.sh" + +pangenome_pack squashfs gz.squashfs singularity +pangenome_write_outputs + +echo +echo "Singularity image ready:" +ls -lh "$PACK_TARGET" +echo "md5sum: $MD5SUM_FILE" +echo "inventory: $INVENTORY" +echo +echo "Run with:" +echo " singularity exec $PACK_TARGET <command>" +echo " singularity shell $PACK_TARGET" |
