This module is a singularity container wrapper for quay.io/biocontainers/biocommons.seqrepo. shpc-registry automated BioContainers addition for biocommons.seqrepo After installing shpc you will want to install this container module:
$ shpc install quay.io/biocontainers/biocommons.seqrepo
Or a specific version:
$ shpc install quay.io/biocontainers/biocommons.seqrepo:0.6.9--pyhdfd78af_0
And then you can tell lmod about your modules folder:
$ module use ./modules
And load the module, and ask for help, or similar.
$ module load quay.io/biocontainers/biocommons.seqrepo/0.6.9--pyhdfd78af_0
$ module help quay.io/biocontainers/biocommons.seqrepo/0.6.9--pyhdfd78af_0
You can use tab for auto-completion of module names or commands that are provided.
Commands
When you install this module, you will be able to load it to make the following commands accessible. Examples for both Singularity, Podman, and Docker (container technologies supported) are included.
biocommons.seqrepo-run:
$ singularity run <container>
$ podman run --rm -v ${PWD} -w ${PWD} <container>
$ docker run --rm -v ${PWD} -w ${PWD} <container>
biocommons.seqrepo-shell:
$ singularity shell -s /bin/sh <container>
$ podman run --it --rm --entrypoint /bin/sh -v ${PWD} -w ${PWD} <container>
$ docker run --it --rm --entrypoint /bin/sh -v ${PWD} -w ${PWD} <container>
biocommons.seqrepo-exec:
$ singularity exec <container> "$@"
$ podman run --it --rm --entrypoint "" -v ${PWD} -w ${PWD} <container> "$@"
$ docker run --it --rm --entrypoint "" -v ${PWD} -w ${PWD} <container> "$@"
biocommons.seqrepo-inspect:
Podman and Docker only have one inspect type.
$ podman inspect <container>
$ docker inspect <container>
biocommons.seqrepo-inspect-runscript:
$ singularity inspect -r <container>
biocommons.seqrepo-inspect-deffile:
$ singularity inspect -d <container>
pyppeteer-install
$ singularity exec <container> /usr/local/bin/pyppeteer-install
$ podman run --it --rm --entrypoint /usr/local/bin/pyppeteer-install -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/pyppeteer-install -v ${PWD} -w ${PWD} <container> -c " $@"
seqrepo
$ singularity exec <container> /usr/local/bin/seqrepo
$ podman run --it --rm --entrypoint /usr/local/bin/seqrepo -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/seqrepo -v ${PWD} -w ${PWD} <container> -c " $@"
sqlformat
$ singularity exec <container> /usr/local/bin/sqlformat
$ podman run --it --rm --entrypoint /usr/local/bin/sqlformat -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/sqlformat -v ${PWD} -w ${PWD} <container> -c " $@"
yoyo
$ singularity exec <container> /usr/local/bin/yoyo
$ podman run --it --rm --entrypoint /usr/local/bin/yoyo -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/yoyo -v ${PWD} -w ${PWD} <container> -c " $@"
yoyo-migrate
$ singularity exec <container> /usr/local/bin/yoyo-migrate
$ podman run --it --rm --entrypoint /usr/local/bin/yoyo-migrate -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/yoyo-migrate -v ${PWD} -w ${PWD} <container> -c " $@"
coloredlogs
$ singularity exec <container> /usr/local/bin/coloredlogs
$ podman run --it --rm --entrypoint /usr/local/bin/coloredlogs -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/coloredlogs -v ${PWD} -w ${PWD} <container> -c " $@"
humanfriendly
$ singularity exec <container> /usr/local/bin/humanfriendly
$ podman run --it --rm --entrypoint /usr/local/bin/humanfriendly -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/humanfriendly -v ${PWD} -w ${PWD} <container> -c " $@"
tabulate
$ singularity exec <container> /usr/local/bin/tabulate
$ podman run --it --rm --entrypoint /usr/local/bin/tabulate -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/tabulate -v ${PWD} -w ${PWD} <container> -c " $@"
normalizer
$ singularity exec <container> /usr/local/bin/normalizer
$ podman run --it --rm --entrypoint /usr/local/bin/normalizer -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/normalizer -v ${PWD} -w ${PWD} <container> -c " $@"
tqdm
$ singularity exec <container> /usr/local/bin/tqdm
$ podman run --it --rm --entrypoint /usr/local/bin/tqdm -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/tqdm -v ${PWD} -w ${PWD} <container> -c " $@"
xslt-config
$ singularity exec <container> /usr/local/bin/xslt-config
$ podman run --it --rm --entrypoint /usr/local/bin/xslt-config -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/xslt-config -v ${PWD} -w ${PWD} <container> -c " $@"
xsltproc
$ singularity exec <container> /usr/local/bin/xsltproc
$ podman run --it --rm --entrypoint /usr/local/bin/xsltproc -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/xsltproc -v ${PWD} -w ${PWD} <container> -c " $@"
2to3-3.9
$ singularity exec <container> /usr/local/bin/2to3-3.9
$ podman run --it --rm --entrypoint /usr/local/bin/2to3-3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/2to3-3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
idle3.9
$ singularity exec <container> /usr/local/bin/idle3.9
$ podman run --it --rm --entrypoint /usr/local/bin/idle3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/idle3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
pydoc3.9
$ singularity exec <container> /usr/local/bin/pydoc3.9
$ podman run --it --rm --entrypoint /usr/local/bin/pydoc3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
$ docker run --it --rm --entrypoint /usr/local/bin/pydoc3.9 -v ${PWD} -w ${PWD} <container> -c " $@"
In the above, the <container>
directive will reference an actual container provided
by the module, for the version you have chosen to load. An environment file in the
module folder will also be bound. Note that although a container
might provide custom commands, every container exposes unique exec, shell, run, and
inspect aliases. For anycommands above, you can export:
- SINGULARITY_OPTS: to define custom options for singularity (e.g., –debug)
- SINGULARITY_COMMAND_OPTS: to define custom options for the command (e.g., -b)
- PODMAN_OPTS: to define custom options for podman or docker
- PODMAN_COMMAND_OPTS: to define custom options for the command
Install
You can install shpc locally (for yourself or your user base) as follows:
$ git clone https://github.com/singularityhub/singularity-hpc
$ cd singularity-hpc
$ pip install -e .
Have any questions, or want to request a new module or version? ask for help!