AroArz/singularity_playground:snakemake
$ singularity pull shub://AroArz/singularity_playground:snakemake
Singularity Recipe
Bootstrap: docker
From: continuumio/miniconda3
%post
### Installs snakemake
PATH=/opt/conda/bin:$PATH
export PATH
conda install -c conda-forge mamba
mamba create -c conda-forge -c bioconda -n snakemake snakemake -y
### Creates a bash script to run snakemake
echo \#\!/bin/bash > /opt/runscript.sh
echo source activate snakemake >> /opt/runscript.sh
echo \$\@ >> /opt/runscript.sh
%runscript
### Starts runscript.sh, everything you type after "sing run snakemake.sif" is forwarded to the runscript.
### e.g. "sing run snakemake.sif snakemake --dryrun" forwards "snakemake --dryrun" to runscript.sh and executes that command.
bash /opt/runscript.sh "$@"
echo "$@"
Collection
- Name: AroArz/singularity_playground
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/AroArz-singularity_playground-snakemake |
collection name | AroArz/singularity_playground |
branch | only_snakemake |
tag | snakemake |
commit | 6c889370b927150f052ff86552fffb5f7c5b544f |
version (container hash) | 0b2039c8ad4a676f9e4771ab9bc928f2d31098bb7fea54a94d57d376fcb5d48e |
build date | 2020-12-05T19:50:01.745Z |
size (MB) | 784.51953125 |
size (bytes) | 822628352 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.