about summary refs log tree commit diff
path: root/scripts/create-singularity-pangenome-tools.sh
blob: 93df530f9437ceb2c71d0edac9cfaa7e879fbd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"