-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nf-core download: customise config to include path to singularity image #464
Comments
We could maybe play with Who is using nf-core download to get singularity images? |
We will hopefully use it for irma soon :) |
Yes, but then we don't really need to download the singularity images with EDIT: nevermind, it should be in the confis |
Just need to update this function to also edit Lines 226 to 243 in ebf6309
|
Ok, after a bit of testing trial and error, this little gem seems to do the job: singularity.cacheDir = "${projectDir}/../singularity-images/" I think we're on to a winner 🎉 |
Implemented in the upcoming v1.13 release of tools. See #832. |
We can run
nf-core download <pipeline> --singularity
to fetch the pipeline files and singularity image.The code nicely edits the pipeline
nextflow.config
file so that the custom configs path is relative to the pipeline code for the institutional configs. However, this is not done for the singularity path, so the user still has to use-with-singularity
to specify the location for these images.It would be nice if the tool could edit the configs somehow so that the singularity image is automatically found with just
-profile singularity
.Could potentially do this with
process.container
, or maybe be more clever & generic by setting the singularity cache directory path or something?The text was updated successfully, but these errors were encountered: