Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
cmkobel committed Sep 21, 2023
1 parent e390a25 commit fcb48fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiles/apptainer/local/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keep-incomplete: true # true only for debugging
use-conda: true # Omitting this line was the culprit, now the 'snakemake --containerize' auto stuff works!
use-singularity: true
# What happens if I don't define the singularity-prefix? Does it download the image to the running directory of the alias?
singularity-prefix: '~/.asscom2/apptainer-prefix' # Directory in which singularity images will be stored. Couldn't find a way of using the $ASSCOM_BASE system variable.
#singularity-prefix: '~/.asscom2/apptainer-prefix' # Directory in which singularity images will be stored. Couldn't find a way of using the $ASSCOM_BASE system variable.
singularity-args: "--bind $ASSCOM2_BASE,$ASSCOM2_DATABASES" # Must also bind ASSCOM2_BASE so we can access databases and report scripts etc. When this issue is solved I'll add individual arguments to rules and make it more flexible https://github.com/snakemake/snakemake/issues/262

# Comments for the singularity-args parameter. I don't know why the necessary /opt/conda/bin path, which is present when I run the image, is gone when snakemake runs. Also, since the databases are likely in a soft linked directory, you must bind it if you want access
Expand Down

0 comments on commit fcb48fd

Please sign in to comment.